use-formation 0.1.0

Primitive geologic formation vocabulary for RustUse
Documentation
  • Coverage
  • 18.18%
    4 out of 22 items documented1 out of 13 items with examples
  • Size
  • Source code size: 10.23 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 761.53 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-geology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-formation

Small geologic formation vocabulary primitives for RustUse.

Example

use use_formation::{FormationGroup, FormationKind, FormationMember, FormationName};

# fn main() -> Result<(), Box<dyn std::error::Error>> {
let name = FormationName::new("Morrison Formation")?;
let member = FormationMember::new("Brushy Basin Member")?;
let group = FormationGroup::new("Chinle Group")?;

assert_eq!(name.as_str(), "Morrison Formation");
assert_eq!(FormationKind::Formation.to_string(), "formation");
assert_eq!(member.as_str(), "Brushy Basin Member");
assert_eq!(group.as_str(), "Chinle Group");
# Ok(())
# }