-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (41 loc) · 1.33 KB
/
Cargo.toml
File metadata and controls
45 lines (41 loc) · 1.33 KB
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
[package]
name = "solana-account"
description = "Solana Account type"
documentation = "https://docs.rs/solana-account"
version = "2.2.1"
edition = "2021"
[dependencies]
bincode = { version = "1.3.3", optional = true }
qualifier_attr = { version = "0.2.2", default-features = false, optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_derive = { version = "1.0", optional = true }
serde_bytes = { version = "0.11", optional = true }
solana-account-info = "2.2"
solana-clock = "2.2"
solana-instruction = "2.2"
solana-pubkey = "2.2"
solana-sysvar = "2.2"
solana-sdk-ids = "2.2"
solana-frozen-abi = { version = "2.2", optional = true, default-features = false }
solana-frozen-abi-macro = { version = "2.2", optional = true, default-features = false }
[features]
default = ["bincode", "dev-context-only-utils", "serde"]
bincode = [
"dep:bincode",
"solana-instruction/serde",
"solana-sysvar/bincode",
"serde",
]
dev-context-only-utils = ["bincode", "dep:qualifier_attr"]
serde = [
"dep:serde",
"dep:serde_bytes",
"dep:serde_derive",
"solana-pubkey/serde",
]
# Enable ABI freeze support and forward to dependent crates
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]