# 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" rust-version = "1.79.0" name = "mlua-codemp-patch" version = "0.10.0-beta.2" authors = [ "Aleksandr Orlenko ", "kyren ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau with async/await features and support of writing native Lua modules in Rust. """ documentation = "https://docs.rs/mlua" readme = "README.md" keywords = [ "lua", "luajit", "luau", "async", "scripting", ] categories = [ "api-bindings", "asynchronous", ] license = "MIT" repository = "https://github.com/khvzak/mlua" [package.metadata.docs.rs] features = [ "lua54", "vendored", "async", "send", "serialize", "macros", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "mlua_codemp_patch" path = "src/lib.rs" [[example]] name = "async_http_client" path = "examples/async_http_client.rs" required-features = [ "async", "macros", ] [[example]] name = "async_http_reqwest" path = "examples/async_http_reqwest.rs" required-features = [ "async", "serialize", "macros", ] [[example]] name = "async_http_server" path = "examples/async_http_server.rs" required-features = [ "async", "macros", "send", ] [[example]] name = "async_tcp_server" path = "examples/async_tcp_server.rs" required-features = [ "async", "macros", "send", ] [[example]] name = "guided_tour" path = "examples/guided_tour.rs" required-features = ["macros"] [[example]] name = "repl" path = "examples/repl.rs" [[example]] name = "serialize" path = "examples/serialize.rs" required-features = ["serialize"] [[example]] name = "userdata" path = "examples/userdata.rs" required-features = ["macros"] [[test]] name = "async" path = "tests/async.rs" [[test]] name = "byte_string" path = "tests/byte_string.rs" [[test]] name = "chunk" path = "tests/chunk.rs" [[test]] name = "compile" path = "tests/compile.rs" [[test]] name = "conversion" path = "tests/conversion.rs" [[test]] name = "debug" path = "tests/debug.rs" [[test]] name = "error" path = "tests/error.rs" [[test]] name = "function" path = "tests/function.rs" [[test]] name = "hooks" path = "tests/hooks.rs" [[test]] name = "luau" path = "tests/luau.rs" [[test]] name = "memory" path = "tests/memory.rs" [[test]] name = "multi" path = "tests/multi.rs" [[test]] name = "send" path = "tests/send.rs" [[test]] name = "serde" path = "tests/serde.rs" [[test]] name = "string" path = "tests/string.rs" [[test]] name = "table" path = "tests/table.rs" [[test]] name = "tests" path = "tests/tests.rs" [[test]] name = "thread" path = "tests/thread.rs" [[test]] name = "types" path = "tests/types.rs" [[test]] name = "userdata" path = "tests/userdata.rs" [[test]] name = "value" path = "tests/value.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false required-features = ["async"] [[bench]] name = "serde" path = "benches/serde.rs" harness = false required-features = ["serialize"] [dependencies.bstr] version = "1.0" features = ["std"] default-features = false [dependencies.erased-serde] version = "0.4" optional = true [dependencies.ffi] version = "0.6.3" package = "mlua-sys" [dependencies.futures-util] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.mlua_derive] version = "=0.10.0-beta.1" optional = true [dependencies.num-traits] version = "0.2.14" [dependencies.parking_lot] version = "0.12" features = ["arc_lock"] [dependencies.rustc-hash] version = "2.0" [dependencies.serde] version = "1.0" optional = true [dependencies.serde-value] version = "0.7" optional = true [dev-dependencies.http-body-util] version = "0.1.1" [dev-dependencies.hyper] version = "1.2" features = ["full"] [dev-dependencies.hyper-util] version = "0.1.3" features = ["full"] [dev-dependencies.maplit] version = "1.0" [dev-dependencies.reqwest] version = "0.12" features = ["json"] [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" features = ["arbitrary_precision"] [dev-dependencies.static_assertions] version = "1.0" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt", "time", ] [dev-dependencies.trybuild] version = "1.0" [features] async = ["dep:futures-util"] lua51 = ["ffi/lua51"] lua52 = ["ffi/lua52"] lua53 = ["ffi/lua53"] lua54 = ["ffi/lua54"] luajit = ["ffi/luajit"] luajit52 = [ "luajit", "ffi/luajit52", ] luau = [ "ffi/luau", "dep:libloading", ] luau-jit = [ "luau", "ffi/luau-codegen", ] luau-vector4 = [ "luau", "ffi/luau-vector4", ] macros = ["mlua_derive/macros"] module = [ "dep:mlua_derive", "ffi/module", ] send = ["parking_lot/send_guard"] serialize = [ "dep:serde", "dep:erased-serde", "dep:serde-value", ] vendored = ["ffi/vendored"] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rustyline] version = "14.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio] version = "1.0" features = ["full"] [target."cfg(unix)".dependencies.libloading] version = "0.8" optional = true [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(tarpaulin_include)"]