-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
92 lines (80 loc) · 2.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "cruiser"
version = "0.2.0"
authors = ["Brett Etter <buzzec@buzzec.net>"]
edition = "2021"
description = "Solana code generation"
documentation = "https://docs.rs/cruiser/latest/cruiser/"
readme = "README.md"
repository = "https://github.com/identity-com/cruiser"
license = "Apache-2.0"
keywords = ["solana", "cruiser"]
categories = ["development-tools", "cryptography::cryptocurrencies"]
build = "build.rs"
[workspace]
members = [
"check_all",
"derive",
"easy_proc",
"easy_proc/common",
"easy_proc/derive",
"escrow_example",
]
[features]
default = []
client = ["solana-sdk", "solana-client"]
testing = [
"client",
"solana-program-test",
"rand",
"rand_chacha",
"log",
"async-trait",
"solana-transaction-status",
]
experimental = ["small_vec", "interface"]
small_vec = []
interface = []
[dependencies]
cruiser_derive = { version = "0.2.0", path = "./derive" }
borsh = "0.9.2"
solana-program = "1.7.12"
zeroize = "=1.3.0"
num-traits = "0.2.14"
array-init = "2.0.0"
bincode = "1.3.3"
strum = { version = "0.21.0", features = ["derive"] }
static_assertions = "1.1.0"
## OPTIONAL
spl-token = { version = "=3.2.0", optional = true, features = ["no-entrypoint"] }
solana-sdk = { version = "1.9.14", optional = true }
solana-program-test = { version = "1.9.14", optional = true }
solana-client = { version = "1.9.14", optional = true }
solana-transaction-status = { version = "1.9.14", optional = true }
log = { version = "0.4.16", optional = true }
async-trait = { version = "0.1.53", optional = true }
# These are older as solana sdk relies on rand_core 0.5.1
rand = { version = "0.7.3", optional = true }
rand_chacha = { version = "0.2.2", optional = true }
[build-dependencies]
rustc_version = "0.4.0"
[dev-dependencies]
# These are older as solana sdk relies on rand_core 0.5.1
rand = "0.7.3"
rand_chacha = "0.2.2"
[[example]]
name = "account_argument_derive"
crate-type = ["lib"]
[[example]]
name = "account_derive"
crate-type = ["lib"]
[[example]]
name = "instruction_list"
crate-type = ["lib"]
[[example]]
name = "account_list"
crate-type = ["lib"]
[[example]]
name = "easy_proc_test"
crate-type = ["lib"]
required-features = ["cruiser_derive/easy_proc_test"]