Hello
This is truck, a package which generates a cargo toml for you
- You just create a truck.rs
- Put this in cargo.toml
build = "truck.rs"
[build-dependencies]
truck = "1.0.0"
- And wrtie this in your build.rs
use truck::prelude;
fn main() {
CargoConf::new()
.author(
&["Jakob Nikolaus Neufeld"]
).edition("2018")
.name("truck")
.version("0.0.1")
.license("MIT")
.dependencie_section()
.dependencie("toml", DepVersion::Version("0.5.6"))
.dependencie("crates-io", "0.32.0")
.write_to_cargo()
;
}
YOU ARE DONE!
Also more features are coming like