vtcode-terminal-detection 0.106.0

Shared terminal detection primitives for VT Code
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.88"
name = "vtcode-terminal-detection"
version = "0.106.0"
authors = ["Vinh Nguyen <vinhnguyen2308@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared terminal detection primitives for VT Code"
homepage = "https://github.com/vinhnx/vtcode"
documentation = "https://docs.rs/vtcode-terminal-detection"
readme = "README.md"
license = "MIT"
repository = "https://github.com/vinhnx/vtcode"
resolver = "2"

[lib]
name = "vtcode_terminal_detection"
path = "src/lib.rs"
doctest = false

[dependencies.anyhow]
version = "1.0"

[dependencies.dirs]
version = "6.0"

[lints.clippy]
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
assertions_on_result_states = "allow"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_sign_loss = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
indexing_slicing = "allow"
infallible_try_from = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_futures = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "allow"
lossy_float_literal = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "allow"
panic_in_result_fn = "allow"
rc_mutex = "warn"
string_slice = "allow"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unused_result_ok = "allow"
unwrap_in_result = "allow"
unwrap_used = "allow"

[lints.rust]
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
unused_results = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]