mecomp-storage 0.7.1

This library is responsible for storing and retrieving data about a user's music library to and from an embedded surrealdb database.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mecomp-storage"
version = "0.7.1"
authors = ["Anthony Rubick <68485672+AnthonyMichaelTDM@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This library is responsible for storing and retrieving data about a user's music library to and from an embedded surrealdb database."
readme = "README.md"
keywords = [
    "music",
    "player",
    "audio",
    "mecomp",
    "analysis",
]
categories = ["multimedia"]
license = "MIT"
repository = "https://github.com/AnthonyMichaelTDM/mecomp"
resolver = "2"

[features]
analysis = ["dep:mecomp-analysis"]
db = [
    "serde",
    "one-or-many/surrealdb",
    "dep:surrealdb",
    "dep:surrealqlx",
    "dep:tempfile",
]
default = [
    "db",
    "analysis",
]
serde = [
    "one-or-many/serde",
    "dep:serde",
]
test_utils = [
    "dep:tempfile",
    "dep:anyhow",
]

[lib]
name = "mecomp_storage"
path = "src/lib.rs"
bench = false

[[bench]]
name = "song"
path = "benches/song.rs"
harness = false

[dependencies.anyhow]
version = "1.0.100"
optional = true

[dependencies.lofty]
version = "0.22.4"

[dependencies.log]
version = "0.4.29"

[dependencies.mecomp-analysis]
version = "=0.7.1"
optional = true

[dependencies.once_cell]
version = "1.21.3"

[dependencies.one-or-many]
version = "=0.4.4"
default-features = false

[dependencies.pom]
version = "3.4.0"
default-features = false

[dependencies.rand]
version = "0.8.5"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.surrealdb]
version = "=2.4.1"
features = [
    "kv-mem",
    "kv-surrealkv",
]
optional = true
default-features = false

[dependencies.surrealqlx]
version = "=0.2.2"
optional = true

[dependencies.tempfile]
version = "3.24.0"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.ulid]
version = "1.2.1"

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "async_tokio",
    "html_reports",
]

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.rstest_reuse]
version = "0.7.0"

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.surrealdb]
version = "=2.4.1"
default-features = false

[dev-dependencies.tempfile]
version = "3.24.0"

[dev-dependencies.tokio]
version = "1.49.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]