ctl-input 0.8.0-rc.2

Declared input for CLIs: parse YAML, JSON or TOML, validate once, and report every problem on its file and line
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 = "ctl-input"
version = "0.8.0-rc.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Declared input for CLIs: parse YAML, JSON or TOML, validate once, and report every problem on its file and line"
readme = "README.md"
keywords = [
    "cli",
    "config",
    "yaml",
    "json",
    "toml",
]
categories = [
    "command-line-interface",
    "config",
]
license = "MIT"
repository = "https://github.com/victor-software-house/ctl-core"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cap-lints",
    "warn",
]

[features]
json = ["dep:serde"]
toml = [
    "dep:serde",
    "dep:toml",
]
validate = ["dep:garde"]
yaml = [
    "dep:serde",
    "dep:serde-saphyr",
]

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

[[test]]
name = "it"
path = "tests/it/main.rs"
required-features = [
    "yaml",
    "json",
    "toml",
]

[dependencies.document-features]
version = "0.2.12"

[dependencies.garde]
version = "=0.23.0"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true

[dependencies.serde-saphyr]
version = "=0.0.6"
features = [
    "deserialize",
    "comments",
]
optional = true
default-features = false
package = "vsh-serde-saphyr"

[dependencies.toml]
version = "1.1.8"
features = [
    "std",
    "parse",
    "serde",
]
optional = true
default-features = false

[dev-dependencies.garde]
version = "=0.23.0"
features = ["derive"]
default-features = false

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.insta]
version = "=1.49.0"
default-features = false

[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.151"

[lints.cargo]
manual_readme = "allow"

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

[lints.cargo.style]
level = "deny"
priority = -1

[lints.cargo.suspicious]
level = "deny"
priority = -1

[lints.clippy]
absolute_paths = "deny"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
as_conversions = "deny"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
disallowed_macros = "deny"
expect_used = "deny"
map_err_ignore = "deny"
match_wildcard_for_single_variants = "deny"
mod_module_files = "deny"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
rc_buffer = "deny"
string_add = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"

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

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

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

[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"

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

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_markdown_table = "deny"
invalid_rust_codeblocks = "deny"
missing_crate_level_docs = "deny"
private_intra_doc_links = "deny"
unescaped_backticks = "deny"