Commits on Source (117)
Showing
- .cargo/config.toml 8 additions, 0 deletions.cargo/config.toml
- .dockerignore 1 addition, 0 deletions.dockerignore
- .gitignore 1 addition, 0 deletions.gitignore
- .gitlab-ci.yml 97 additions, 0 deletions.gitlab-ci.yml
- .vscode/settings.json 5 additions, 0 deletions.vscode/settings.json
- CHANGELOG.md 60 additions, 0 deletionsCHANGELOG.md
- Cargo.lock 5858 additions, 1760 deletionsCargo.lock
- Cargo.toml 64 additions, 18 deletionsCargo.toml
- Dockerfile 37 additions, 0 deletionsDockerfile
- Dockerfile.ci 52 additions, 0 deletionsDockerfile.ci
- README.md 22 additions, 4 deletionsREADME.md
- doc/config.md 222 additions, 0 deletionsdoc/config.md
- doc/example.md 65 additions, 0 deletionsdoc/example.md
- docker/README.md 42 additions, 0 deletionsdocker/README.md
- docker/build.sh 15 additions, 0 deletionsdocker/build.sh
- res/README.md 27 additions, 0 deletionsres/README.md
- res/indexer-queries.graphql 80 additions, 7 deletionsres/indexer-queries.graphql
- res/indexer-schema.graphql 8501 additions, 1510 deletionsres/indexer-schema.graphql
- res/indexer-schema.json 51820 additions, 1 deletionres/indexer-schema.json
- res/metadata.scale 0 additions, 0 deletionsres/metadata.scale
.cargo/config.toml
0 → 100644
.dockerignore
0 → 100644
.gitlab-ci.yml
0 → 100644
.vscode/settings.json
0 → 100644
CHANGELOG.md
0 → 100644
This diff is collapsed.
[package] | ||
authors = ["librelois <c@elo.tf>", "tuxmain <tuxmain@zettascript.org>"] | ||
authors = [ | ||
"librelois <c@elo.tf>", | ||
"tuxmain <tuxmain@zettascript.org>", | ||
"h30x <hugo@trentesaux.fr>", | ||
] | ||
edition = "2021" | ||
license = "AGPL-3.0" | ||
rust-version = "1.75.0" | ||
license = "AGPL-3.0-only" | ||
name = "gcli" | ||
repository = "https://git.duniter.org/clients/rust/gcli-v2s" | ||
version = "0.1.0" | ||
description = "A command-line interface for Duniter v2s uses" | ||
version = "0.4.0" | ||
[dependencies] | ||
anyhow = "1.0" | ||
clap = { version = "4.1.9", features = ["derive"] } | ||
codec = { package = "parity-scale-codec", version = "3.4.0" } | ||
env_logger = "0.10" | ||
futures = "0.3.27" | ||
graphql_client = { version = "0.12.0", features = ["reqwest"] } | ||
hex = "0.4.3" | ||
log = "0.4.17" | ||
reqwest = "0.11.14" | ||
rpassword = "7.2.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0.94" | ||
sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | ||
subxt = { git = "https://github.com/duniter/subxt.git", branch = "duniter-substrate-v0.9.32" } | ||
tokio = { version = "1.26.0", features = ["macros"] } | ||
# subxt is main dependency | ||
subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.37.0-duniter-substrate-v1.14.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.14.0" } | ||
sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.14.0" } | ||
# crates.io dependencies | ||
anyhow = "^1.0" | ||
clap = { version = "^4.5.19", features = ["derive"] } | ||
codec = { package = "parity-scale-codec", version = "^3.6.12" } | ||
env_logger = "^0.10" | ||
futures = "^0.3.30" | ||
graphql_client = { version = "^0.13.0", features = ["reqwest-rustls"] } | ||
hex = "^0.4.3" | ||
log = "^0.4.22" | ||
reqwest = { version = "^0.11.27", default-features = false, features = [ | ||
"rustls-tls", | ||
] } | ||
inquire = "^0.7.5" | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde_json = "^1.0.128" | ||
tokio = { version = "^1.40.0", features = ["macros"] } | ||
confy = "^0.5.1" | ||
bs58 = "^0.5.1" | ||
directories = "^5.0.1" | ||
comfy-table = "^7.1.1" | ||
sea-orm = { version = "1.1.0", features = [ "sqlx-sqlite", "runtime-tokio-native-tls", "macros" ] } | ||
# crypto | ||
scrypt = { version = "^0.11", default-features = false } # for old-style key generation | ||
# this is beta crate for password-encrypted files | ||
age = { default-features = false, version = "^0.10.0", features = ["armor"] } | ||
bip39 = { version = "^2.0.0", features = ["rand"] } # mnemonic | ||
colored = "2.1.0" | ||
# Tests | ||
rstest = "0.23.0" | ||
indoc = "2.0.5" | ||
# 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 = [] | ||
[package.metadata.bundle] | ||
name = "gcli" | ||
identifier = "com.axiomteam.gcli" | ||
icon = ["gcli.png"] |
Dockerfile
0 → 100644
Dockerfile.ci
0 → 100644
doc/config.md
0 → 100644
doc/example.md
0 → 100644
docker/README.md
0 → 100644
docker/build.sh
0 → 100755
res/README.md
0 → 100644
This diff is collapsed.
This diff is collapsed.
No preview for this file type