[package]
edition = "2024"
rust-version = "1.100.0"
name = "ic-query-cli"
version = "0.104.0"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line wrapper for read-only Internet Computer metadata queries"
readme = "README.md"
keywords = [
"internet-computer",
"dfinity",
"icp",
"nns",
"sns",
]
categories = ["command-line-utilities"]
license-file = "LICENSE.md"
repository = "https://github.com/dragginzgame/ic-query"
[package.metadata.cargo-machete]
ignored = ["toko-tooling"]
[package.metadata.toko-tooling.loc.paths]
tools = "build_tooling"
"tools/governance_smoke/tests.rs" = "tests"
[lib]
name = "ic_query_cli"
path = "src/lib.rs"
[[bin]]
name = "icq"
path = "src/main.rs"
[[example]]
name = "governance_smoke"
path = "tools/governance_smoke/main.rs"
[[example]]
name = "subnet_catalog_timing"
path = "tools/subnet_catalog_timing.rs"
[[test]]
name = "cache_public_api"
path = "tests/cache_public_api.rs"
[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"
[[test]]
name = "cloud_engine_public_api"
path = "tests/cloud_engine_public_api.rs"
[[test]]
name = "downstream_usage"
path = "tests/downstream_usage.rs"
[[test]]
name = "ic_public_api"
path = "tests/ic_public_api.rs"
[[test]]
name = "icrc_public_api"
path = "tests/icrc_public_api.rs"
[[test]]
name = "nns_public_api"
path = "tests/nns_public_api.rs"
[[test]]
name = "renderer_contracts"
path = "tests/renderer_contracts.rs"
[[test]]
name = "sns_public_api"
path = "tests/sns_public_api.rs"
[[test]]
name = "subnet_catalog_public_api"
path = "tests/subnet_catalog_public_api.rs"
[[test]]
name = "subnet_topology_public_api"
path = "tests/subnet_topology_public_api.rs"
[[test]]
name = "system_public_api"
path = "tests/system_public_api.rs"
[dependencies.clap]
version = "4.6.1"
features = [
"derive",
"string",
]
[dependencies.ic-host-text]
version = "0.75.0"
[dependencies.ic-platform-types]
version = "0.20.0"
default-features = false
[dependencies.ic-query]
version = "0.103.0"
features = ["host"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"time",
]
[dev-dependencies.futures]
version = "0.3"
features = ["executor"]
default-features = false
[dev-dependencies.ic-build]
version = "0.84.0"
[dev-dependencies.ic-host-artifacts]
version = "0.77.0"
features = ["wasm"]
default-features = false
[dev-dependencies.ic-host-fs]
version = "0.77.0"
features = ["test-support"]
default-features = false
[dev-dependencies.ic-host-process]
version = "0.77.0"
default-features = false
[dev-dependencies.ic-host-tools]
version = "0.91.0"
features = ["ledger-evidence"]
default-features = false
[dev-dependencies.ic-platform]
version = "0.32.0"
features = [
"agent",
"candid-codec",
"certification-cbor",
"icrc-ledger-types",
"principal-self-authenticating",
]
default-features = false
[dev-dependencies.ic-query]
version = "0.103.0"
features = ["certificate-host"]
default-features = false
[dev-dependencies.ic-wire]
version = "0.21.0"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.reqwest]
version = "0.13.4"
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]
[dev-dependencies.time]
version = "0.3"
features = ["formatting"]
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
"time",
"net",
]
[dev-dependencies.toko-tooling]
version = "=0.40.1"
[dev-dependencies.url]
version = "2.5.8"
[lints.cargo]
unused_workspace_dependencies = "allow"
[lints.clippy]
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
too_many_lines = "allow"
uninlined_format_args = "warn"
use_self = "warn"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "warn"
unfulfilled_lint_expectations = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"