# 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 = "apisix-admin-rs" version = "0.0.3" authors = ["Michallis Pashidis "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Apisix Admin Client" homepage = "https://apisix.apache.org/" readme = "README.MD" keywords = [ "apisix", "gateway", "api", "microservice", ] categories = ["api-bindings"] license = "Apache-2.0" repository = "https://github.com/Trust1Team/apisix-admin-rs" [profile.dev] opt-level = 1 split-debuginfo = "packed" strip = false [profile.release] opt-level = "s" lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "apisix_admin_client" crate-type = ["lib"] path = "src/lib.rs" test = true doc = true edition = "2021" [[example]] name = "apisix-admin" path = "examples/apisix_admin.rs" [[example]] name = "apisix-ctrl" path = "examples/apisix_ctrl.rs" [[example]] name = "apisix-plugins" path = "examples/apisix_plugins.rs" [dependencies.anyhow] version = "1.0.81" [dependencies.rand] version = "0.9.0-alpha.2" [dependencies.reqwest] version = "0.12.4" features = [ "json", "rustls-tls", ] [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.serde_with] version = "3.8.0" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.59" [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.validator] version = "0.18.1" features = ["derive"] [dev-dependencies.serial_test] version = "3.1.0" features = ["async"] [dev-dependencies.serial_test_derive] version = "3.1.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "fmt", "json", ] [dev-dependencies.tracing-test] version = "0.2.4"