use-rust 0.1.0

Composable Rust ecosystem primitives for RustUse.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 8.01 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 830.29 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-rust

Composable Rust ecosystem primitives for RustUse.

use-rust is the thin umbrella crate for the publishable RustUse core crates in this workspace.

It currently re-exports:

  • use-crate for crate naming and metadata helpers
  • use-version for semantic version parsing and version bump helpers

Example

use use_rust::prelude::{expected_repository_url, next_patch, parse_version};

let version = parse_version("0.1.0").unwrap();

assert_eq!(expected_repository_url("use-crate").as_str(), "https://github.com/RustUse/use-crate");
assert_eq!(next_patch(&version).to_string(), "0.1.1");