mrubyedge_cli/template/cargo_toml.rs
1extern crate askama;
2use askama::Template;
3
4#[derive(Template)]
5#[template(path = "Cargo.toml.tmpl", escape = "none")]
6pub struct CargoToml<'a> {
7 pub mrubyedge_version: &'a str,
8 pub mrubyedge_feature: &'a str,
9 pub strip: &'a str,
10}
11
12#[derive(Template)]
13#[template(path = "Cargo.toml.debug.tmpl", escape = "none")]
14pub struct CargoTomlDebug<'a> {
15 pub mruby_edge_crate_path: &'a str,
16 pub mrubyedge_feature: &'a str,
17}