-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
54 lines (45 loc) · 1.36 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
[package]
name = "payjoin_ffi"
version = "0.20.0"
license = "MIT OR Apache-2.0"
edition = "2021"
exclude = ["tests"]
[lib]
crate-type = ["lib", "staticlib", "cdylib"]
name = "payjoin_ffi"
[build-dependencies]
uniffi = { version = "0.28.0", features = ["build"] }
[dev-dependencies]
uniffi = { version = "0.28.0", features = ["bindgen-tests"] }
bdk = { version = "0.29.0", features = ["all-keys", "use-esplora-ureq", "keys-bip39"] }
bitcoincore-rpc = "0.19.0"
http = "1"
payjoin-directory = { git = "https://github.com/payjoin/rust-payjoin", features = ["danger-local-https"] }
ohttp-relay = "0.0.8"
rcgen = { version = "0.11" }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
rustls = "0.22.2"
testcontainers = "0.15.0"
testcontainers-modules = { version = "0.1.3", features = ["redis"] }
tokio = { version = "1.12.0", features = ["full"] }
[dependencies]
payjoin = {version = "=0.20.0", features = ["send", "receive", "base64", "v2", "io"] }
uniffi = { version = "0.28.0" }
thiserror = "1.0.47"
ohttp = { version = "0.5.1" }
url = "2.5.0"
base64 = "0.22.1"
hex = "0.4.3"
[[bin]]
name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"
[profile.release-smaller]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
strip = true
[features]
default = ["uniffi/cli"]
uniffi = []
enable-danger-local-https = ["payjoin/danger-local-https"]