arcthis 0.5.0

An agent-native CLI for accessing and manipulating compressed files
# 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.98"
name = "arcthis"
version = "0.5.0"
build = false
include = [
    "Cargo.toml",
    "Cargo.lock",
    "rust-toolchain.toml",
    "src/**",
    "tests/**",
    "README.md",
    "README.zh-CN.md",
    "START.md",
    "START.zh-CN.md",
    "INDEX.md",
    "ROADMAP.md",
    "CHANGELOG.md",
    "LICENSE",
    "THIRD_PARTY_LICENSES.md",
    "docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An agent-native CLI for accessing and manipulating compressed files"
homepage = "https://arcthis.mkynstudio.top"
documentation = "https://docs.rs/arcthis"
readme = "README.md"
keywords = [
    "archive",
    "cli",
    "agent",
    "zip",
    "tar",
]
categories = [
    "command-line-utilities",
    "compression",
]
license = "MIT"
repository = "https://github.com/mkynyd/arcthis"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["mcp"]
mcp = [
    "dep:base64",
    "dep:rmcp",
    "dep:schemars",
    "dep:tokio",
]

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

[[bin]]
name = "arcthis"
path = "src/main.rs"

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.23"
optional = true

[dependencies.bzip2]
version = "0.6"

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.compress-tools]
version = "0.16"
features = ["static"]
default-features = false

[dependencies.directories]
version = "6.0"

[dependencies.flate2]
version = "1.1"

[dependencies.globset]
version = "0.4"

[dependencies.lzma-rust2]
version = "0.20"

[dependencies.mime_guess]
version = "2.0"

[dependencies.rmcp]
version = "=3.1.4"
features = [
    "base64",
    "macros",
    "server",
    "transport-io",
]
optional = true
default-features = false

[dependencies.schemars]
version = "1.2"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sevenz-rust2]
version = "0.22"
features = [
    "aes256",
    "bzip2",
    "compress",
    "deflate",
    "ppmd",
    "util",
    "zstd",
]
default-features = false

[dependencies.sha2]
version = "0.11"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.27"

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.tokio]
version = "1.47"
features = [
    "rt-multi-thread",
    "time",
]
optional = true

[dependencies.walkdir]
version = "2.5"

[dependencies.zip]
version = "=8.2.0"
features = [
    "aes-crypto",
    "deflate-flate2",
    "time",
]
default-features = false

[dependencies.zstd]
version = "0.13"
default-features = false

[dev-dependencies.assert_cmd]
version = "2.2"

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = "thin"
strip = "symbols"