[package]
edition = "2024"
rust-version = "1.95"
name = "monitrs-core"
version = "1.0.1"
authors = ["monitrs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-neutral data model, rate engine, history ring, and diagnostics for monitrs"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/gaborini/monitrs"
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "monitrs_core"
path = "src/lib.rs"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.19"
[dependencies.unicode-width]
version = "0.2.2"
[dev-dependencies.proptest]
version = "1.11.0"
[lints.clippy]
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
expect_used = "warn"
float_cmp = "warn"
undocumented_unsafe_blocks = "deny"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"
unused_qualifications = "warn"