Skip to content

Commit

Permalink
make serde feature default
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Jan 7, 2025
1 parent cdede77 commit 800385f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion sdk/genesis-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,20 @@ solana-time-utils = { workspace = true }
solana-pubkey = { workspace = true, features = ["rand"] }

[features]
default = ["serde"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"]
serde = ["dep:serde", "dep:serde_derive"]
serde = [
"dep:serde",
"dep:serde_derive",
"solana-account/serde",
"solana-clock/serde",
"solana-cluster-type/serde",
"solana-epoch-schedule/serde",
"solana-fee-calculator/serde",
"solana-inflation/serde",
"solana-poh-config/serde",
"solana-rent/serde",
]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down

0 comments on commit 800385f

Please sign in to comment.