2017-05-21 19:50:59 -04:00
|
|
|
[package]
|
2019-10-01 11:11:12 -04:00
|
|
|
name = "mlua"
|
2020-08-17 07:17:08 -04:00
|
|
|
version = "0.4.2"
|
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 = """
|
2020-06-08 06:31:10 -04:00
|
|
|
High level bindings to Lua 5.4/5.3/5.2/5.1 (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" }
|
2020-05-16 18:38:04 -04:00
|
|
|
maintenance = { status = "actively-developed" }
|
2017-07-05 19:35:53 -04:00
|
|
|
|
2020-04-17 18:27:41 -04:00
|
|
|
[package.metadata.docs.rs]
|
2020-06-08 06:31:10 -04:00
|
|
|
features = ["async", "send", "lua53"]
|
2020-04-17 18:27:41 -04:00
|
|
|
|
2019-10-01 13:11:51 -04:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"mlua_derive",
|
2020-05-31 07:16:47 -04:00
|
|
|
"examples/module",
|
|
|
|
"tests/module",
|
2019-10-01 13:11:51 -04:00
|
|
|
]
|
|
|
|
|
2019-10-14 17:21:30 -04:00
|
|
|
[features]
|
2020-05-07 20:52:09 -04:00
|
|
|
lua54 = []
|
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-05-31 07:16:47 -04:00
|
|
|
module = []
|
2020-04-17 17:38:01 -04:00
|
|
|
async = ["futures-core", "futures-task", "futures-util"]
|
2020-05-06 08:18:04 -04:00
|
|
|
send = []
|
2020-12-12 15:37:17 -05:00
|
|
|
serialize = ["serde", "erased-serde"]
|
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-11-04 16:22:24 -05:00
|
|
|
num-traits = { version = "0.2.14" }
|
2020-06-07 19:22:53 -04: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 }
|
2020-12-12 15:37:17 -05:00
|
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
erased-serde = { version = "0.3", 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-12-12 20:31:58 -05:00
|
|
|
lua-src = { version = ">= 540.0.0, < 550.0.0", optional = true }
|
|
|
|
luajit-src = { version = ">= 210.1.0, < 220.0.0", optional = true }
|
2017-08-02 08:32:45 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-12-27 20:10:47 -05:00
|
|
|
rustyline = "7.0"
|
2020-04-17 17:38:01 -04:00
|
|
|
criterion = "0.3"
|
2020-06-07 19:22:53 -04:00
|
|
|
trybuild = "1.0"
|
|
|
|
futures = "0.3.5"
|
2020-04-17 17:38:01 -04:00
|
|
|
hyper = "0.13"
|
2020-12-27 20:10:47 -05:00
|
|
|
reqwest = { version = "0.10", features = ["json"] }
|
2020-06-07 19:22:53 -04:00
|
|
|
tokio = { version = "0.2", features = ["full"] }
|
2020-04-17 17:38:01 -04:00
|
|
|
futures-timer = "3.0"
|
2020-12-12 15:37:17 -05:00
|
|
|
serde_json = "1.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]]
|
2020-05-12 22:15:43 -04:00
|
|
|
name = "async_http_client"
|
2020-04-17 17:38:01 -04:00
|
|
|
required-features = ["async"]
|
|
|
|
|
2020-12-27 20:10:47 -05:00
|
|
|
[[example]]
|
|
|
|
name = "async_http_reqwest"
|
|
|
|
required-features = ["async", "serialize"]
|
|
|
|
|
2020-04-17 17:38:01 -04:00
|
|
|
[[example]]
|
2020-05-12 22:15:43 -04:00
|
|
|
name = "async_http_server"
|
|
|
|
required-features = ["async", "send"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "async_tcp_server"
|
2020-04-17 17:38:01 -04:00
|
|
|
required-features = ["async"]
|