# 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_files" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox files package" readme = "README.md" keywords = [ "audio", "file", "track", ] categories = ["multimedia"] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [lib] name = "moosicbox_files" path = "src/lib.rs" [dependencies.actix-files] version = "0.6.6" optional = true [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.atomic_float] version = "1.1.0" [dependencies.bytes] version = "1.7.2" [dependencies.flume] version = "0.11.0" optional = true [dependencies.futures] version = "0.3" [dependencies.futures-core] version = "0.3.30" [dependencies.lazy_static] version = "1.5.0" optional = true [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_assert] version = "0.1.0" default-features = false [dependencies.moosicbox_async_service] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_audio_decoder] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_audio_output] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_audiotags] version = "0.1.0" [dependencies.moosicbox_config] version = "0.1.0" default-features = false [dependencies.moosicbox_core] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_database] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_image] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_music_api] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_stream_utils] version = "0.1.0" default-features = false [dependencies.moosicbox_task] version = "0.1.0" optional = true default-features = false [dependencies.regex] version = "1.11.0" [dependencies.reqwest] version = "0.12.8" features = [ "blocking", "rustls-tls", "stream", ] default-features = false [dependencies.serde] version = "1" features = [ "derive", "derive", ] [dependencies.strum] version = "0.26.3" optional = true [dependencies.strum_macros] version = "0.26.4" optional = true [dependencies.symphonia] version = "0.5.4" features = ["all"] optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" [dependencies.tokio-stream] version = "0.1.16" optional = true [dependencies.tokio-util] version = "0.7.12" optional = true [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [features] aac = [ "moosicbox_audio_output?/aac", "moosicbox_core?/aac", ] api = [ "dep:actix-files", "dep:actix-web", "dep:moosicbox_async_service", "dep:moosicbox_audio_decoder", "dep:moosicbox_task", "files", "moosicbox_database/api", "moosicbox_music_api/api", "range", ] default = [ "aac", "api", "files", "flac", "image", "mp3", "openapi", "opus", "range", ] fail-on-warnings = [] files = [ "dep:flume", "dep:lazy_static", "dep:moosicbox_async_service", "dep:moosicbox_audio_decoder", "dep:moosicbox_audio_output", "dep:moosicbox_core", "dep:moosicbox_database", "dep:moosicbox_music_api", "dep:moosicbox_task", "dep:strum", "dep:strum_macros", "dep:symphonia", "dep:tokio-stream", "dep:tokio-util", ] flac = [ "moosicbox_audio_output?/flac", "moosicbox_core?/flac", ] image = ["moosicbox_image/image"] libvips = ["moosicbox_image/libvips"] mp3 = [ "moosicbox_audio_output?/mp3", "moosicbox_core?/mp3", ] openapi = [ "dep:utoipa", "moosicbox_core?/openapi", "moosicbox_music_api?/openapi", ] opus = [ "moosicbox_audio_output?/opus", "moosicbox_core?/opus", ] range = ["dep:moosicbox_audio_output"] track-range = ["dep:moosicbox_audio_output"]