zcash-sync/Cargo.toml

170 lines
4.7 KiB
TOML
Raw Normal View History

2021-06-17 09:56:20 -07:00
[package]
2022-10-11 06:45:54 -07:00
name = "zcash-warpsync"
version = "1.2.15"
2021-06-17 09:56:20 -07:00
authors = ["Hanh <hanh425@gmail.com>"]
2022-10-11 06:45:54 -07:00
edition = "2021"
2021-06-17 09:56:20 -07:00
2021-06-18 01:17:41 -07:00
[[bench]]
name = "scan_all"
harness = false
required-features = ["dotenv"]
2021-06-18 01:17:41 -07:00
2022-06-09 10:05:58 -07:00
[[bin]]
name = "warp-rpc"
path = "src/main/rpc.rs"
required-features = ["rpc"]
2022-06-06 18:27:50 -07:00
[[bin]]
name = "wallet"
path = "src/main/wallet.rs"
required-features = ["dotenv"]
2023-04-28 18:47:18 -07:00
#[[bin]]
#name = "ledger"
#path = "src/main/ledger.rs"
2022-06-07 09:58:24 -07:00
2023-05-15 10:00:50 -07:00
[[bin]]
name = "sign"
path = "src/main/sign.rs"
2023-05-26 16:20:01 -07:00
required-features = ["dotenv"]
2022-06-08 05:48:16 -07:00
[lib]
name = "warp_api_ffi"
2023-05-15 10:00:50 -07:00
# cdylib
2022-06-08 05:48:16 -07:00
crate-type = ["rlib"]
2021-08-05 06:38:48 -07:00
2021-06-17 09:56:20 -07:00
[dependencies]
2023-04-18 16:55:10 -07:00
nonempty = "0.7"
2022-05-19 09:19:04 -07:00
env_logger = "0.9.0"
2021-06-17 09:56:20 -07:00
anyhow = "1.0.40"
2021-06-26 02:52:03 -07:00
thiserror = "1.0.25"
2021-06-17 09:56:20 -07:00
log = "0.4.14"
2022-05-19 09:19:04 -07:00
flexi_logger = {version="0.22.3", features = ["compress"]}
2022-11-12 17:39:12 -08:00
assert_matches = "1.5"
2021-06-17 09:56:20 -07:00
serde = {version = "1.0.126", features = ["derive"]}
serde_json = "1.0.64"
2022-08-26 05:54:52 -07:00
serde_with = { version = "2", features = ["hex"] }
2022-11-01 04:03:57 -07:00
serde-hex = "0.1.0"
2021-09-08 07:10:22 -07:00
bincode = "1.3.3"
2022-12-30 07:29:59 -08:00
flatbuffers = "22"
2022-07-13 20:22:12 -07:00
tokio = { version = "^1.6", features = ["macros", "rt-multi-thread", "time"] }
2021-07-31 00:34:57 -07:00
tokio-stream = "0.1.7"
2022-05-19 09:19:04 -07:00
protobuf = "3.0.2"
2021-06-17 09:56:20 -07:00
hex = "0.4.3"
futures = "0.3.15"
2022-05-19 09:19:04 -07:00
tonic = {version = "0.7.2", features = ["tls", "tls-roots"]}
prost = "0.10.3"
2021-06-17 09:56:20 -07:00
rayon = "1.5.1"
2021-06-21 17:33:13 -07:00
tiny-bip39 = "0.8"
rand = "0.8.4"
2022-11-22 01:53:16 -08:00
rusqlite = { version = "0.27.0", features = ["bundled", "modern_sqlite", "backup"] }
zip = "0.6"
2022-11-28 08:29:01 -08:00
# Workaround for https://github.com/gyscos/zstd-rs/issues/177
zstd-sys = "=2.0.1+zstd.1.5.2"
2022-11-22 01:53:16 -08:00
age = "0.9"
2023-03-20 23:54:57 -07:00
jubjub = "0.10.0"
2022-05-19 09:19:04 -07:00
bls12_381 = "0.7"
2023-03-20 23:54:57 -07:00
ff = "0.13"
group = "0.13.0"
2021-07-07 08:38:22 -07:00
byteorder = "^1.4"
2022-05-19 09:19:04 -07:00
secp256k1 = "0.21.3"
2021-07-09 06:33:05 -07:00
tiny-hderive = "0.3.0"
2022-05-19 09:19:04 -07:00
ripemd = "0.1.1"
sha2 = "0.10.2"
2021-07-11 08:42:52 -07:00
lazy_static = "1.4.0"
2022-05-19 09:19:04 -07:00
rustyline = "9.1.2"
clap = "3.1.18"
2021-08-09 07:13:10 -07:00
chrono = "0.4.19"
2021-09-21 18:08:27 -07:00
lazycell = "1.3.0"
2021-08-09 07:13:10 -07:00
reqwest = { version = "0.11.4", features = ["json", "rustls-tls"], default-features = false }
2023-04-14 06:00:42 -07:00
hex-literal = "0.4"
2023-04-18 16:55:10 -07:00
pasta_curves = "0.5"
f4jumble = { path = "../../librustzcash/components/f4jumble" }
2021-06-24 05:08:20 -07:00
2022-10-28 06:02:34 -07:00
# Halo
orchard = "0.3.0"
halo2_proofs = "0.2"
halo2_gadgets = "0.2"
2021-11-11 17:39:50 -08:00
bech32 = "0.8.1"
rand_chacha = "0.3.1"
2022-05-19 09:19:04 -07:00
blake2b_simd = "1.0.0"
2022-02-28 07:35:29 -08:00
chacha20poly1305 = "0.9.0"
base64 = "^0.13"
2022-07-23 06:25:08 -07:00
base58check = "0.1.0"
2022-06-20 02:05:11 -07:00
raptorq = "1.7.0"
2023-05-02 22:24:56 -07:00
sysinfo = "0.28"
2021-11-11 17:39:50 -08:00
2023-04-14 06:00:42 -07:00
ledger-transport-hid = { version = "0.10", optional = true }
ledger-apdu = { version = "0.10", optional = true }
2022-03-30 17:40:02 -07:00
2022-06-09 04:28:37 -07:00
allo-isolate = { version = "0.1", optional = true }
once_cell = { version = "1.8.0", optional = true }
android_logger = { version = "0.10.0", optional = true }
2023-04-14 06:00:42 -07:00
rocket = { version = "0.5.0-rc.3", features = ["json"], optional = true }
2022-06-10 02:16:00 -07:00
dotenv = { version = "0.15.0", optional = true }
2022-06-08 05:48:16 -07:00
2022-07-21 04:22:41 -07:00
node-bindgen = { version = "4.0", optional = true }
2022-08-02 07:34:15 -07:00
rustacuda = { version = "0.1.3", optional = true }
rustacuda_core = { version = "0.1.2", optional = true }
2022-08-17 20:42:06 -07:00
metal = { version = "0.24", optional = true }
objc = { version = "0.2", features = [ "objc_exception" ], optional = true }
block = { version = "0.1.6", optional = true }
2022-08-02 07:34:15 -07:00
2022-03-30 17:40:02 -07:00
[features]
2023-04-18 16:55:10 -07:00
ledger = ["ledger-apdu", "ledger-transport-hid", "dotenv"]
2022-06-09 04:28:37 -07:00
dart_ffi = ["allo-isolate", "once_cell", "android_logger"]
2022-06-10 02:16:00 -07:00
rpc = ["rocket", "dotenv"]
2022-07-21 04:22:41 -07:00
nodejs = ["node-bindgen"]
2022-08-02 07:34:15 -07:00
cuda = ["rustacuda", "rustacuda_core"]
2022-08-17 20:42:06 -07:00
apple_metal = ["metal", "objc", "block"]
2023-03-06 22:08:37 -08:00
sqlcipher = ["rusqlite/bundled-sqlcipher-vendored-openssl"]
2022-09-09 19:15:43 -07:00
[dependencies.zcash_params]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/zcash-params.git"
2023-04-18 16:55:10 -07:00
#rev = "2e118feceeaa31ef68fb83d1fc94a1a46db4569c"
2023-04-14 06:00:42 -07:00
path = "../zcash-params"
2021-06-17 09:56:20 -07:00
[dependencies.zcash_client_backend]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/zcash_client_backend"
2021-06-17 09:56:20 -07:00
[dependencies.zcash_primitives]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/zcash_primitives"
2021-07-09 06:33:05 -07:00
features = [ "transparent-inputs" ]
2021-06-17 09:56:20 -07:00
[dependencies.zcash_proofs]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/zcash_proofs"
2021-06-17 09:56:20 -07:00
2021-08-27 01:03:45 -07:00
[dependencies.zcash_address]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/components/zcash_address"
2022-03-14 19:40:08 -07:00
[dependencies.zcash_encoding]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/components/zcash_encoding"
2022-03-14 19:40:08 -07:00
[dependencies.zcash_note_encryption]
2023-04-14 06:00:42 -07:00
#git = "https://github.com/hhanh00/librustzcash.git"
2023-04-18 16:55:10 -07:00
#rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646"
2023-04-14 06:00:42 -07:00
path = "../../librustzcash/components/zcash_note_encryption"
2021-08-27 01:03:45 -07:00
2021-06-17 09:56:20 -07:00
[build-dependencies]
2022-05-19 09:19:04 -07:00
tonic-build = "0.7.2"
2022-06-08 05:48:16 -07:00
cbindgen = "0.19.0"
2021-06-18 01:17:41 -07:00
[dev-dependencies]
criterion = "0.3.4"
2022-08-02 07:34:15 -07:00
2022-11-22 01:53:16 -08:00
#These patch overrides must be included in your workspace root Cargo.toml
#[patch.crates-io]
2023-04-18 16:55:10 -07:00
#zcash_note_encryption = { git = "https://github.com/hhanh00/librustzcash.git", rev = "e2fe0b8d386fad99e00d6135c5caf3cc04045646" }