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