# 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 = "reconnecting-websocket" version = "0.3.2" authors = ["daniel_ "] description = "A wrapper around gloo::net::websocket::futures::WebSocket that reconnects when the socket drops. Uses exponential-backoff::Backoff to determine the delay between reconnects" homepage = "https://github.com/cs2dsb/reconnecting-websocket.rs" documentation = "https://docs.rs/reconnecting-websocket" readme = "README.md" keywords = [ "websocket", "wasm", ] categories = [ "asynchronous", "network-programming", "wasm", "web-programming::websocket", ] license = "MIT" repository = "https://github.com/cs2dsb/reconnecting-websocket.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.exponential-backoff] version = "1.2.0" [dependencies.futures] version = "0.3.30" [dependencies.getrandom] version = "0.2.15" features = ["js"] [dependencies.gloo] version = "0.11.0" features = [ "net", "timers", "utils", "futures", ] default-features = false [dependencies.thiserror] version = "1.0.61" [dependencies.tracing] version = "0.1.40" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.42" [dependencies.web-sys] version = "0.3.69" features = ["Window"] [dev-dependencies.merge-streams] version = "0.1.2" [dev-dependencies.time] version = "0.3.36" features = ["wasm-bindgen"] [dev-dependencies.tracing] version = "0.1.40" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["time"] [dev-dependencies.tracing-web] version = "0.1.3" [features] default = [ "tracing", "state-events", ] state-events = [] tracing = ["dep:tracing"] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.42" [badges.github] repository = "cs2dsb/reconnecting-websocket.rs" [badges.maintenance] status = "experimental"