-
Hugo Trentesaux authoredHugo Trentesaux authored
This project manages its dependencies using Cargo.
Learn more
Cargo.toml 1.64 KiB
[package]
authors = [
"librelois <c@elo.tf>",
"tuxmain <tuxmain@zettascript.org>",
"h30x <hugo@trentesaux.fr>",
]
edition = "2021"
license = "AGPL-3.0-only"
name = "gcli"
repository = "https://git.duniter.org/clients/rust/gcli-v2s"
version = "0.2.4"
[dependencies]
# subxt is main dependency
subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.34.0-duniter-substrate-v1.6.0', default-features = false, features = [
"substrate-compat",
"native",
"jsonrpsee",
] }
# substrate primitives dependencies
sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" }
sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" }
# crates.io dependencies
anyhow = "^1.0"
clap = { version = "^4.4.18", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "^3.6.9" }
env_logger = "^0.10"
futures = "^0.3.30"
graphql_client = { version = "^0.12.0", features = ["reqwest"] }
hex = "^0.4.3"
log = "^0.4.20"
reqwest = "^0.11.23"
rpassword = "^7.3.1"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0.113"
tokio = { version = "^1.35.1", features = ["macros"] }
confy = "^0.5.1"
scrypt = { version = "^0.11", default-features = false } # for old-style key generation
nacl = { version = "^0.5.3" } # for old-style key generation
bs58 = "^0.5.0"
inquire = "0.6.2"
# allows to build gcli for different runtimes and with different predefined networks
[features]
default = ["gdev"] # default runtime is "gdev", gdev network is available
gdev = []
gtest = []
g1 = []