# 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 = "cloud-node-discovery" version = "0.2.0" authors = ["Ville Vesilehto "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cloud node discovery library" documentation = "https://docs.rs/cloud-node-discovery" readme = "README.md" categories = [ "api-bindings", "network-programming", ] license = "MIT" repository = "https://github.com/thevilledev/cloud-node-discovery-rs" [lib] name = "cloud_node_discovery" path = "src/lib.rs" [[example]] name = "aws" path = "examples/aws.rs" [[example]] name = "upcloud" path = "examples/upcloud.rs" [dependencies.async-trait] version = "0.1" [dependencies.aws-config] version = "1.0" features = ["behavior-version-latest"] optional = true [dependencies.aws-sdk-ec2] version = "1.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.0" features = ["full"] [dependencies.upcloud-sdk] version = "0.1.0" optional = true [features] all = [ "aws", "upcloud", ] aws = [ "aws-config", "aws-sdk-ec2", ] default = ["all"] upcloud = ["upcloud-sdk"]