-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (40 loc) · 1.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "ledger-map"
version = "0.4.0"
edition = "2021"
description = "A Rust-based key-value map, for append-only data storage. Data integrity is protected with SHA-256 checksums, and cross-compiles to wasm32 for smart contract applications."
license = "MIT OR Apache-2.0"
documentation = "https://github.com/decent-cloud/ledger-map"
readme = "README.md"
homepage = "https://github.com/decent-cloud/ledger-map"
repository = "https://github.com/decent-cloud/ledger-map"
[lib]
name = "ledger_map"
path = "src/lib.rs"
[dependencies]
anyhow = "1.0.95"
ahash = { version = "0.8.11", default-features = false, features = [
"compile-time-rng",
] }
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
borsh = { version = "1.5.3", features = ["derive"] }
flate2 = { version = "1.0", features = [
"rust_backend",
], default-features = false }
hex = "0.4.3"
indexmap = "2.7.0"
lazy_static = "1.5.0"
serde = { version = "1.0.217", features = ["derive"] }
sha2 = "0.10.8"
[target.'cfg(target_arch = "x86_64")'.dependencies]
clap = "4.5.26"
fs-err = "3.0.0"
log = "0.4.22"
dirs = "5.0.1"
env_logger = "0.11.6"
[target.'cfg(target_arch = "wasm32")'.dependencies]
ic-cdk = "0.17.1"
ic-cdk-timers = "0.11.0"
ic-canister-log = "0.2.0"
[dev-dependencies]
tempfile = "3.15.0"