# 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_session" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox Session Handling package" readme = "README.md" keywords = [ "session", "state", ] categories = ["development-tools"] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [lib] name = "moosicbox_session" path = "src/lib.rs" [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.async-trait] version = "0.1.83" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_assert] version = "0.1.0" default-features = false [dependencies.moosicbox_audio_zone] version = "0.1.0" default-features = false [dependencies.moosicbox_core] version = "0.1.0" default-features = false [dependencies.moosicbox_database] version = "0.1.0" default-features = false [dependencies.moosicbox_json_utils] version = "0.1.0" default-features = false [dependencies.moosicbox_library] version = "0.1.0" default-features = false [dependencies.moosicbox_paging] version = "0.1.0" optional = true [dependencies.moosicbox_task] version = "0.1.0" optional = true default-features = false [dependencies.serde] version = "1" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1.0.128" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.tokio] version = "1.40.0" optional = true [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [features] aac = ["moosicbox_library/aac"] api = [ "dep:actix-web", "dep:moosicbox_paging", "moosicbox_database/api", ] default = [ "aac", "api", "events", "flac", "mp3", "openapi", "opus", ] events = [ "dep:moosicbox_task", "dep:tokio", ] fail-on-warnings = [] flac = ["moosicbox_library/flac"] mp3 = ["moosicbox_library/mp3"] openapi = [ "dep:utoipa", "moosicbox_audio_zone/openapi", "moosicbox_core/openapi", "moosicbox_library/openapi", "moosicbox_paging/openapi", ] opus = ["moosicbox_library/opus"]