mlua/Cargo.toml

82 lines
1.9 KiB
TOML
Raw Normal View History

2017-05-21 18:50:59 -05:00
[package]
2019-10-01 10:11:12 -05:00
name = "mlua"
2020-08-17 06:17:08 -05:00
version = "0.4.2"
2019-10-01 10:11:12 -05:00
authors = ["Aleksandr Orlenko <zxteam@pm.me>", "kyren <catherine@chucklefish.org>"]
edition = "2018"
2019-10-01 10:11:12 -05:00
repository = "https://github.com/khvzak/mlua"
documentation = "https://docs.rs/mlua"
2017-05-22 02:06:33 -05:00
readme = "README.md"
keywords = ["lua", "luajit", "async", "futures"]
categories = ["api-bindings", "asynchronous"]
2017-05-22 02:06:33 -05:00
license = "MIT"
links = "lua"
build = "build/main.rs"
2019-11-04 16:17:55 -06:00
description = """
High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT)
2020-04-17 17:27:41 -05:00
with async/await features and support of writing native lua modules in Rust.
2019-11-04 16:17:55 -06:00
"""
2017-05-21 18:50:59 -05:00
2019-11-04 16:17:55 -06:00
[badges]
2020-01-25 15:53:44 -06:00
# github-actions = { repository = "khvzak/mlua", workflow = "CI" }
2020-05-16 17:38:04 -05:00
maintenance = { status = "actively-developed" }
2020-04-17 17:27:41 -05:00
[package.metadata.docs.rs]
features = ["async", "send", "lua53"]
2020-04-17 17:27:41 -05:00
2019-10-01 12:11:51 -05:00
[workspace]
members = [
"mlua_derive",
"examples/module",
"tests/module",
2019-10-01 12:11:51 -05:00
]
2019-10-14 16:21:30 -05:00
[features]
2020-05-07 19:52:09 -05:00
lua54 = []
2019-10-14 16:21:30 -05:00
lua53 = []
2019-11-29 07:26:30 -06:00
lua52 = []
lua51 = []
2019-10-16 04:56:44 -05:00
luajit = []
vendored = ["lua-src", "luajit-src"]
module = []
async = ["futures-core", "futures-task", "futures-util"]
send = []
2019-10-14 16:21:30 -05:00
[dependencies]
2019-10-01 10:11:12 -05:00
bstr = { version = "0.2", features = ["std"], default_features = false }
lazy_static = { version = "1.4" }
num-traits = { version = "0.2.11" }
2020-06-07 18:22:53 -05:00
futures-core = { version = "0.3.5", optional = true }
futures-task = { version = "0.3.5", optional = true }
futures-util = { version = "0.3.5", optional = true }
2017-05-21 18:50:59 -05:00
[build-dependencies]
cc = { version = "1.0" }
pkg-config = { version = "0.3.17" }
2020-07-27 04:52:28 -05:00
lua-src = { version = "540.0.0", optional = true }
luajit-src = { version = "210.1.0", optional = true }
[dev-dependencies]
rustyline = "6.0"
criterion = "0.3"
2020-06-07 18:22:53 -05:00
trybuild = "1.0"
futures = "0.3.5"
hyper = "0.13"
2020-06-07 18:22:53 -05:00
tokio = { version = "0.2", features = ["full"] }
futures-timer = "3.0"
[[bench]]
name = "benchmark"
2018-05-14 07:51:51 -05:00
harness = false
[[example]]
2020-05-12 21:15:43 -05:00
name = "async_http_client"
required-features = ["async"]
[[example]]
2020-05-12 21:15:43 -05:00
name = "async_http_server"
required-features = ["async", "send"]
[[example]]
name = "async_tcp_server"
required-features = ["async"]