[package]
edition = "2024"
rust-version = "1.95"
name = "musefs-db"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite store and schema for musefs (tracks, tags, content-addressed art)."
readme = false
license = "MIT"
repository = "https://github.com/Sohex/musefs"
[features]
fuzzing = []
mutants = []
[lib]
name = "musefs_db"
path = "src/lib.rs"
[[test]]
name = "art"
path = "tests/art.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "tags"
path = "tests/tags.rs"
[[test]]
name = "tracks"
path = "tests/tracks.rs"
[[test]]
name = "triggers"
path = "tests/triggers.rs"
[dependencies.base16ct]
version = "1.0"
[dependencies.log]
version = "0.4"
[dependencies.rusqlite]
version = "0.40"
features = [
"bundled",
"blob",
"fallible_uint",
]
[dependencies.sha2]
version = "0.11"
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
doc_markdown = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"