# 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 = "eos-eapi" version = "0.2.0" description = "Arista EOS eAPI client library" readme = "README.md" categories = ["api-bindings"] license = "BSD-3-Clause" repository = "https://github.com/aristanetworks/eos-eapi-rust" [[example]] name = "async_cli" required-features = ["async"] [dependencies.async-trait] version = "0.1.58" optional = true [dependencies.base64] version = "0.13" [dependencies.hyper] version = "0.14" features = [ "client", "http1", ] optional = true [dependencies.hyper-rustls] version = "0.23" optional = true [dependencies.nix] version = "0.24" features = [ "socket", "uio", "user", ] [dependencies.rustls] version = "0.20" features = ["dangerous_configuration"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.20" features = [ "io-util", "net", "rt", ] optional = true [dependencies.ureq] version = "2.5" optional = true [dev-dependencies.clap] version = "4.0" features = ["derive"] [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.hyper] version = "0.14" features = [ "server", "http1", "tcp", ] [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1.20" features = [ "macros", "rt-multi-thread", "sync", ] [features] async = [ "dep:tokio", "dep:async-trait", "dep:hyper", "dep:hyper-rustls", ] blocking = ["dep:ureq"] default = ["blocking"]