# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "jason" version = "0.2.0" authors = ["Felipe Rosa "] description = "JSON-RPC 2.0 client library" documentation = "https://docs.rs/jason" readme = "README.md" keywords = ["json-rpc", "tokio"] license = "MIT" repository = "https://github.com/FelipeRosa/jason-rs" [[example]] name = "requests" required-features = ["http-tls"] [dependencies.anyhow] version = "1" [dependencies.async-stream] version = "0.3" optional = true [dependencies.futures] version = "0.3" features = ["std"] default-features = false [dependencies.hyper] version = "0.14" features = ["tcp", "http1", "client"] optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.log] version = "0.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = ["rt", "sync", "net", "macros", "io-util"] optional = true default-features = false [dependencies.tokio-tungstenite] version = "0.13" features = ["connect"] optional = true default-features = false [dev-dependencies.hyper] version = "0.14" features = ["tcp", "http1", "client", "server"] default-features = false [dev-dependencies.tokio] version = "1" features = ["rt-multi-thread", "macros"] [features] http = ["transport", "hyper"] http-tls = ["http", "hyper-tls"] ipc = ["transport"] transport = ["tokio", "async-stream"] ws = ["transport", "tokio-tungstenite"]