-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
44 lines (39 loc) · 1.24 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
[package]
name = "moksha-core"
version = "0.2.1"
edition = "2021"
repository = "https://github.com/ngutech21/moksha"
license = "MIT"
description = "A library for building cashu applications"
[lib]
name = "moksha_core"
path = "src/lib.rs"
[dependencies]
anyhow = { workspace = true }
url = { workspace = true }
base64 = { workspace = true }
bitcoin_hashes = "0.14.0"
secp256k1 = { workspace = true, default-features = true, features = [
"rand",
"serde",
] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
hex = { workspace = true }
serde_with = { workspace = true }
thiserror = { workspace = true }
itertools = { workspace = true }
uuid = { workspace = true, features = ["serde", "v4"] }
utoipa = { workspace = true }
[target.'cfg(target_family = "wasm")'.dependencies]
# getrandom is transitive dependency of rand
# on wasm, we need to enable the js backend
# see https://docs.rs/getrandom/latest/getrandom/#indirect-dependencies and https://docs.rs/getrandom/latest/getrandom/#webassembly-support
getrandom = { version = "0.2.14", features = ["js"] }
[dev-dependencies]
anyhow = { workspace = true }
pretty_assertions = { workspace = true }
criterion = "0.5.1"
[[bench]]
name = "dhke_benchmarks"
harness = false