claude_version 1.0.0

Manage Claude Code installation, versions, and session lifecycle.
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 = "2021"
rust-version = "1.70"
name = "claude_version"
version = "1.0.0"
authors = ["Kostiantyn Mysnyk <wandalen@obox.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Manage Claude Code installation, versions, and session lifecycle."
homepage = "https://github.com/iron-cage/claude_tools"
documentation = "https://docs.rs/claude_version"
readme = "readme.md"
keywords = [
    "claude",
    "ai",
    "version",
    "installer",
    "cli",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/iron-cage/claude_tools"

[features]
default = ["enabled"]
enabled = [
    "dep:claude_runner_core",
    "claude_runner_core/enabled",
    "dep:claude_common",
    "claude_common/enabled",
    "dep:claude_version_core",
    "dep:unilang",
    "unilang/enabled",
    "dep:error_tools",
    "error_tools/enabled",
]
full = ["enabled"]

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

[[bin]]
name = "claude_version"
path = "src/main.rs"
required-features = ["enabled"]

[[bin]]
name = "clv"
path = "src/bin/clv.rs"
required-features = ["enabled"]

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

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

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

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

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

[dependencies.claude_common]
version = "~1.0.0"
optional = true
default-features = false

[dependencies.claude_runner_core]
version = "~1.0.0"
optional = true
default-features = false

[dependencies.claude_version_core]
version = "~1.0.0"
optional = true
default-features = false

[dependencies.error_tools]
version = "~0.37"
optional = true
default-features = false

[dependencies.unilang]
version = "~0.48"
features = [
    "enabled",
    "approach_yaml_multi_build",
]
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "~3"

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "warn"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1