forked from LtbLightning/payjoin-ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (36 loc) · 1.04 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 = "payjoin_ffi"
version = "0.13.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.27.1", features = ["build"] }
[dev-dependencies]
uniffi = { version = "0.27.1", features = ["bindgen-tests"] }
bdk = { version = "0.29.0", features = ["all-keys", "use-esplora-ureq", "keys-bip39"] }
bitcoincore-rpc = "0.18.0"
[dependencies]
#https://github.com/payjoin/rust-payjoin/commit/457a0dd5cb212ddd9ea169b7fa3842bfc3d5f373
payjoin = { git= "https://github.com/payjoin/rust-payjoin", rev = "457a0dd5cb212ddd9ea169b7fa3842bfc3d5f373", features = ["send", "receive", "base64", "v2"] }
uniffi = { version = "0.27.1" }
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=[]