# 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 = "proton-api-rs" version = "0.14.0" authors = ["Leander Beernaert "] description = "Unofficial implemention of proton REST API in rust" homepage = "https://github.com/LeanderBB/proton-api-rs/" readme = "README.md" keywords = [ "proton", "rest", "api", ] categories = ["api-bindings"] license = "AGPL-3.0-only" repository = "https://github.com/LeanderBB/proton-api-rs/" [[example]] name = "user_id" required-features = ["http-reqwest"] [[example]] name = "user_id_sync" required-features = ["http-ureq"] [[test]] name = "session" required-features = [ "http-ureq", "http-reqwest", ] [dependencies.anyhow] version = "1.0" [dependencies.base64] version = "0.21" [dependencies.bytes] version = "1.4" [dependencies.go-srp] version = "0.1.6" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.12" [dependencies.reqwest] version = "0.11" features = [ "json", "deflate", "stream", "cookies", "multipart", "rustls", "rustls-tls", "socks", ] optional = true default-features = false [dependencies.secrecy] version = "0.8" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_repr] version = "0.1" [dependencies.thiserror] version = "1" [dependencies.ureq] version = "2.6" features = [ "socks-proxy", "socks", ] optional = true [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.tokio] version = "1" features = ["full"] [features] async-traits = [] default = [] http-reqwest = ["dep:reqwest"] http-ureq = ["dep:ureq"]