forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sdk: evict genesis_config * Update sdk/src/lib.rs Co-authored-by: Jon C <[email protected]> * Update sdk/src/lib.rs Co-authored-by: Jon C <[email protected]> * Update sdk/genesis-config/Cargo.toml Co-authored-by: Jon C <[email protected]> * sdk: drop unused deps * pubkey rand feature dev dep * remove serde feature * serde is back now * Update sdk/genesis-config/Cargo.toml Co-authored-by: Jon C <[email protected]> * Update sdk/genesis-config/src/lib.rs Co-authored-by: Jon C <[email protected]> * Update sdk/genesis-config/Cargo.toml Co-authored-by: Jon C <[email protected]> * update lockfile --------- Co-authored-by: Jon C <[email protected]>
- Loading branch information
1 parent
b39a976
commit 11a84a4
Showing
8 changed files
with
206 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[package] | ||
name = "solana-genesis-config" | ||
description = "A Solana network's genesis config." | ||
documentation = "https://docs.rs/solana-genesis-config" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true } | ||
chrono = { workspace = true, features = ["alloc"] } | ||
memmap2 = { workspace = true } | ||
serde = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
solana-account = { workspace = true } | ||
solana-clock = { workspace = true } | ||
solana-cluster-type = { workspace = true } | ||
solana-epoch-schedule = { workspace = true } | ||
solana-fee-calculator = { workspace = true } | ||
solana-frozen-abi = { workspace = true, optional = true } | ||
solana-frozen-abi-macro = { workspace = true, optional = true } | ||
solana-hash = { workspace = true } | ||
solana-inflation = { workspace = true } | ||
solana-keypair = { workspace = true } | ||
solana-logger = { workspace = true } | ||
solana-native-token = { workspace = true } | ||
solana-poh-config = { workspace = true } | ||
solana-pubkey = { workspace = true } | ||
solana-rent = { workspace = true } | ||
solana-sdk-ids = { workspace = true } | ||
solana-sha256-hasher = { workspace = true } | ||
solana-shred-version = { workspace = true } | ||
solana-signer = { workspace = true } | ||
solana-time-utils = { workspace = true } | ||
|
||
[dev-dependencies] | ||
solana-genesis-config = { path = ".", features = ["serde"] } | ||
solana-pubkey = { workspace = true, features = ["rand"] } | ||
|
||
[features] | ||
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"] | ||
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"] | ||
all-features = true | ||
rustdoc-args = ["--cfg=docsrs"] | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.