forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* extract packet crate * typo * sort deps * update digest * add doc_auto_cfg like in #3121 * fix frozen-abi
- Loading branch information
1 parent
10bebfa
commit 8045d36
Showing
8 changed files
with
132 additions
and
14 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
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,44 @@ | ||
[package] | ||
name = "solana-packet" | ||
description = "The definition of a Solana network packet." | ||
documentation = "https://docs.rs/solana-packet" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true, optional = true } | ||
bitflags = { workspace = true } | ||
cfg_eval = { workspace = true, optional = true } | ||
serde = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
serde_with = { workspace = true, optional = true, features = ["macros"] } | ||
solana-frozen-abi = { workspace = true, optional = true, features = ["frozen-abi"] } | ||
solana-frozen-abi-macro = { workspace = true, optional = true, features = ["frozen-abi"] } | ||
|
||
[dev-dependencies] | ||
solana-packet = { path = ".", features = ["dev-context-only-utils"] } | ||
static_assertions = { workspace = true } | ||
|
||
[features] | ||
bincode = ["dep:bincode", "serde"] | ||
dev-context-only-utils = ["bincode"] | ||
serde = [ | ||
"bitflags/serde", | ||
"dep:cfg_eval", | ||
"dep:serde", | ||
"dep:serde_derive", | ||
"dep:serde_with" | ||
] | ||
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"] | ||
|
||
[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