# 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_stream_utils" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox stream utils package" readme = "README.md" keywords = [ "bytes", "stream", "util", "utility", ] categories = [ "development-tools", "network-programming", ] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [lib] name = "moosicbox_stream_utils" path = "src/lib.rs" [dependencies.bytes] version = "1.7.2" [dependencies.flume] version = "0.11.0" optional = true [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_task] version = "0.1.0" optional = true default-features = false [dependencies.pin-project] version = "1.1.5" [dependencies.reqwest] version = "0.12.8" features = [ "blocking", "rustls-tls", "stream", ] optional = true default-features = false [dependencies.thiserror] version = "1.0.64" optional = true [dependencies.tokio] version = "1.40.0" features = ["sync"] [dependencies.tokio-util] version = "0.7.12" optional = true [features] default = [ "remote-bytestream", "stalled-monitor", ] fail-on-warnings = [] remote-bytestream = [ "dep:flume", "dep:moosicbox_task", "dep:reqwest", "dep:tokio-util", "tokio/macros", "tokio/sync", "tokio/time", ] stalled-monitor = [ "dep:thiserror", "tokio/sync", "tokio/time", ]