# 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 = "2021" name = "mecomp-storage" version = "0.1.1" authors = ["Anthony Rubick <68485672+AnthonyMichaelTDM@users.noreply.github.com>"] build = 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", ] categories = ["multimedia"] license = "MIT" repository = "https://github.com/AnthonyMichaelTDM/mecomp" [lib] name = "mecomp_storage" path = "src/lib.rs" [[bench]] name = "song" path = "benches/song.rs" harness = false [dependencies.anyhow] version = "1.0" optional = true default-features = false [dependencies.futures] version = "0.3.30" features = ["alloc"] optional = true default-features = false [dependencies.lofty] version = "0.21.1" [dependencies.log] version = "0.4.21" features = ["serde"] [dependencies.mecomp-analysis] version = "0.1.1" optional = true [dependencies.once_cell] version = "1.19" [dependencies.one-or-many] version = "0.1.0" [dependencies.rand] version = "0.8.5" features = ["small_rng"] [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] optional = true [dependencies.surrealdb] version = "2.0" features = [ "kv-mem", "kv-surrealkv", ] optional = true default-features = false [dependencies.surrealqlx] version = "0.1.0" features = ["macros"] optional = true [dependencies.tempfile] version = "3.10" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1.40" [dependencies.ulid] version = "1.1" [dev-dependencies.anyhow] version = "1.0" default-features = false [dev-dependencies.criterion] version = "0.5.1" features = [ "html_reports", "async_tokio", ] [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.surrealdb] version = "2.0" features = [ "kv-mem", "kv-surrealkv", ] default-features = false [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.tokio] version = "1.40" features = [ "macros", "rt-multi-thread", "sync", "time", ] [features] analysis = [ "dep:futures", "dep:mecomp-analysis", ] db = [ "serde", "one-or-many/surrealdb", "dep:surrealdb", "dep:surrealqlx", "dep:tempfile", ] default = [ "db", "analysis", "test_utils", ] serde = [ "one-or-many/serde", "dep:serde", ] test_utils = [ "dep:tempfile", "dep:anyhow", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tarpaulin_include)"]