-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
43 lines (39 loc) · 1.74 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
[package]
name = "musig2"
version = "0.2.2"
edition = "2021"
authors = ["conduition <[email protected]>"]
description = "Flexible Rust implementation of the MuSig2 multisignature protocol, compatible with Bitcoin."
readme = "README.md"
license = "Unlicense"
repository = "https://github.com/conduition/musig2"
keywords = ["musig", "schnorr", "bitcoin", "multisignature", "musig2"]
include = ["/src", "!/src/test_vectors", "*.md"]
[dependencies]
base16ct = { version = "0.2.0", default-features = false, features = ["alloc"] }
hmac = { version = "0.12.1", default-features = false, features = [] }
k256 = { version = "0.13.1", default-features = false, optional = true }
once_cell = { version = "1.18.0", default-features = false }
rand = { version = "0.8.5", optional = true, default-features = false, features = ["std_rng"] }
secp = { version = "0.4", default-features = false }
secp256k1 = { version = "0.30", optional = true, default-features = false }
serde = { version = "1.0.188", default-features = false, optional = true }
serdect = { version = "0.2.0", default-features = false, optional = true, features = ["alloc"] }
sha2 = { version = "0.10.8", default-features = false }
subtle = { version = "2.5.0", default-features = false }
[dev-dependencies]
serde = { version = "1.0.188", features = ["serde_derive"] }
serde_json = "1.0.107"
csv = "1.3.0"
serdect = "0.2.0"
rand = "0.8.5"
secp = { version = "0.4", default-features = false, features = ["serde", "rand", "secp256k1-invert"] }
[features]
default = ["secp256k1"]
secp256k1 = ["dep:secp256k1", "secp/secp256k1"]
k256 = ["dep:k256", "secp/k256"]
serde = ["dep:serde", "secp/serde", "dep:serdect"]
rand = ["dep:rand", "secp/rand"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]