2017-05-21 19:50:59 -04:00
|
|
|
[package]
|
|
|
|
name = "rlua"
|
2018-09-16 20:19:46 -04:00
|
|
|
version = "0.15.0-alpha.0"
|
2017-05-22 03:06:33 -04:00
|
|
|
authors = ["kyren <catherine@chucklefish.org>"]
|
|
|
|
description = "High level bindings to Lua 5.3"
|
2017-05-29 16:34:39 -04:00
|
|
|
repository = "https://github.com/chucklefish/rlua"
|
|
|
|
documentation = "https://docs.rs/rlua"
|
2017-05-22 03:06:33 -04:00
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["lua"]
|
|
|
|
license = "MIT"
|
2017-05-21 19:50:59 -04:00
|
|
|
|
2017-08-02 17:37:29 -04:00
|
|
|
[badges]
|
2017-08-02 17:42:58 -04:00
|
|
|
travis-ci = { repository = "chucklefish/rlua", branch = "master" }
|
2017-08-02 17:37:29 -04:00
|
|
|
|
2017-07-05 19:35:53 -04:00
|
|
|
[features]
|
|
|
|
default = ["builtin-lua"]
|
|
|
|
# Builds the correct version of Lua 5.3 inside the crate. If you want to link a
|
|
|
|
# specialized version of lua into your binary, you can disable this feature to
|
2018-01-26 19:27:41 -05:00
|
|
|
# do that, but care must be taken. `rlua` makes at least the following
|
|
|
|
# assumptions about the linked lua library:
|
2018-03-06 07:03:58 -05:00
|
|
|
# * LUA_INTEGER is long long
|
|
|
|
# * LUA_NUMBER as double
|
2018-08-05 09:51:32 -04:00
|
|
|
# * LUA_EXTRASPACE is at least pointer sized and has at least pointer alignment.
|
|
|
|
# * LUAI_MAXSTACK is 1_000_000
|
2018-03-10 10:31:57 -05:00
|
|
|
builtin-lua = ["cc"]
|
2018-09-16 21:18:24 -04:00
|
|
|
# Uses pkg-config to find an appropriate lua 5.3 library to link with. All of
|
|
|
|
# the caveats about disabling the default builtin-lua feature apply here as
|
|
|
|
# well. If neither the builtin-lua nor the system-lua feature is enabled, then
|
|
|
|
# no lua library will be linked at all and one must be linked with or built into
|
|
|
|
# the final binary manually. The builtin-lua and system-lua features are
|
|
|
|
# mutually exclusive and enabling both will cause an error at build time.
|
|
|
|
system-lua = ["pkg-config"]
|
2017-07-05 19:35:53 -04:00
|
|
|
|
2017-08-02 16:33:48 -04:00
|
|
|
[dependencies]
|
|
|
|
libc = { version = "0.2" }
|
2018-08-05 11:48:25 -04:00
|
|
|
failure = { version = "0.1.2" }
|
2018-09-24 22:14:50 -04:00
|
|
|
num-traits = { version = "0.2" }
|
2018-02-10 00:26:48 -05:00
|
|
|
compiletest_rs = { version = "0.3", optional = true }
|
2017-08-02 16:33:48 -04:00
|
|
|
|
2017-05-21 19:50:59 -04:00
|
|
|
[build-dependencies]
|
2018-03-10 10:31:57 -05:00
|
|
|
cc = { version = "1.0", optional = true }
|
2018-09-16 21:18:24 -04:00
|
|
|
pkg-config = { version = "0.3.11", optional = true }
|
2017-08-02 08:32:45 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2018-09-24 21:27:29 -04:00
|
|
|
rustyline = "2.0.0"
|
2018-03-10 10:31:57 -05:00
|
|
|
criterion = "0.2.0"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "benchmark"
|
2018-05-14 08:51:51 -04:00
|
|
|
harness = false
|