forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start extracting secp256k1-instruction * fix imports and dependencies * fix docs * activate solana-secp256k1-instruction/bincode in solana-sdk * import program id from solana_sdk_ids * rename to solana-secp256k1-program like in #3632 * update lock file after rebase * tighten deps * minimise solana-sdk usage in docs and tests
- Loading branch information
1 parent
af0ed22
commit 92068d1
Showing
8 changed files
with
193 additions
and
80 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,55 @@ | ||
[package] | ||
name = "solana-secp256k1-program" | ||
description = "Instructions for the Solana Secp256k1 native program." | ||
documentation = "https://docs.rs/solana-secp256k1-program" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true, optional = true } | ||
digest = { workspace = true } | ||
libsecp256k1 = { workspace = true, features = ["hmac"] } | ||
serde = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
sha3 = { workspace = true } | ||
solana-feature-set = { workspace = true, optional = true } | ||
solana-instruction = { workspace = true, features = ["std"], optional = true } | ||
solana-precompile-error = { workspace = true, optional = true } | ||
solana-sdk-ids = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
anyhow = { workspace = true } | ||
hex = { workspace = true } | ||
rand0-7 = { workspace = true } | ||
solana-account-info = { workspace = true } | ||
solana-hash = { workspace = true } | ||
solana-keccak-hasher = { workspace = true } | ||
solana-keypair = { workspace = true } | ||
solana-logger = { workspace = true } | ||
solana-msg = { workspace = true } | ||
solana-program-error = { workspace = true } | ||
solana-sdk = { path = ".." } | ||
solana-secp256k1-program = { path = ".", features = ["dev-context-only-utils"] } | ||
solana-signer = { workspace = true } | ||
solana-sysvar = { workspace = true } | ||
|
||
[features] | ||
bincode = [ | ||
"dep:bincode", | ||
"dep:solana-feature-set", | ||
"dep:solana-instruction", | ||
"dep:solana-precompile-error", | ||
"dep:solana-sdk-ids", | ||
"serde", | ||
] | ||
dev-context-only-utils = ["bincode"] | ||
serde = ["dep:serde", "dep:serde_derive"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
all-features = true | ||
rustdoc-args = ["--cfg=docsrs"] |
Oops, something went wrong.