truck 1.0.0

This is truck, a package which generates a cargo toml for you
Documentation

Hello

This is truck, a package which generates a cargo toml for you

  1. You just create a truck.rs
  2. Put this in cargo.toml



build = "truck.rs"
[build-dependencies]
truck = "1.0.0"

  1. 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!

Please report any bugs at jakob.n.neufeld@gmail.com

Also more features are coming like

  • more package section builder functions
  • more sections
  • a cargo-truck tool
  • and more.....