forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt zk-token-{sdk,proof-program} for use in the monorepo
- Loading branch information
Showing
5 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,18 +1,17 @@ | ||
[package] | ||
name = "spl-zk-token-proof-program" | ||
description = "Solana Program Library ZkToken Proof Program" | ||
name = "solana-zk-token-proof-program" | ||
description = "Solana Zk Token Proof Program" | ||
authors = ["Solana Maintainers <[email protected]>"] | ||
repository = "https://github.com/solana-labs/solana-program-library" | ||
version = "0.1.0" | ||
repository = "https://github.com/solana-labs/solana" | ||
version = "1.10.0" | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
bytemuck = { version = "1.7.2", features = ["derive"] } | ||
getrandom = { version = "0.1", features = ["dummy"] } | ||
num-derive = "0.3" | ||
num-traits = "0.2" | ||
solana-sdk = "=1.9.1" | ||
solana-program-runtime = "=1.9.1" | ||
spl-zk-token-sdk = { path = "../sdk" } | ||
solana-program-runtime = { path = "../../program-runtime", version = "=1.10.0" } | ||
solana-sdk = { path = "../../sdk", version = "=1.10.0" } | ||
solana-zk-token-sdk = { path = "../../zk-token-sdk", version = "=1.10.0" } |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[package] | ||
name = "spl-zk-token-sdk" | ||
description = "Solana Program Library ZkToken SDK" | ||
name = "solana-zk-token-sdk" | ||
description = "Solana Zk Token SDK" | ||
authors = ["Solana Maintainers <[email protected]>"] | ||
repository = "https://github.com/solana-labs/solana-program-library" | ||
version = "0.1.0" | ||
repository = "https://github.com/solana-labs/solana" | ||
version = "1.10.0" | ||
license = "Apache-2.0" | ||
edition = "2021" | ||
|
||
|
@@ -12,7 +12,7 @@ base64 = "0.13" | |
bytemuck = { version = "1.7.2", features = ["derive"] } | ||
num-derive = "0.3" | ||
num-traits = "0.2" | ||
solana-program = "=1.9.1" | ||
solana-program = { path = "../sdk/program", version = "=1.10.0" } | ||
|
||
[target.'cfg(not(target_arch = "bpf"))'.dependencies] | ||
aes-gcm-siv = "0.10.3" | ||
|
@@ -28,7 +28,7 @@ rand = "0.7" | |
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
sha3 = "0.9" | ||
solana-sdk = "=1.9.1" | ||
solana-sdk = { path = "../sdk", version = "=1.10.0" } | ||
subtle = "2" | ||
thiserror = "1" | ||
zeroize = { version = "1.2.0", default-features = false, features = ["zeroize_derive"] } | ||
|
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#![allow(clippy::integer_arithmetic)] | ||
|
||
#[cfg(not(target_arch = "bpf"))] | ||
#[macro_use] | ||
pub(crate) mod macros; | ||
|