truck 1.0.0

This is truck, a package which generates a cargo toml for you
Documentation
  • Coverage
  • 11.76%
    2 out of 17 items documented0 out of 10 items with examples
  • Size
  • Source code size: 6.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 827.88 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 30s Average build duration of successful builds.
  • all releases: 30s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jakobneufeld

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