2020-02-03 11:35:31 -08:00
|
|
|
[package]
|
|
|
|
name = "librustzcash"
|
|
|
|
description = "Rust FFI used by the zcashd binary. Not an official API."
|
|
|
|
version = "0.2.0"
|
|
|
|
authors = [
|
2021-09-14 02:15:35 -07:00
|
|
|
"Sean Bowe <sean@electriccoin.co>",
|
|
|
|
"Jay Graber",
|
|
|
|
"Jack Grigg <jack@electriccoin.co>",
|
|
|
|
"Daira Hopwood <daira@electriccoin.co>",
|
|
|
|
"Ying Tong Lai <yingtong@electriccoin.co>",
|
|
|
|
"Simon Liu",
|
|
|
|
"Kris Nuttycombe <kris@electriccoin.co>",
|
2022-11-01 07:40:47 -07:00
|
|
|
"Greg Pfeil <greg@electriccoin.co>",
|
2021-09-14 02:15:35 -07:00
|
|
|
"Larry Ruane <larry@electriccoin.co>",
|
|
|
|
"Steven Smith <steven@electriccoin.co>"
|
2020-02-03 11:35:31 -08:00
|
|
|
]
|
2020-02-03 11:45:33 -08:00
|
|
|
homepage = "https://github.com/zcash/zcash"
|
|
|
|
repository = "https://github.com/zcash/zcash"
|
2020-02-03 11:35:31 -08:00
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
edition = "2018"
|
2022-09-22 19:27:01 -07:00
|
|
|
rust-version = "1.64"
|
2020-02-03 11:35:31 -08:00
|
|
|
|
2022-06-09 05:45:26 -07:00
|
|
|
[package.metadata.vet]
|
|
|
|
store = { path = "./qa/supply-chain" }
|
|
|
|
|
2020-02-03 11:35:31 -08:00
|
|
|
[lib]
|
|
|
|
name = "rustzcash"
|
2020-02-04 04:55:35 -08:00
|
|
|
path = "src/rust/src/rustzcash.rs"
|
2020-02-03 11:35:31 -08:00
|
|
|
crate-type = ["staticlib"]
|
|
|
|
|
2022-03-02 09:56:06 -08:00
|
|
|
[[bin]]
|
|
|
|
name = "zcash-inspect"
|
|
|
|
path = "src/rust/bin/inspect/main.rs"
|
|
|
|
|
2022-03-01 01:24:12 -08:00
|
|
|
[[bin]]
|
|
|
|
name = "zcashd-wallet-tool"
|
2022-02-28 16:47:03 -08:00
|
|
|
path = "src/rust/bin/wallet_tool.rs"
|
2022-03-01 01:24:12 -08:00
|
|
|
|
2020-02-03 11:35:31 -08:00
|
|
|
[dependencies]
|
2022-05-10 17:04:34 -07:00
|
|
|
bellman = "0.13"
|
2021-12-17 16:20:18 -08:00
|
|
|
blake2b_simd = "1"
|
|
|
|
blake2s_simd = "1"
|
2022-05-10 17:04:34 -07:00
|
|
|
bls12_381 = "0.7"
|
2021-06-04 07:06:26 -07:00
|
|
|
byteorder = "1"
|
2022-07-22 11:04:26 -07:00
|
|
|
crossbeam-channel = "0.5"
|
2022-05-10 17:04:34 -07:00
|
|
|
group = "0.12"
|
|
|
|
incrementalmerkletree = "0.3"
|
2020-02-03 11:35:31 -08:00
|
|
|
libc = "0.2"
|
2022-05-10 17:04:34 -07:00
|
|
|
jubjub = "0.9"
|
2021-09-14 12:53:08 -07:00
|
|
|
memuse = "0.2"
|
2021-06-30 12:23:56 -07:00
|
|
|
nonempty = "0.7"
|
2022-10-19 17:24:46 -07:00
|
|
|
orchard = "0.3"
|
2022-04-06 15:12:28 -07:00
|
|
|
secp256k1 = "0.21"
|
2020-08-25 03:06:56 -07:00
|
|
|
subtle = "2.2"
|
2021-06-04 15:11:01 -07:00
|
|
|
rand_core = "0.6"
|
2019-09-05 14:21:14 -07:00
|
|
|
tracing = "0.1"
|
2020-07-10 05:42:26 -07:00
|
|
|
tracing-core = "0.1"
|
2021-11-05 09:27:43 -07:00
|
|
|
tracing-appender = "0.2"
|
2022-10-19 17:24:46 -07:00
|
|
|
zcash_address = "0.2"
|
|
|
|
zcash_encoding = "0.2"
|
2022-05-10 17:04:34 -07:00
|
|
|
zcash_history = "0.3"
|
2022-10-19 17:24:46 -07:00
|
|
|
zcash_note_encryption = "0.2"
|
|
|
|
zcash_primitives = { version = "0.8.1", features = ["transparent-inputs"] }
|
|
|
|
zcash_proofs = { version = "0.8", features = ["directories"] }
|
2021-11-29 11:58:59 -08:00
|
|
|
ed25519-zebra = "3"
|
2021-10-29 14:15:33 -07:00
|
|
|
zeroize = "1.4.2"
|
2020-03-14 09:58:31 -07:00
|
|
|
|
2020-07-06 21:47:31 -07:00
|
|
|
# Rust/C++ interop
|
2021-03-06 10:40:34 -08:00
|
|
|
# The version needs to match depends/packages/native_cxxbridge.mk
|
2022-10-19 09:09:03 -07:00
|
|
|
cxx = { version = "=1.0.79", features = ["c++17"] }
|
2020-07-06 21:47:31 -07:00
|
|
|
|
2022-05-13 14:05:11 -07:00
|
|
|
# Rust threading
|
|
|
|
rayon = "1.5"
|
|
|
|
|
2020-10-16 16:53:04 -07:00
|
|
|
# Metrics
|
2021-01-06 21:30:28 -08:00
|
|
|
ipnet = "2"
|
2022-09-23 11:05:08 -07:00
|
|
|
metrics = "0.20"
|
|
|
|
metrics-exporter-prometheus = "0.11"
|
2022-11-19 00:30:57 -08:00
|
|
|
metrics-util = { version = "0.14", default-features = false, features = ["layer-filter"] }
|
|
|
|
tokio = { version = "1", features = ["rt", "net", "time"] }
|
2020-10-16 16:53:04 -07:00
|
|
|
|
2022-03-02 09:56:06 -08:00
|
|
|
# General tool dependencies
|
|
|
|
gumdrop = "0.8"
|
|
|
|
|
|
|
|
# zcash-inspect tool
|
2022-08-15 14:51:39 -07:00
|
|
|
bech32 = "0.8"
|
2022-03-02 09:56:06 -08:00
|
|
|
equihash = "0.2"
|
|
|
|
hex = "0.4"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
sha2 = "0.9"
|
|
|
|
uint = "0.9"
|
|
|
|
|
2022-03-01 01:24:12 -08:00
|
|
|
# Wallet tool
|
2022-04-09 08:06:29 -07:00
|
|
|
# (also depends on tracing, and tracing-subscriber with "env-filter" and "fmt" features)
|
2022-03-07 07:00:59 -08:00
|
|
|
anyhow = "1.0"
|
2022-03-01 01:24:12 -08:00
|
|
|
backtrace = "0.3"
|
|
|
|
clearscreen = "1.0"
|
|
|
|
rand = "0.8"
|
2022-03-10 09:17:06 -08:00
|
|
|
secrecy = "0.8"
|
2022-04-09 08:06:29 -07:00
|
|
|
thiserror = "1"
|
2022-03-01 01:24:12 -08:00
|
|
|
time = { version = "0.3", features = ["formatting", "macros"] }
|
|
|
|
|
2019-09-05 14:21:14 -07:00
|
|
|
[dependencies.tracing-subscriber]
|
2021-11-05 09:27:43 -07:00
|
|
|
version = "0.3"
|
2019-09-05 14:21:14 -07:00
|
|
|
default-features = false
|
2022-03-11 09:17:56 -08:00
|
|
|
features = ["ansi", "env-filter", "fmt", "time"]
|
2019-09-05 14:21:14 -07:00
|
|
|
|
2020-03-14 09:58:31 -07:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
panic = 'abort'
|
|
|
|
codegen-units = 1
|
2022-09-01 18:37:40 -07:00
|
|
|
|