[package] name = "cloud-node-discovery" version = "0.2.0" edition = "2021" license = "MIT" authors = ["Ville Vesilehto "] description = "Cloud node discovery library" repository = "https://github.com/thevilledev/cloud-node-discovery-rs" documentation = "https://docs.rs/cloud-node-discovery" categories = ["api-bindings", "network-programming"] [dependencies] async-trait = "0.1" thiserror = "1.0" serde = { version = "1.0", features = ["derive"] } tokio = { version = "1.0", features = ["full"] } # Provider-specific dependencies aws-config = { version = "1.0", features = ["behavior-version-latest"], optional = true } aws-sdk-ec2 = { version = "1.0", optional = true } upcloud-sdk = { version = "0.1.0", optional = true } [features] default = ["all"] aws = ["aws-config", "aws-sdk-ec2"] upcloud = ["upcloud-sdk"] all = ["aws", "upcloud"]