Skip to main content

lux_lib/lua_rockspec/build/
rust_binary.rs

1/// Specification for building a rock with the `rust-binary` build backend
2#[derive(Debug, PartialEq, Default, Clone)]
3pub struct RustBinaryBuildSpec {
4    /// The name of the binary (or crate) to install, optionally including
5    /// a version specifier (e.g. `foo@1.0.0`).
6    pub binary: String,
7    /// Cargo features to enable when building.
8    pub features: Vec<String>,
9}