use-constellation 0.1.0

Primitive constellation vocabulary for RustUse
Documentation
  • Coverage
  • 28.57%
    4 out of 14 items documented1 out of 11 items with examples
  • Size
  • Source code size: 8.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 611.14 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-astronomy
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-constellation

Primitive constellation vocabulary.

use-constellation models non-empty constellation names, abbreviations, and region labels. It does not maintain official constellation boundary data, map sky regions, validate against IAU data, or render star charts.

use use_constellation::{ConstellationAbbreviation, ConstellationName, ConstellationRegion};

let name = ConstellationName::new("Lyra").unwrap();
let abbreviation = ConstellationAbbreviation::new("Lyr").unwrap();
let region = ConstellationRegion::new("northern sky").unwrap();

assert_eq!(name.as_str(), "Lyra");
assert_eq!(abbreviation.as_str(), "Lyr");
assert_eq!(region.as_str(), "northern sky");