# 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 = "obscuravpn-api" version = "0.0.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "API client for Obscura VPN." homepage = "https://github.com/Sovereign-Engineering/obscuravpn-api" readme = "README.md" license = "PolyForm-Noncommercial-1.0.0" repository = "https://github.com/Sovereign-Engineering/obscuravpn-api" [lib] name = "obscuravpn_api" path = "src/lib.rs" [[example]] name = "api_cli" path = "examples/api_cli.rs" [[example]] name = "gen_id" path = "examples/gen_id.rs" [dependencies.anyhow] version = "1" [dependencies.base64] version = "0.21" [dependencies.http] version = "1" [dependencies.ipnetwork] version = "0.16" [dependencies.itertools] version = "0.12.0" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls-webpki-roots", ] optional = true default-features = false [dependencies.semver] version = "1.0" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["net"] default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2" [dependencies.uuid] version = "1.11.0" features = [ "v4", "serde", ] [dev-dependencies.clap] version = "4.4.11" features = ["derive"] [dev-dependencies.env_logger] version = "0.10.1" [dev-dependencies.qrcode] version = "0.14.1" [dev-dependencies.rand] version = "0.8" features = ["getrandom"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.verhoeff] version = "1.0.0" [dev-dependencies.x25519-dalek] version = "2" features = ["static_secrets"] [features] client = ["reqwest"] default = ["client"]