[package]
edition = "2024"
name = "mlua-periphery"
version = "1.2.4"
authors = ["David Rauschenbach <david@megalithic.llc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust-native implementation of lua-periphery for mlua."
homepage = "https://on-prem.net"
readme = "README.md"
keywords = [
"lua",
"gpio",
"i2c",
"serial",
]
categories = [
"api-bindings",
"hardware-support",
]
license = "MIT"
repository = "https://gitlab.com/megalithic-llc/mlua-periphery.git"
[features]
lua51 = [
"mlua/lua51",
"mlua/vendored",
]
lua52 = [
"mlua/lua52",
"mlua/vendored",
]
lua53 = [
"mlua/lua53",
"mlua/vendored",
]
lua54 = [
"mlua/lua54",
"mlua/vendored",
]
luajit = [
"mlua/luajit",
"mlua/vendored",
]
luajit52 = [
"mlua/luajit52",
"mlua/vendored",
]
[lib]
name = "mlua_periphery"
path = "src/lib.rs"
[[example]]
name = "i2cdetect"
path = "examples/i2cdetect.rs"
[[test]]
name = "argon40"
path = "tests/argon40.rs"
[[test]]
name = "bitscope_bmc_get_status"
path = "tests/bitscope_bmc_get_status.rs"
[[test]]
name = "gpio_loopback"
path = "tests/gpio_loopback.rs"
[[test]]
name = "gpio_read_line"
path = "tests/gpio_read_line.rs"
[[test]]
name = "gpio_write_line"
path = "tests/gpio_write_line.rs"
[[test]]
name = "sgp30"
path = "tests/sgp30.rs"
[[test]]
name = "sixfab_ups_hat"
path = "tests/sixfab_ups_hat.rs"
[[test]]
name = "testsupport"
path = "tests/testsupport.rs"
[dependencies.i2cdev]
version = ">=0.4.4"
[dependencies.mlua]
version = ">=0.11"
[dependencies.serial2]
version = "0.2"
[dev-dependencies.log]
version = "0.4"
[target."cfg(unix)".dependencies.gpio-cdev]
version = ">=0.1"