2023-11-08 14:05:51 -08:00
|
|
|
[package]
|
|
|
|
name = "zebra-scan"
|
2024-05-07 07:25:50 -07:00
|
|
|
version = "0.1.0-alpha.6"
|
2023-11-08 14:05:51 -08:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
|
|
|
description = "Shielded transaction scanner for the Zcash blockchain"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/ZcashFoundation/zebra"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
readme = "../README.md"
|
|
|
|
homepage = "https://zfnd.org/zebra/"
|
|
|
|
# crates.io is limited to 5 keywords and categories
|
|
|
|
keywords = ["zebra", "zcash"]
|
|
|
|
# Must be one of <https://crates.io/category_slugs>
|
|
|
|
categories = ["cryptography::cryptocurrencies"]
|
|
|
|
|
2024-01-25 17:29:37 -08:00
|
|
|
[[bin]] # Bin to run the Scanner gRPC server
|
|
|
|
name = "scanner-grpc-server"
|
|
|
|
path = "src/bin/rpc_server.rs"
|
2024-01-31 11:34:24 -08:00
|
|
|
required-features = ["proptest-impl"]
|
2024-01-25 17:29:37 -08:00
|
|
|
|
2023-11-08 14:05:51 -08:00
|
|
|
[features]
|
|
|
|
|
|
|
|
# Production features that activate extra dependencies, or extra features in dependencies
|
|
|
|
|
2023-12-11 23:45:12 -08:00
|
|
|
# Test features
|
|
|
|
|
|
|
|
proptest-impl = [
|
2024-02-23 04:47:10 -08:00
|
|
|
"proptest",
|
|
|
|
"proptest-derive",
|
|
|
|
"zebra-state/proptest-impl",
|
|
|
|
"zebra-chain/proptest-impl",
|
|
|
|
"zebra-test",
|
|
|
|
"bls12_381",
|
|
|
|
"ff",
|
|
|
|
"group",
|
|
|
|
"jubjub",
|
|
|
|
"rand",
|
|
|
|
"zcash_note_encryption",
|
2023-12-11 23:45:12 -08:00
|
|
|
]
|
|
|
|
|
2023-11-08 14:05:51 -08:00
|
|
|
[dependencies]
|
2023-11-28 13:58:18 -08:00
|
|
|
|
2024-03-21 11:23:41 -07:00
|
|
|
color-eyre = "0.6.3"
|
2024-04-16 19:20:28 -07:00
|
|
|
indexmap = { version = "2.2.6", features = ["serde"] }
|
2024-05-20 12:50:59 -07:00
|
|
|
itertools = "0.13.0"
|
2024-05-13 17:49:21 -07:00
|
|
|
semver = "1.0.23"
|
2024-05-29 07:09:29 -07:00
|
|
|
serde = { version = "1.0.203", features = ["serde_derive"] }
|
2024-04-16 19:20:28 -07:00
|
|
|
tokio = { version = "1.37.0", features = ["time"] }
|
2023-11-27 04:52:48 -08:00
|
|
|
tower = "0.4.13"
|
|
|
|
tracing = "0.1.39"
|
2024-01-24 14:37:03 -08:00
|
|
|
futures = "0.3.30"
|
2023-11-15 17:32:22 -08:00
|
|
|
|
2024-06-04 14:04:40 -07:00
|
|
|
zcash_client_backend = { version = "0.12.1" }
|
|
|
|
zcash_keys = { version = "0.2.0", features = ["sapling"] }
|
2024-06-19 09:31:27 -07:00
|
|
|
zcash_primitives = "0.15.0"
|
2024-06-04 14:04:40 -07:00
|
|
|
zcash_address = "0.3.2"
|
|
|
|
sapling = { package = "sapling-crypto", version = "0.1" }
|
2023-11-29 16:51:20 -08:00
|
|
|
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.37", features = ["shielded-scan"] }
|
|
|
|
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.37", features = ["shielded-scan"] }
|
|
|
|
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.37", features = ["shielded-scan"] }
|
|
|
|
zebra-grpc = { path = "../zebra-grpc", version = "0.1.0-alpha.4" }
|
2023-11-29 16:51:20 -08:00
|
|
|
|
2024-04-19 16:23:57 -07:00
|
|
|
chrono = { version = "0.4.38", default-features = false, features = ["clock", "std", "serde"] }
|
2023-12-05 17:57:01 -08:00
|
|
|
|
2023-12-11 23:45:12 -08:00
|
|
|
# test feature proptest-impl
|
|
|
|
proptest = { version = "1.4.0", optional = true }
|
|
|
|
proptest-derive = { version = "0.4.0", optional = true }
|
|
|
|
|
|
|
|
bls12_381 = { version = "0.8.0", optional = true }
|
|
|
|
ff = { version = "0.13.0", optional = true }
|
|
|
|
group = { version = "0.13.0", optional = true }
|
|
|
|
jubjub = { version = "0.10.0", optional = true }
|
|
|
|
rand = { version = "0.8.5", optional = true }
|
|
|
|
zcash_note_encryption = { version = "0.4.0", optional = true }
|
|
|
|
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-test = { path = "../zebra-test", version = "1.0.0-beta.37", optional = true }
|
2023-12-12 14:34:59 -08:00
|
|
|
|
2023-11-08 14:05:51 -08:00
|
|
|
[dev-dependencies]
|
2024-05-20 12:50:59 -07:00
|
|
|
insta = { version = "1.39.0", features = ["ron", "redactions"] }
|
2024-04-16 19:20:28 -07:00
|
|
|
tokio = { version = "1.37.0", features = ["test-util"] }
|
2023-12-11 23:45:12 -08:00
|
|
|
|
|
|
|
proptest = "1.4.0"
|
|
|
|
proptest-derive = "0.4.0"
|
2023-11-08 14:05:51 -08:00
|
|
|
bls12_381 = "0.8.0"
|
|
|
|
ff = "0.13.0"
|
|
|
|
group = "0.13.0"
|
2023-11-29 16:51:20 -08:00
|
|
|
jubjub = "0.10.0"
|
|
|
|
rand = "0.8.5"
|
|
|
|
zcash_note_encryption = "0.4.0"
|
2023-11-08 14:05:51 -08:00
|
|
|
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.37", features = ["proptest-impl"] }
|
|
|
|
zebra-test = { path = "../zebra-test", version = "1.0.0-beta.37" }
|