Skip to content
Snippets Groups Projects
Cargo.toml 1.58 KiB
Newer Older
Éloïs's avatar
Éloïs committed
[package]
authors = ["librelois <c@elo.tf>", "tuxmain <tuxmain@zettascript.org>"]
Éloïs's avatar
Éloïs committed
edition = "2021"
license = "AGPL-3.0"
Éloïs's avatar
Éloïs committed
name = "gcli"
repository = "https://git.duniter.org/clients/rust/gcli-v2s"
Éloïs's avatar
Éloïs committed
version = "0.1.0"

[dependencies]
anyhow = "1.0"
clap = { version = "4.1.9", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.4.0" }
graphql_client = { version = "0.12.0", features = ["reqwest"] }
Éloïs's avatar
Éloïs committed
hex = "0.4.3"
log = "0.4.17"
serde = { version = "1.0", features = ["derive"] }
serde_json = "^1.0.107"
sp-core = { git = "https://github.com/duniter/substrate.git", branch = "duniter-substrate-v0.9.42" }
sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.42" }
subxt =  { git = "https://github.com/duniter/subxt.git", branch = "subxt-v0.32.1-duniter-substrate-v0.9.42", features = ["substrate-compat"] }
# subxt-signer =  { git = "https://github.com/duniter/subxt.git", branch = "subxt-v0.32.1-duniter-substrate-v0.9.42", features = ["subxt"] }
# sp-api = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.42'}
tokio = { version = "1.26.0", features = ["macros"] }
Hugo Trentesaux's avatar
Hugo Trentesaux committed
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"
Hugo Trentesaux's avatar
Hugo Trentesaux committed

# allows to build gcli for different runtimes and with different predefined networks 
Hugo Trentesaux's avatar
Hugo Trentesaux committed
[features]
default = ["gdev"] # default runtime is "gdev", gdev network is available
Hugo Trentesaux's avatar
Hugo Trentesaux committed
gdev = []
gtest = []
g1 = []