# 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 = "s2rs" version = "0.7.15" description = "An intuitive Rust -> Scratch API library" readme = "README.md" license = "MIT" repository = "https://github.com/userfriendanonymous/s2rs/" resolver = "1" [dependencies.async-trait] version = "0.1.68" [dependencies.basic-cookies] version = "0.1.4" optional = true [dependencies.chrono] version = "0.4.24" optional = true [dependencies.derivative] version = "2.2.0" [dependencies.feed-rs] version = "1.3.0" optional = true [dependencies.futures-util] version = "0.3.28" [dependencies.html_parser] version = "0.6.3" optional = true [dependencies.reqwest] version = "0.11.16" features = ["json"] [dependencies.s2rs-derive] version = "0.1.2" [dependencies.serde] version = "1.0.159" features = ["derive"] [dependencies.serde_json] version = "1.0.95" [dependencies.tokio] version = "1.27.0" [dependencies.tokio-tungstenite] version = "0.18.0" optional = true [dependencies.url] version = "2.3.1" [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.tokio] version = "1.27.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tokio-test] version = "0.4.2" [features] cookie = ["dep:basic-cookies"] file = ["reqwest/multipart"] full = [ "rss", "html", "web_socket", "stream", "cookie", "file", ] html = ["dep:html_parser"] rss = [ "time", "dep:feed-rs", ] stream = [] time = ["dep:chrono"] web_socket = ["dep:tokio-tungstenite"]