# 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.82"
name = "rtb-test-support"
version = "0.6.0"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Tool Base — test-only helpers for constructing App contexts without the full rtb-cli wiring."
homepage = "https://rtb.phpboyscout.uk"
documentation = "https://rtb.phpboyscout.uk"
readme = "README.md"
keywords = [
    "cli",
    "framework",
    "scaffolding",
    "ai",
    "mcp",
]
categories = [
    "command-line-interface",
    "development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust-tool-base"

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

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

[dependencies.rtb-app]
version = "0.6.0"

[dependencies.rtb-assets]
version = "0.6.0"

[dependencies.rtb-config]
version = "0.6.0"

[dependencies.schemars]
version = "1"

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"

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

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
