[package] name = "apisix-admin-rs" version = "0.0.3" description = "Apisix Admin Client" homepage = "https://apisix.apache.org/" authors = ["Michallis Pashidis "] license = "Apache-2.0" repository = "https://github.com/Trust1Team/apisix-admin-rs" edition = "2021" keywords = ["apisix", "gateway", "api", "microservice"] categories = ["api-bindings"] readme = "README.MD" [lib] name = "apisix_admin_client" path = "src/lib.rs" test = true doc = true edition = "2021" crate-type = ["lib"] [[example]] name = "apisix-admin" path = "examples/apisix_admin.rs" [[example]] name = "apisix-plugins" path = "examples/apisix_plugins.rs" [[example]] name = "apisix-ctrl" path = "examples/apisix_ctrl.rs" [dependencies] anyhow = "1.0.81" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" tokio = { version = "1.36.0", features = ["full"] } tracing = "0.1.40" #ring = "0.17.8" reqwest = { version = "0.12.4", features = [ "json", "rustls-tls", ] } thiserror = "1.0.59" serde_with = "3.8.0" validator = { version = "0.18.1", features = ["derive"] } rand = "0.9.0-alpha.2" strum_macros = "0.26.4" strum = "0.26.3" [dev-dependencies] serial_test = { version = "3.1.0", features = ["async"] } serial_test_derive = "3.1.0" tracing-test = "0.2.4" tracing-subscriber = { version = "0.3.18", features = [ "env-filter", "fmt", "json", ] } [profile.dev] opt-level = 1 # Use slightly better optimizations. strip = false # Automatically strip symbols from the binary. split-debuginfo = "packed" # this feature on the dev profile is necessary to make sure we can use GDB for debugging --> will make sure it can load all symbols [profile.release] opt-level = "s" strip = true codegen-units = 1 # Compile crates one after another so the compiler can optimize better lto = true # Enables link to optimizations panic = 'abort'