[package]
edition = "2021"
rust-version = "1.94"
name = "osproxy-core"
version = "1.0.0"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data model, identifier newtypes, and error taxonomy for osproxy. No I/O."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"
[lib]
name = "osproxy_core"
path = "src/lib.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[bench]]
name = "core_bench"
path = "benches/core_bench.rs"
harness = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.iai-callgrind]
version = "=0.16.1"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cognitive_complexity = "warn"
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
todo = "deny"
too_many_arguments = "warn"
too_many_lines = "warn"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"