mlua/Cargo.toml

51 lines
1.7 KiB
TOML
Raw Normal View History

2017-05-21 18:50:59 -05:00
[package]
name = "rlua"
version = "0.15.3-alpha.0"
2017-05-22 02:06:33 -05:00
authors = ["kyren <catherine@chucklefish.org>"]
description = "High level bindings to Lua 5.3"
2017-05-29 15:34:39 -05:00
repository = "https://github.com/chucklefish/rlua"
documentation = "https://docs.rs/rlua"
2017-05-22 02:06:33 -05:00
readme = "README.md"
keywords = ["lua"]
license = "MIT"
2017-05-21 18:50:59 -05:00
[badges]
travis-ci = { repository = "chucklefish/rlua", branch = "master" }
[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
# do that, but care must be taken. `rlua` makes at least the following
# assumptions about the linked lua library:
# * LUA_INTEGER is long long
# * LUA_NUMBER as double
2018-08-05 08:51:32 -05:00
# * LUA_EXTRASPACE is at least pointer sized and has at least pointer alignment.
# * LUAI_MAXSTACK is 1_000_000
builtin-lua = ["cc"]
# 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"]
[dependencies]
libc = { version = "0.2" }
failure = { version = "0.1.2" }
num-traits = { version = "0.2.6" }
compiletest_rs = { version = "0.3", optional = true }
2017-05-21 18:50:59 -05:00
[build-dependencies]
cc = { version = "1.0", optional = true }
pkg-config = { version = "0.3.11", optional = true }
[dev-dependencies]
rustyline = "2.0.0"
criterion = "0.2.0"
[[bench]]
name = "benchmark"
2018-05-14 07:51:51 -05:00
harness = false