truck

Crates.iotruck
lib.rstruck
version1.0.0
sourcesrc
created_at2020-09-20 13:55:40.487675
updated_at2020-09-20 13:55:40.487675
descriptionThis is truck, a package which generates a cargo toml for you
homepage
repository
max_upload_size
id290804
size6,804
(jakobneufeld)

documentation

README

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.....
Commit count: 0

cargo fmt