46268edf9c
* one commit to rule them all * remove too aggressive copy pasting * update details when outdated * typo and serde alias * no hostname option and fixes * fix wasm client? * non fallback fixed * improve gateway details update * better ws addresses * PR review fixes * improve type safety on update_gateway_published_data * fix client gateway storage migration
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "nym-client-core-gateways-storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
thiserror.workspace = true
|
|
time.workspace = true
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tracing.workspace = true
|
|
url.workspace = true
|
|
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
|
|
|
nym-crypto = { path = "../../crypto", features = ["asymmetric"] }
|
|
nym-gateway-requests = { path = "../../gateway-requests" }
|
|
nym-gateway-client = { path = "../../client-libs/gateway-client" }
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.sqlx]
|
|
workspace = true
|
|
features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"]
|
|
optional = true
|
|
|
|
[build-dependencies]
|
|
anyhow = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
|
sqlx = { workspace = true, features = [
|
|
"runtime-tokio-rustls",
|
|
"sqlite",
|
|
"macros",
|
|
"migrate",
|
|
] }
|
|
|
|
[features]
|
|
fs-gateways-storage = ["sqlx"]
|