[package]
edition = "2021"
rust-version = "1.85"
name = "aelf-client"
version = "0.1.0-alpha.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client and DTOs for AElf Rust SDK."
readme = false
license = "MIT"
repository = "https://github.com/AElfProject/aelf-web3.rust"
[features]
default = ["native-http"]
native-http = ["dep:reqwest"]
[lib]
name = "aelf_client"
path = "src/lib.rs"
[dependencies.aelf-crypto]
version = "=0.1.0-alpha.1"
[dependencies.aelf-proto]
version = "=0.1.0-alpha.1"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.base64]
version = "0.22.1"
[dependencies.hex]
version = "0.4.3"
[dependencies.http]
version = "1.3.1"
[dependencies.pbjson-types]
version = "0.9.0"
[dependencies.prost]
version = "0.14.3"
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"query",
"rustls",
"http2",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.140"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.47.1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.zeroize]
version = "1.8.1"
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dev-dependencies.wiremock]
version = "=0.6.4"
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "forbid"