# 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 = "fugle" version = "0.3.8" authors = ["tommady "] description = "A Simple, Lightweight, Fast and Safe Fugle Library" homepage = "https://github.com/tommady/fugle-rs" readme = "README.md" keywords = [ "fugle", "stock", ] categories = [ "web-programming::http-client", "web-programming::websocket", ] license = "MIT" repository = "https://github.com/tommady/fugle-rs" [package.metadata.docs.rs] features = [ "websocket", "async-websocket", "query", "async-query", ] [dependencies.futures-util] version = "0.3" optional = true default-features = false [dependencies.log] version = "0.4" optional = true [dependencies.reqwest] version = "0.11" features = [ "json", "rustls-tls-webpki-roots", ] optional = true default-features = false [dependencies.rust_decimal] version = "1.26" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.time] version = "0.3" features = [ "serde", "parsing", ] [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "sync", ] optional = true [dependencies.tokio-tungstenite] version = "0.17" features = ["rustls-tls-webpki-roots"] optional = true [dependencies.tungstenite] version = "0.17" features = ["rustls-tls-webpki-roots"] optional = true default-features = false [dependencies.ureq] version = "2.4" features = ["json"] optional = true [dev-dependencies.serial_test] version = "0.9" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "time", "sync", ] [features] async-query = ["reqwest"] async-websocket = [ "tungstenite", "tokio-tungstenite", "log", "tokio", "futures-util", "serde_json", ] default = ["query"] query = ["ureq"] websocket = [ "tungstenite", "log", "serde_json", ]