# 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.80" name = "russe" version = "0.0.4" authors = ["Rob Ede "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Server-Sent Events (SSE) decoder" readme = "README.md" keywords = [ "sse", "server", "sent", "events", ] license = "MIT OR Apache-2.0" repository = "https://github.com/robjtede/actix-web-lab" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "russe" path = "src/lib.rs" [[example]] name = "decoder" path = "examples/decoder.rs" [[example]] name = "manager" path = "examples/manager.rs" [dependencies.aho-corasick] version = "1" [dependencies.bytes] version = "1" [dependencies.bytestring] version = "1.4" [dependencies.futures-util] version = "0.3.18" [dependencies.memchr] version = "2" [dependencies.mime] version = "0.3.17" optional = true [dependencies.reqwest-0_12] version = "0.12" features = ["stream"] optional = true package = "reqwest" [dependencies.tokio] version = "1" [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.tracing] version = "0.1.30" [features] awc-3 = [] mime = ["dep:mime"] reqwest-0_12 = ["dep:reqwest-0_12"] [lints.rust] future_incompatible = "warn" missing_debug_implementations = "warn" missing_docs = "warn" [lints.rust.nonstandard_style] level = "deny" priority = 5 [lints.rust.rust_2018_idioms] level = "deny" priority = 10