-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
73 lines (63 loc) · 2.3 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "farcaster_core"
version = "0.6.4"
authors = ["Farcaster Devs"]
documentation = "https://docs.rs/farcaster_core"
homepage = "https://github.com/farcaster-project/farcaster-core"
include = [
"src/*",
"README.md",
"CHANGELOG.md",
"LICENSE",
]
keywords = ["farcaster", "atomicswap", "bitcoin", "monero"]
license = "LGPL-3.0"
readme = "README.md"
repository = "https://github.com/farcaster-project/farcaster-core"
description = "Farcaster project core library, blockchain atomic swaps."
edition = "2021"
rust-version = "1.59.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
rpc = []
experimental = ["ecdsa_fun", "secp256kfun", "rand", "sha2", "rand_chacha", "bincode"]
taproot = []
nightly = []
fee_range = []
default = ["experimental", "taproot"]
[dependencies]
amplify = "3"
base58-monero = "1"
bitvec = { version = "1.0" }
clap = { version = "3", features = ["derive"] }
fixed-hash = { version = "0.7", default-features = false }
hex = "0.4"
inet2_addr = { version = "0.8", default-features = false, features = ["tor", "strict_encoding", "serde"] }
serde = { version = "1", features = ["derive"] }
strict_encoding = "0.8"
strict_encoding_derive = "1.7"
thiserror = "1"
tiny-keccak = { version = "2", features = ["keccak"] }
uuid = { version = "1.1", features = ["v4", "serde"] }
# crypto libs
bincode = { version = "1", optional = true }
curve25519-dalek = { version = "3", features = ["serde"] }
ecdsa_fun = { version = "0.7", default-features = false, features = ["all"], optional = true }
rand = { version = "0.8.4", optional = true }
rand_alt = { package = "rand", version = "0.7.3", features = ["std"] }
rand_chacha = { version = "0.3.1", optional = true }
secp256kfun = { version = "0.7", default-features = false, features = ["std", "serde", "libsecp_compat"], optional = true }
sha2 = { version = "0.9", optional = true }
sha3 = "0.10"
# blockchain specific
bitcoin = { version = "0.28", features = ["use-serde"] }
monero = { version = "0.17", features = ["serde"] }
[dev-dependencies]
bitcoincore-rpc = "0.15"
lazy_static = "1.4"
rand_core = { version = "0.6.3", features = ["getrandom"] }
secp256k1 = { version = "0.22", features = ["rand-std"] }
serde_yaml = "0.8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]