# 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 = "factorio-mlua" version = "0.9.0-beta.4" authors = [ "Aleksandr Orlenko ", "kyren ", "JohnTheCoolingFan ", ] 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. Fork with added Factorio Lua support. """ documentation = "https://docs.rs/factorio-mlua" readme = "README.md" keywords = [ "lua", "luajit", "luau", "scripting", "factorio", ] categories = [ "api-bindings", "asynchronous", ] license = "MIT" repository = "https://github.com/JohnTheCoolingFan/factorio-mlua" [package.metadata.docs.rs] features = [ "lua-factorio", "vendored", "async", "send", "serialize", "macros", "parking_lot", "unstable", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "factorio_mlua" 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", ] [[example]] name = "async_tcp_server" path = "examples/async_tcp_server.rs" required-features = [ "async", "macros", ] [[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 = "scope" path = "tests/scope.rs" [[test]] name = "serde" path = "tests/serde.rs" [[test]] name = "static" path = "tests/static.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"] [dependencies.bstr] version = "1.0" features = ["std"] default_features = false [dependencies.erased-serde] version = "0.3" optional = true [dependencies.ffi] version = "0.1.2" package = "factorio-mlua-sys" [dependencies.futures-core] version = "0.3.5" optional = true [dependencies.futures-task] version = "0.3.5" optional = true [dependencies.futures-util] version = "0.3.5" optional = true [dependencies.link-cplusplus] version = "1.0" optional = true [dependencies.mlua_derive] version = "=0.9.0-beta.1" optional = true [dependencies.num-traits] version = "0.2.14" [dependencies.once_cell] version = "1.0" [dependencies.parking_lot] version = "0.12" optional = true [dependencies.rustc-hash] version = "1.0" [dependencies.serde] version = "1.0" optional = true [dependencies.serde-value] version = "0.7" optional = true [dev-dependencies.criterion] version = "0.4" features = [ "html_reports", "async_tokio", ] [dev-dependencies.futures] version = "0.3.5" [dev-dependencies.futures-timer] version = "3.0" [dev-dependencies.hyper] version = "0.14" features = [ "client", "server", ] [dev-dependencies.maplit] version = "1.0" [dev-dependencies.reqwest] version = "0.11" features = ["json"] [dev-dependencies.rustyline] version = "11.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.static_assertions] version = "1.0" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.trybuild] version = "1.0" [features] async = [ "futures-core", "futures-task", "futures-util", ] lua-factorio = [ "ffi/lua-factorio", "link-cplusplus", ] lua51 = ["ffi/lua51"] lua52 = ["ffi/lua52"] lua53 = ["ffi/lua53"] lua54 = ["ffi/lua54"] luajit = ["ffi/luajit"] luajit52 = [ "luajit", "ffi/luajit52", ] luau = ["ffi/luau"] macros = ["mlua_derive/macros"] module = [ "mlua_derive", "ffi/module", ] send = [] serialize = [ "serde", "erased-serde", "serde-value", ] unstable = [] vendored = ["ffi/vendored"]