forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* extract program-error crate * remove `default-features = false` that doesn't do anything * make serde optional in program-error crate * update lock file * remove thiserror from program-error crate * update lock file * move ProgramResult definition to program-error crate * unused import * fix features * missing whitespace Co-authored-by: Jon C <me@jonc.dev> --------- Co-authored-by: Jon C <me@jonc.dev>
- Loading branch information
1 parent
8aae271
commit 2a962c9
Showing
8 changed files
with
394 additions
and
279 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[package] | ||
name = "solana-program-error" | ||
description = "Solana ProgramError type and related definitions." | ||
documentation = "https://docs.rs/solana-program-error" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
borsh = { workspace = true, optional = true } | ||
num-traits = { workspace = true } | ||
serde = { workspace = true, optional = true } | ||
serde_derive = { workspace = true, optional = true } | ||
solana-decode-error = { workspace = true } | ||
solana-instruction = { workspace = true, default-features = false, features = [ | ||
"std", | ||
] } | ||
solana-msg = { workspace = true } | ||
solana-pubkey = { workspace = true, default-features = false } | ||
|
||
[features] | ||
borsh = ["dep:borsh"] | ||
serde = ["dep:serde", "dep:serde_derive"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |
Oops, something went wrong.