forked from floxxih/ChainBridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (40 loc) · 1.4 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (40 loc) · 1.4 KB
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
[package]
name = "chainbridge-sdk"
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
description = "Official Rust SDK for the ChainBridge cross-chain atomic swap API"
authors = ["ChainBridge Contributors"]
license = "MIT"
repository = "https://github.com/floxxih/ChainBridge"
homepage = "https://github.com/floxxih/ChainBridge/tree/master/sdks/rust"
documentation = "https://docs.rs/chainbridge-sdk"
readme = "README.md"
keywords = ["chainbridge", "atomic-swap", "htlc", "stellar", "cross-chain"]
categories = ["api-bindings", "cryptography", "web-programming"]
[lib]
name = "chainbridge_sdk"
path = "src/lib.rs"
[features]
default = ["rustls-tls"]
rustls-tls = ["reqwest/rustls-tls"]
native-tls = ["reqwest/native-tls"]
ws = ["dep:tokio-tungstenite", "dep:futures-util"]
[dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
sha2 = "0.10"
hex = "0.4"
rand = "0.8"
chrono = { version = "0.4", features = ["serde"] }
url = "2"
tracing = "0.1"
async-trait = "0.1"
tokio-tungstenite = { version = "0.21", default-features = false, features = ["rustls-tls-webpki-roots"], optional = true }
futures-util = { version = "0.3", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
wiremock = "0.6"