forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract solana-feature crate (#3120)
* extract feature crate * rename to solana-feature-gate-interface * rename dir * fmt
- Loading branch information
1 parent
5d98c6a
commit 9b0364f
Showing
8 changed files
with
120 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[package] | ||
name = "solana-feature-gate-interface" | ||
description = "Solana feature gate program interface." | ||
documentation = "https://docs.rs/solana-feature-gate-interface" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true, optional = true } | ||
serde = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
solana-account-info = { workspace = true, optional = true } | ||
solana-instruction = { workspace = true, optional = true } | ||
solana-program-error = { workspace = true, optional = true } | ||
solana-pubkey = { workspace = true } | ||
solana-rent = { workspace = true, optional = true } | ||
solana-sdk-ids = { workspace = true } | ||
solana-system-interface = { workspace = true, optional = true, features = [ | ||
"bincode", | ||
] } | ||
|
||
[dev-dependencies] | ||
solana-feature-gate-interface = { path = ".", features = ["dev-context-only-utils"] } | ||
|
||
[features] | ||
bincode = [ | ||
"dep:bincode", | ||
"dep:solana-account-info", | ||
"dep:solana-instruction", | ||
"dep:solana-program-error", | ||
"dep:solana-rent", | ||
"dep:solana-system-interface", | ||
"serde", | ||
] | ||
dev-context-only-utils = ["bincode"] | ||
serde = ["dep:serde", "dep:serde_derive"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.