macro_rules! stack_id {
($value:expr) => { ... };
}Expand description
Construct a StackId value at compile time.
Passing a string that is not a valid StackId value will yield a compilation error.
use libcnb_data::stack_id;
use libcnb_data::buildpack::StackId;
let stack_id: StackId = stack_id!("heroku-20");