# 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 = "mlua-socket" version = "0.2.2" authors = ["David Rauschenbach "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust-native implementation of LuaSocket for mlua." homepage = "https://on-prem.net" readme = "README.md" keywords = [ "lua", "networking", ] categories = [ "api-bindings", "network-programming", ] license = "MIT" repository = "https://gitlab.com/megalithic-llc/mlua-socket.git" [lib] name = "mlua_socket" path = "src/lib.rs" [[bench]] name = "tcp_receive_benchmark" path = "benches/tcp_receive_benchmark.rs" harness = false [dependencies.base64] version = "0.22.1" [dependencies.dns-lookup] version = "2.0.4" [dependencies.hostname] version = "0.4.0" [dependencies.mlua] version = "0.10.0" [dependencies.reqwest] version = "0.12.8" features = [ "blocking", "http2", "rustls-tls", ] default-features = false [dependencies.socket2] version = "0.5.7" [dev-dependencies.bstr] version = "1.10.0" [dev-dependencies.criterion] version = "0.5.1" features = ["cargo_bench_support"] default-features = false [dev-dependencies.httptest] version = "0.16.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.41.0" features = ["full"] [dev-dependencies.tokio-test] version = "0.4.4" [features] lua51 = [ "mlua/lua51", "mlua/vendored", ] lua52 = [ "mlua/lua52", "mlua/vendored", ] lua53 = [ "mlua/lua53", "mlua/vendored", ] lua54 = [ "mlua/lua54", "mlua/vendored", ] luajit = [ "mlua/luajit", "mlua/vendored", ] luajit52 = [ "mlua/luajit52", "mlua/vendored", ]