mlua-socket 0.2.7

A Rust-native implementation of LuaSocket for mlua.
# 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 = "2024"
name = "mlua-socket"
version = "0.2.7"
authors = ["David Rauschenbach <david@megalithic.llc>"]
build = false
autolib = 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"

[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",
]

[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.21.0"

[dependencies.dns-lookup]
version = ">=2.1"

[dependencies.hostname]
version = "0.4"

[dependencies.mlua]
version = ">=0.7.0"

[dependencies.reqwest]
version = ">=0.12"
features = [
    "blocking",
    "http2",
    "rustls-tls",
]
default-features = false

[dependencies.socket2]
version = "0.6.0"

[dev-dependencies.bstr]
version = "1.12"

[dev-dependencies.criterion]
version = "0.7"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.httptest]
version = "0.16"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.tokio]
version = "1.47"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"