[package]
edition = "2021"
name = "consul-api"
version = "0.0.6-pre"
authors = ["PeiYu Cui <i@cuipeiyu.com>"]
build = false
include = [
"/Cargo.toml",
"/src",
"/README.md",
"/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "consul api for rust"
homepage = "https://github.com/cuipeiyu/consul-api"
documentation = "https://docs.rs/consul-api"
readme = "README.md"
keywords = [
"consul",
"HashiCorp",
"client",
"library",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cuipeiyu/consul-api"
[features]
default = ["v1"]
enterprise = []
full = [
"v1",
"enterprise",
]
v1 = ["v1_22_x"]
v1_20_x = []
v1_22_x = []
[lib]
name = "consul_api"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"