forked from farcaster-project/farcaster-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (52 loc) · 1.91 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
[package]
name = "farcaster_core"
description = "Farcaster project core library, blockchain atomic swaps."
keywords = ["farcaster", "atomicswap", "bitcoin", "monero"]
version = "0.1.0"
authors = ["Farcaster Devs"]
license = "LGPL-3.0"
homepage = "https://github.com/farcaster-project/farcaster-core"
repository = "https://github.com/farcaster-project/farcaster-core"
documentation = "https://docs.rs/farcaster_core"
readme = "README.md"
include = [
"src/*",
"README.md",
"CHANGELOG.md",
"LICENSE",
]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
rpc = []
experimental = ["ecdsa_fun", "rand", "sha2", "rand_chacha", "bincode"]
serde = ["serde_crate", "bitcoin/use-serde", "monero/serde_support", "inet2_addr/serde"]
default = ["experimental"]
[dependencies]
amplify = "3"
hex = "0.4.3"
tiny-keccak = { version = "2", features = ["keccak"] }
fixed-hash = { version = "0.7.0", default-features = false }
strict_encoding = "=1.2.3"
strict_encoding_derive = "=1.0.0"
lightning_encoding = "0.4.0-beta.1"
thiserror = "1.0.24"
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
inet2_addr = { version = "0.4.0", default-features = false, features = ["tor", "strict_encoding"] }
# crypto libs
rand = { version = "0.8.4", optional = true }
ecdsa_fun = { version = "0.6", default-features = false, features = ["all"], optional = true }
sha2 = { version = "0.9", optional = true }
rand_chacha = { version = "0.3.1", optional = true }
bincode = { version = "1.3.3", optional = true }
# blockchain specific
bitcoin = "0.26"
monero = { version = "0.14" }
[dev-dependencies]
bitcoincore-rpc = "0.13.0"
rand_core = { version = "^0.6.3", features = ["getrandom"] }
secp256k1 = { version = "0.20.1", features = ["rand-std"] }
lazy_static = "1.4.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]