rustuse
Unified facade crate for the published RustUse sets and child crates.
rustuse gives one dependency surface that exposes the current RustUse sets on main:
- chemistry primitives from
use-chemistry - math primitives from
use-math - Rust ecosystem primitives from
use-rust
The crate re-exports every concrete child crate directly at the top level and also groups them by set so consumers can choose the style they prefer.
Installation
[]
= "0"
Disable default features if you only want one set:
[]
= { = "0", = false, = ["chemistry"] }
Usage
Access child crates directly
use element_by_symbol;
use factorial;
use parse_version;
let oxygen = element_by_symbol.unwrap;
let count = factorial.unwrap;
let version = parse_version.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
Access crates through set modules
use element_by_symbol;
use factorial;
use next_minor;
let oxygen = element_by_symbol.unwrap;
let count = factorial.unwrap;
let version = next_minor;
assert_eq!;
assert_eq!;
assert_eq!;
Set modules
rustuse::chemistrygroupsuse-chemistryand the published chemistry child cratesrustuse::mathgroupsuse-mathand all publisheduse-mathchild cratesrustuse::rustgroupsuse-rust,use-crate, anduse-version
Release scope
The published rustuse 0.1.0 release covered math and rust. The next follow-up release on
main adds the published chemistry crates now that the use-chemistry workspace is live on
crates.io.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0, in
LICENSE-APACHE - MIT license, in
LICENSE-MIT