# 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 = "one-or-many"
version = "0.4.4"
authors = ["Anthony Rubick <68485672+AnthonyMichaelTDM@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utility container for working with data that can either be null, a single value, or a list of values."
readme = "README.md"
keywords = [
    "music",
    "player",
    "audio",
    "mecomp",
    "analysis",
]
categories = ["multimedia"]
license = "MIT"
repository = "https://github.com/AnthonyMichaelTDM/mecomp"
resolver = "2"

[features]
default = ["serde"]
serde = ["dep:serde"]
surrealdb = [
    "serde",
    "dep:surrealdb",
]

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

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

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

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

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

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

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

[dev-dependencies.surrealqlx]
version = "=0.2.2"

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