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 crate to install binaries from.
5    /// Must be specified in multi-package workspaces.
6    pub package: Option<String>,
7    /// Cargo features to enable when building.
8    pub features: Vec<String>,
9}