vec_rand 0.1.2

Vec generator to hold random contents.
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 4.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 20s Average build duration of successful builds.
  • all releases: 20s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • allister0098

Usage

Add this to your Cargo.toml:

[dependencies]
vec_rand = "0.1.0"
let len = 10;

// Pass the type you want to generate to Generics.
// RandVec::generate<i32>(len);
let v = RandVec::generate<u8>(len);

println!(":?", v);
// [107, 58, 138, 135, 112, 216, 235, 226, 68, 104]