ic-db-cli 0.27.7

Local fixture console for IC DB
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.100.0"
name = "ic-db-cli"
version = "0.27.7"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local fixture console for IC DB"
readme = false
license-file = "LICENSE.md"
repository = "https://github.com/dragginzgame/ic-db"

[package.metadata.cargo-machete]
ignored = ["toko-tooling"]

[features]
console = [
    "host",
    "dep:clap",
    "dep:ic-host-text",
    "dep:rustyline",
    "dep:serde_json",
    "dep:shlex",
    "tokio/rt-multi-thread",
]
default = ["console"]
host = [
    "dep:ic-testkit",
    "dep:ic-wire",
    "dep:tokio",
]

[lib]
name = "ic_db_cli"
path = "src/lib.rs"

[[bin]]
name = "db"
path = "src/main.rs"
required-features = ["console"]

[[test]]
name = "console"
path = "tests/console.rs"

[[test]]
name = "console_terminal"
path = "tests/console_terminal.rs"

[[test]]
name = "migration"
path = "tests/migration.rs"

[dependencies.clap]
version = "4.6.7"
features = ["derive"]
optional = true

[dependencies.ic-host-text]
version = "0.77.4"
optional = true

[dependencies.ic-testkit]
version = "0.110.3"
optional = true
default-features = false

[dependencies.ic-wire]
version = "0.28.0"
optional = true
default-features = false

[dependencies.rustyline]
version = "19.0.0"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.154"
optional = true

[dependencies.shlex]
version = "2.0.1"
optional = true

[dependencies.tokio]
version = "1.54.1"
features = ["time"]
optional = true

[dev-dependencies.toko-tooling]
version = "=0.46.3"

[lints.cargo]
missing_lints_inheritance = "deny"
unknown_lints = "deny"
unused_dependencies = "deny"
unused_workspace_dependencies = "deny"
unused_workspace_package_fields = "deny"

[lints.clippy]
empty_line_after_doc_comments = "allow"
missing_panics_doc = "warn"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
too_many_lines = "allow"
wildcard_imports = "warn"

[lints.clippy.all]
level = "warn"
priority = -2

[lints.clippy.correctness]
level = "deny"
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"
invalid_markdown_table = "deny"