use-habitat 0.1.0

Primitive habitat vocabulary for RustUse
Documentation
  • Coverage
  • 8.11%
    3 out of 37 items documented1 out of 12 items with examples
  • Size
  • Source code size: 10.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 824.29 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-ecology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-habitat

Primitive habitat vocabulary.

use-habitat models non-empty habitat names, descriptive habitat kinds and conditions, and simple habitat feature labels. It does not perform habitat suitability modeling, map habitat ranges, fetch environmental data, or implement conservation planning.

Example

use use_habitat::{HabitatCondition, HabitatFeature, HabitatKind, HabitatName};

let name = HabitatName::new("riparian corridor").unwrap();
let feature = HabitatFeature::new("coarse woody debris").unwrap();

assert_eq!(name.to_string(), "riparian corridor");
assert_eq!(HabitatKind::River.to_string(), "river");
assert_eq!(HabitatCondition::Protected.to_string(), "protected");
assert_eq!(feature.to_string(), "coarse woody debris");

Scope

  • habitat names and labels
  • descriptive habitat kinds and conditions
  • descriptive habitat feature labels

Non-goals

  • habitat suitability modeling
  • habitat range mapping
  • environmental data fetching
  • conservation planning

License

Licensed under either of the following, at your option:

  • MIT License
  • Apache License, Version 2.0