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 offchain-message crate (#3443)
* extract offchain-message crate * missing feature activation * update lock file * remove accidental change * update deprecation * remove another accidental change * add missing metadata Co-authored-by: Jon C <[email protected]> * add doc_auto_cfg Co-authored-by: Jon C <[email protected]> --------- Co-authored-by: Jon C <[email protected]>
- Loading branch information
1 parent
1c2dc20
commit de77e17
Showing
8 changed files
with
103 additions
and
19 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,34 @@ | ||
[package] | ||
name = "solana-offchain-message" | ||
description = "Solana offchain message signing" | ||
documentation = "https://docs.rs/solana-offchain-message" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
num_enum = { workspace = true } | ||
solana-hash = { workspace = true } | ||
solana-packet = { workspace = true } | ||
solana-pubkey = { workspace = true, optional = true } | ||
solana-sanitize = { workspace = true } | ||
solana-sha256-hasher = { workspace = true } | ||
solana-signature = { workspace = true } | ||
solana-signer = { workspace = true } | ||
|
||
[dev-dependencies] | ||
solana-keypair = { workspace = true } | ||
solana-offchain-message = { path = ".", features = ["dev-context-only-utils"] } | ||
static_assertions = { workspace = true } | ||
|
||
[features] | ||
dev-context-only-utils = ["verify"] | ||
verify = ["dep:solana-pubkey", "solana-signature/verify"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
all-features = true | ||
rustdoc-args = ["--cfg=docsrs"] |
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.