test_tools 0.17.0

Tools for writing and running tests.
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"
name = "test_tools"
version = "0.17.0"
authors = [
    "Kostiantyn Mysnyk <wandalen@obox.systems>",
    "Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Tools for writing and running tests.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/experimental/test_tools"
documentation = "https://docs.rs/test_tools"
readme = "readme.md"
keywords = [
    "fundamental",
    "general-purpose",
    "testing",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/experimental/test_tools"

[package.metadata.docs.rs]
features = [
    "normal_build",
    "enabled",
]
all-features = false
no-default-features = false

[features]
collection_constructors = []
collection_into_constructors = []
default = ["enabled"]
diagnostics_compiletime_assertions = []
diagnostics_memory_layout = []
diagnostics_runtime_assertions = ["dep:pretty_assertions"]
doctest = []
enabled = []
error_typed = []
error_untyped = []
full = ["enabled"]
integration = []
no_std = []
normal_build = [
    "collection_constructors",
    "collection_into_constructors",
]
process_environment_is_cicd = []
process_tools = []
standalone_build = [
    "standalone_error_tools",
    "standalone_collection_tools",
    "standalone_mem_tools",
    "standalone_typing_tools",
    "standalone_diagnostics_tools",
    "process_tools",
    "process_environment_is_cicd",
]
standalone_collection_tools = [
    "dep:hashbrown",
    "collection_constructors",
    "collection_into_constructors",
]
standalone_diagnostics_tools = [
    "diagnostics_runtime_assertions",
    "diagnostics_compiletime_assertions",
    "diagnostics_memory_layout",
]
standalone_error_tools = [
    "dep:anyhow",
    "dep:thiserror",
    "error_typed",
    "error_untyped",
]
standalone_impls_index = []
standalone_mem_tools = []
standalone_typing_tools = [
    "typing_implements",
    "typing_inspect_type",
]
typing_implements = ["implements/enabled"]
typing_inspect_type = ["inspect_type/enabled"]
use_alloc = ["no_std"]

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

[[example]]
name = "test_tools_trivial"
path = "examples/test_tools_trivial.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "~1.0"
optional = true

[dependencies.hashbrown]
version = "~0.14.3"
optional = true
default-features = false

[dependencies.implements]
version = "~0.14.0"
optional = true
default-features = false

[dependencies.inspect_type]
version = "~0.17.0"
optional = true
default-features = false

[dependencies.num-traits]
version = "~0.2"

[dependencies.pretty_assertions]
version = "~1.4.0"
optional = true

[dependencies.rand]
version = "0.8.5"

[dependencies.rustversion]
version = "~1.0"

[dependencies.thiserror]
version = "~1.0"
optional = true

[dependencies.trybuild]
version = "1.0.85"
features = ["diff"]

[dev-dependencies]

[build-dependencies.rustc_version]
version = "0.4"

[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"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
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"
struct_excessive_bools = "allow"
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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']