2019-03-08 18:16:00 -08:00
|
|
|
[package]
|
|
|
|
name = "zcash_client_sqlite"
|
|
|
|
description = "An SQLite-based Zcash light client"
|
2023-10-18 13:58:03 -07:00
|
|
|
version = "0.8.1"
|
2019-03-08 18:16:00 -08:00
|
|
|
authors = [
|
|
|
|
"Jack Grigg <jack@z.cash>",
|
2021-04-08 09:12:47 -07:00
|
|
|
"Kris Nuttycombe <kris@electriccoin.co>"
|
2019-03-08 18:16:00 -08:00
|
|
|
]
|
|
|
|
homepage = "https://github.com/zcash/librustzcash"
|
2023-09-26 13:12:23 -07:00
|
|
|
repository.workspace = true
|
2019-03-08 18:16:00 -08:00
|
|
|
readme = "README.md"
|
2023-09-26 13:12:23 -07:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
categories.workspace = true
|
2019-03-08 18:16:00 -08:00
|
|
|
|
2024-01-04 11:03:11 -08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2019-03-08 18:16:00 -08:00
|
|
|
[dependencies]
|
2023-04-28 10:40:16 -07:00
|
|
|
zcash_address.workspace = true
|
2023-09-26 13:12:23 -07:00
|
|
|
zcash_client_backend = { workspace = true, features = ["unstable-serialization", "unstable-spanning-tree"] }
|
|
|
|
zcash_encoding.workspace = true
|
2024-01-26 14:01:05 -08:00
|
|
|
zcash_keys = { workspace = true, features = ["orchard"] }
|
2023-09-26 13:12:23 -07:00
|
|
|
zcash_primitives.workspace = true
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# Dependencies exposed in a public API:
|
|
|
|
# (Breaking upgrades to these require a breaking upgrade to this crate.)
|
|
|
|
# - Errors
|
2023-09-26 13:12:23 -07:00
|
|
|
bs58.workspace = true
|
|
|
|
hdwallet = { workspace = true, optional = true }
|
2022-11-01 00:23:58 -07:00
|
|
|
|
2022-12-06 00:17:49 -08:00
|
|
|
# - Logging and metrics
|
2023-09-26 13:12:23 -07:00
|
|
|
tracing.workspace = true
|
2022-12-06 00:17:49 -08:00
|
|
|
|
2023-05-24 20:57:54 -07:00
|
|
|
# - Serialization
|
2023-09-26 13:12:23 -07:00
|
|
|
byteorder.workspace = true
|
|
|
|
prost.workspace = true
|
|
|
|
group.workspace = true
|
|
|
|
jubjub.workspace = true
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# - Secret management
|
2023-09-26 13:12:23 -07:00
|
|
|
secrecy.workspace = true
|
2022-11-01 00:23:58 -07:00
|
|
|
|
2023-12-12 10:46:51 -08:00
|
|
|
# - Shielded protocols
|
2024-01-09 09:50:17 -08:00
|
|
|
orchard = { workspace = true, optional = true }
|
2023-12-12 10:46:51 -08:00
|
|
|
sapling.workspace = true
|
|
|
|
|
2023-09-08 11:47:41 -07:00
|
|
|
# - Note commitment trees
|
2023-09-26 13:12:23 -07:00
|
|
|
incrementalmerkletree.workspace = true
|
|
|
|
shardtree = { workspace = true, features = ["legacy-api"] }
|
2023-09-08 11:47:41 -07:00
|
|
|
|
2022-11-01 00:23:58 -07:00
|
|
|
# - SQLite databases
|
2024-01-25 11:06:08 -08:00
|
|
|
# Warning: One of the downstream consumers requires that SQLite be available through
|
|
|
|
# CocoaPods, due to being bound to React Native. We need to ensure that the SQLite
|
|
|
|
# version required for `rusqlite` is a version that is available through CocoaPods.
|
2023-06-17 12:44:35 -07:00
|
|
|
rusqlite = { version = "0.29.0", features = ["bundled", "time", "array"] }
|
2022-08-19 08:55:55 -07:00
|
|
|
schemer = "0.2"
|
2023-06-17 12:44:35 -07:00
|
|
|
schemer-rusqlite = "0.2.2"
|
|
|
|
time = "0.3.22"
|
2022-08-02 09:06:15 -07:00
|
|
|
uuid = "1.1"
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# Dependencies used internally:
|
|
|
|
# (Breaking upgrades to these are usually backwards-compatible, but check MSRVs.)
|
2024-01-03 12:14:41 -08:00
|
|
|
document-features.workspace = true
|
2023-09-26 13:12:23 -07:00
|
|
|
maybe-rayon.workspace = true
|
2019-03-08 18:16:00 -08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-09-26 13:12:23 -07:00
|
|
|
assert_matches.workspace = true
|
|
|
|
incrementalmerkletree = { workspace = true, features = ["test-dependencies"] }
|
|
|
|
shardtree = { workspace = true, features = ["legacy-api", "test-dependencies"] }
|
2024-02-12 15:34:44 -08:00
|
|
|
nonempty.workspace = true
|
2023-09-26 13:12:23 -07:00
|
|
|
proptest.workspace = true
|
|
|
|
rand_core.workspace = true
|
2022-09-01 20:03:39 -07:00
|
|
|
regex = "1.4"
|
2023-04-14 16:40:13 -07:00
|
|
|
tempfile = "3.5.0"
|
2024-01-16 14:47:35 -08:00
|
|
|
zcash_keys = { workspace = true, features = ["test-dependencies"] }
|
2023-09-26 13:12:23 -07:00
|
|
|
zcash_note_encryption.workspace = true
|
2023-10-11 13:36:10 -07:00
|
|
|
zcash_proofs = { workspace = true, features = ["bundled-prover"] }
|
2023-09-26 13:12:23 -07:00
|
|
|
zcash_primitives = { workspace = true, features = ["test-dependencies"] }
|
|
|
|
zcash_client_backend = { workspace = true, features = ["test-dependencies", "unstable-serialization", "unstable-spanning-tree"] }
|
|
|
|
zcash_address = { workspace = true, features = ["test-dependencies"] }
|
2019-04-08 04:24:49 -07:00
|
|
|
|
|
|
|
[features]
|
2023-07-25 06:57:10 -07:00
|
|
|
default = ["multicore"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables multithreading support for creating proofs and building subtrees.
|
2023-07-25 06:57:10 -07:00
|
|
|
multicore = ["maybe-rayon/threads", "zcash_primitives/multicore"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
2024-01-03 08:17:24 -08:00
|
|
|
## Enables support for storing data related to the sending and receiving of
|
|
|
|
## Orchard funds.
|
2024-01-09 09:50:17 -08:00
|
|
|
orchard = ["dep:orchard", "zcash_client_backend/orchard"]
|
2024-01-03 08:17:24 -08:00
|
|
|
|
2024-01-03 12:14:41 -08:00
|
|
|
## Exposes APIs that are useful for testing, such as `proptest` strategies.
|
2022-09-01 20:03:39 -07:00
|
|
|
test-dependencies = [
|
2023-06-08 11:53:39 -07:00
|
|
|
"incrementalmerkletree/test-dependencies",
|
2022-09-01 20:03:39 -07:00
|
|
|
"zcash_primitives/test-dependencies",
|
|
|
|
"zcash_client_backend/test-dependencies",
|
2023-04-03 12:53:43 -07:00
|
|
|
"incrementalmerkletree/test-dependencies",
|
2022-09-01 20:03:39 -07:00
|
|
|
]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables receiving transparent funds and shielding them.
|
2024-01-03 11:49:36 -08:00
|
|
|
transparent-inputs = ["dep:hdwallet", "zcash_client_backend/transparent-inputs"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
#! ### Experimental features
|
|
|
|
|
|
|
|
## Exposes unstable APIs. Their behaviour may change at any time.
|
2022-08-29 14:32:18 -07:00
|
|
|
unstable = ["zcash_client_backend/unstable"]
|
2021-08-05 14:39:36 -07:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|