# 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" rust-version = "1.71.0" name = "icy-metadata" version = "0.2.0" authors = ["Austin Schey "] build = false include = [ "/src", "/examples", "/tests", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library for parsing Icecast metadata" readme = "README.md" keywords = [ "audio", "stream", "media", "icecast", "icy", ] categories = [ "multimedia", "parsing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/aschey/icy-metadata" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "icy_metadata" path = "src/lib.rs" [[example]] name = "retry_on_failure" path = "examples/retry_on_failure.rs" [[example]] name = "seek" path = "examples/seek.rs" doc-scrape-examples = true required-features = ["reqwest"] [[example]] name = "stream" path = "examples/stream.rs" doc-scrape-examples = true required-features = ["reqwest"] [[test]] name = "test" path = "tests/test.rs" [dependencies.http] version = "1" [dependencies.reqwest] version = "0.12" optional = true default-features = false [dependencies.serde] version = "1.0.134" features = ["derive"] optional = true [dependencies.tracing] version = "0.1.36" [dependencies.urlencoding] version = "2" [dev-dependencies.rodio] version = "0.20.1" features = ["symphonia-all"] default-features = false [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.stream-download] version = "0.13.0" features = ["reqwest-rustls"] [dev-dependencies.tokio] version = "1.38.0" features = [ "rt-multi-thread", "macros", ] [features] default = ["reqwest"] reqwest = ["dep:reqwest"] serde = ["dep:serde"]