use-biome 0.1.0

Primitive biome vocabulary for RustUse
Documentation
  • Coverage
  • 12%
    3 out of 25 items documented1 out of 10 items with examples
  • Size
  • Source code size: 8.99 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 659.91 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s 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-biome

Primitive biome vocabulary.

use-biome models non-empty biome names, descriptive biome kinds, and simple biome climate labels. It does not model climate zones, fetch biome maps, classify locations into biomes, or duplicate meteorology behavior.

Example

use use_biome::{BiomeClimate, BiomeKind, BiomeName};

let name = BiomeName::new("temperate rainforest").unwrap();
let climate = BiomeClimate::new("cool and humid").unwrap();

assert_eq!(name.to_string(), "temperate rainforest");
assert_eq!(BiomeKind::TemperateForest.to_string(), "temperate-forest");
assert_eq!(climate.to_string(), "cool and humid");

Scope

  • biome names and labels
  • descriptive biome kinds
  • simple biome climate labels

Non-goals

  • climate zone modeling
  • biome map fetching
  • location classification into biomes
  • meteorology duplication

License

Licensed under either of the following, at your option:

  • MIT License
  • Apache License, Version 2.0