# 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 = "moosicbox_schema"
version = "0.2.0"
authors = ["Braden Steffaniak"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MoosicBox schema package"
readme = "README.md"
keywords = [
    "database",
    "schema",
    "sqlite",
]
categories = ["database"]
license = "MPL-2.0"
repository = "https://github.com/MoosicBox/MoosicBox"

[package.metadata]
examples = false

[package.metadata.cargo-machete]
ignored = [
    "switchy_schema_test_utils",
    "tokio",
]

[features]
default = [
    "postgres",
    "sqlite",
]
fail-on-warnings = [
    "moosicbox_assert/fail-on-warnings",
    "switchy_database/fail-on-warnings",
    "switchy_env/fail-on-warnings",
    "switchy_schema/fail-on-warnings",
]
postgres = ["switchy_database/postgres"]
sqlite = ["switchy_database/sqlite"]

[lib]
name = "moosicbox_schema"
path = "src/lib.rs"

[dependencies.include_dir]
version = "0.7.4"

[dependencies.log]
version = "0.4.29"
features = ["release_max_level_trace"]

[dependencies.moosicbox_assert]
version = "0.2.0"
default-features = false

[dependencies.switchy_database]
version = "0.2.0"
features = ["schema"]
default-features = false

[dependencies.switchy_env]
version = "0.2.0"
features = [
    "simulator",
    "std",
]
default-features = false

[dependencies.switchy_schema]
version = "0.2.0"
features = ["code"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"
