[package]
edition = "2024"
name = "libvctrl_handler"
version = "5.0.0"
authors = ["mroczect"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fundamental contracts for building a version control system – no implementations, only traits and types"
homepage = "https://github.com/mroczect/libvctrl"
documentation = "https://docs.rs/libvctrl"
readme = "README.md"
keywords = [
"version-control",
"vcs",
"library",
"traits",
]
categories = [
"development-tools",
"data-structures",
]
license = "MIT"
repository = "https://github.com/mroczect/libvctrl"
resolver = "2"
[lib]
name = "libvctrl_handler"
path = "src/lib.rs"
[[test]]
name = "hash_validation"
path = "tests/hash_validation.rs"
[[test]]
name = "type_validation"
path = "tests/type_validation.rs"
[lints.clippy]
alloc_instead_of_core = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
expect_used = "warn"
indexing_slicing = "warn"
map_err_ignore = "warn"
match_same_arms = "allow"
needless_return = "allow"
panic = "warn"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
todo = "warn"
unimplemented = "warn"
uninlined_format_args = "allow"
unreachable = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "allow"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
dead_code = "warn"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "forbid"
missing_docs = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_bounds = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_crate_dependencies = "warn"
unused_imports = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_variables = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1