[package]
edition = "2024"
name = "libvctrl_core"
version = "3.0.0"
authors = ["mroczect"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementations of the libvctrl contracts (in-memory store, SHA-512 hasher, binary codec)"
readme = "README.md"
keywords = [
"version-control",
"vcs",
"core",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/mroczect/libvctrl"
resolver = "2"
[lib]
name = "libvctrl_core"
path = "src/lib.rs"
[[test]]
name = "codec_test"
path = "tests/codec_test.rs"
[[test]]
name = "store_test"
path = "tests/store_test.rs"
[dependencies.libvctrl_handler]
version = "5.0.0"
[dependencies.libvctrl_sha512]
version = "3.0.0"
[dev-dependencies.proptest]
version = "1.11.0"
[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