# 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 = "moosicbox_config" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox configuration package" readme = "README.md" keywords = [ "config", "configuration", ] categories = ["config"] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [lib] name = "moosicbox_config" path = "src/lib.rs" [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.home] version = "0.5.9" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_assert] version = "0.1.0" default-features = false [dependencies.moosicbox_database] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_json_utils] version = "0.1.0" features = ["database"] optional = true default-features = false [dependencies.moosicbox_profiles] version = "0.1.0" features = ["events"] default-features = false [dependencies.nanoid] version = "0.4.0" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [features] api = [ "db", "dep:actix-web", "dep:serde", "moosicbox_database?/api", ] db = [ "dep:moosicbox_database", "dep:moosicbox_json_utils", "dep:nanoid", ] default = [ "api", "db", "openapi", ] fail-on-warnings = [] openapi = ["dep:utoipa"] test = ["dep:rand"]