# SPDX-FileCopyrightText: slowtec GmbH # SPDX-License-Identifier: MPL-2.0 [package] name = "semval" description = "Semantic validation" keywords = ["semantic", "validation"] version = "0.5.2" license = "MPL-2.0" readme = "README.md" authors = ["slowtec GmbH ", "Uwe Klotz "] repository = "https://github.com/slowtec/semval" categories = ["no-std", "rust-patterns"] edition = "2021" include = ["CHANGELOG.md", "README.md", "LICENSES/", "src/"] [dependencies] smallvec = { version = "1.13.1", features = ["union"] } [features] default = ["std"] std = [] [lints.rust] future_incompatible = "warn" let_underscore = "warn" missing_debug_implementations = "warn" rust_2018_idioms = "warn" rust_2021_compatibility = "warn" unreachable_pub = "warn" unsafe_code = "warn" unused = "warn" [lints.clippy] pedantic = "warn" clone_on_ref_ptr = "warn" missing_const_for_fn = "warn" self_named_module_files = "warn" # Repetitions of module/type names occur frequently when using many # modules for keeping the size of the source files handy. Often # types have the same name as their parent module. module_name_repetitions = "allow" # Repeating the type name in `Default::default()` expressions # is not needed as long as the context is obvious. default_trait_access = "allow" # The error types returned should be self-explanatory. missing_errors_doc = "allow"