#elements #periodic #table #focus #no-std #default #discovered

no-std periodic-elements

A list of elements in the periodic table, with focus on no_std

1 stable release

1.0.0 Feb 18, 2019

#23 in #periodic

MIT/Apache

125KB
5.5K SLoC

periodic-elements

This crate provides a list of all 118 discovered elements, as well as additional information about each. You'll probably want to use the constant ELEMENTS, as it provides a 'static slice of elements. Additionally, this crate uses std::borrow::Cow extensively, as it allows for mutating element information very efficiently, while not requiring heap allocations by default. Additionally, every field within Element supports std::fmt::Display (with the exception of cpk) and std::fmt::Debug, making it easy to display.

Dependencies

~140KB