forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract solana-account crate (anza-xyz#2294)
* extract account crate * tpyo in crate name * update account usage in sdk * update solana-program examples * re-export solana_account with deprecation notice * fix frozen-abi support * fmt * update digest * update lock file * fix doctests * update lock file * remove unnecessary build script * update lock files * sort table * make serde and bincode optional in the new crate * update digest
- Loading branch information
1 parent
9100aba
commit 900bbf3
Showing
15 changed files
with
181 additions
and
72 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,38 @@ | ||
[package] | ||
name = "solana-account" | ||
description = "Solana Account type" | ||
documentation = "https://docs.rs/solana-account" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true, optional = true } | ||
qualifier_attr = { workspace = true, optional = true } | ||
serde = { workspace = true, optional = true } | ||
serde_bytes = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
solana-frozen-abi = { workspace = true, optional = true } | ||
solana-frozen-abi-macro = { workspace = true, optional = true } | ||
solana-logger = { workspace = true, optional = true } | ||
solana-program = { workspace = true } | ||
|
||
[dev-dependencies] | ||
solana-account = { path = ".", features = ["dev-context-only-utils"] } | ||
|
||
[features] | ||
bincode = ["dep:bincode", "serde"] | ||
dev-context-only-utils = ["bincode", "dep:qualifier_attr"] | ||
frozen-abi = [ | ||
"dep:solana-frozen-abi", | ||
"dep:solana-frozen-abi-macro", | ||
"dep:solana-logger", | ||
"solana-program/frozen-abi", | ||
] | ||
serde = ["dep:serde", "dep:serde_bytes", "dep:serde_derive"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |
Oops, something went wrong.