# 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 = "haproxy-api" version = "0.8.2" authors = ["Aleksandr Orlenko "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ HAProxy 2.8+ Lua API """ documentation = "https://docs.rs/haproxy-api" readme = "README.md" keywords = ["haproxy"] license = "MIT" repository = "https://github.com/khvzak/haproxy-api-rs" [package.metadata.docs.rs] features = ["lua54"] [lib] name = "haproxy_api" path = "src/lib.rs" [dependencies.dashmap] version = "6.0" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.mlua] version = "0.9.9" features = [ "serialize", "module", ] [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.rustc-hash] version = "2.0" optional = true [dependencies.tokio] version = "1.0" features = [ "net", "io-util", "sync", "rt-multi-thread", ] optional = true [features] async = [ "mlua/async", "dep:tokio", "dep:pin-project-lite", "dep:futures-util", "dep:rustc-hash", "dep:dashmap", ] default = [ "async", "lua54", ] lua53 = ["mlua/lua53"] lua54 = ["mlua/lua54"]