[package]
edition = "2024"
rust-version = "1.85"
name = "grub-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for the grub calorie tracker — models, database, and service layer"
readme = false
license = "MIT"
repository = "https://github.com/grub-tools/grub"
[lib]
name = "grub_core"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.csv]
version = "1"
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[lints.clippy]
cast_possible_truncation = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"