forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract serialize-utils crate (#2926)
* extract serialize-utils crate * use newer borsh in tests * Trigger Build
- Loading branch information
1 parent
b4ae724
commit 66b9926
Showing
8 changed files
with
74 additions
and
20 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
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,30 @@ | ||
[package] | ||
name = "solana-serialize-utils" | ||
description = "Solana helpers for reading and writing bytes." | ||
documentation = "https://docs.rs/solana-serialize-utils" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
solana-instruction = { workspace = true, default-features = false, features = [ | ||
"std", | ||
] } | ||
solana-pubkey = { workspace = true, default-features = false } | ||
solana-sanitize = { workspace = true } | ||
|
||
[dev-dependencies] | ||
bincode = { workspace = true } | ||
borsh = { workspace = true } | ||
rand = { workspace = true } | ||
serde = { workspace = true } | ||
solana-pubkey = { workspace = true, default-features = false, features = [ | ||
"borsh", | ||
"serde", | ||
] } | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |
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
2 changes: 1 addition & 1 deletion
2
sdk/program/src/serialize_utils/mod.rs → sdk/serialize-utils/src/lib.rs
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