Cargo Features
[dependencies]
mendeleev = { version = "0.8.2", default-features = false, features = ["std", "all_features", "all_no_std_features", "ranges", "all_lists", "group_list", "isotope_list", "all_properties", "all_element_properties", "electronic_configuration", "oxidation_states", "numeric_properties", "atomic_number", "atomic_weight", "group_number", "year_discovered", "group", "electron_affinity", "ionization_energy", "state_of_matter_properties", "boiling_point", "evaporation_heat", "color_properties", "jmol_color", "color", "string_properties", "group_symbol", "symbol", "discovery_location", "all_isotope_properties", "isotope_element", "isotope_natural_abundance", "isotope_mass_number", "isotope_neutron_number", "isotope_display", "isotopes", "serde"] }
- default = all_features
-
The
all_features
feature is set by default whenevermendeleev
is added without
somewhere in the dependency tree.default-features = false - std all_features
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - all_features default = all_no_std_features, std
- all_no_std_features all_features = all_lists, all_properties, ranges
- ranges all_no_std_features?
-
Affects
atomic_number::ATOMIC_NUMBER_RANGE
,atomic_radius::ATOMIC_RADIUS_RANGE
,atomic_weight::ATOMIC_WEIGHT_RANGE
,boiling_point::BOILING_POINT_RANGE
,density::DENSITY_RANGE
,electron_affinity::ELECTRON_AFFINITY_RANGE
,evaporation_heat::EVAPORATION_HEAT_RANGE
,fusion_heat::FUSION_HEAT_RANGE
,ionization_energy::IONIZATION_ENERGY_RANGE
,mass_number::ISOTOPE_MASS_NUMBER_RANGE
,natural_abundance::ISOTOPE_NATURAL_ABUNDANCE_RANGE
,neutron_number::ISOTOPE_NEUTRON_NUMBER_RANGE
,melting_point::MELTING_POINT_RANGE
,year_discovered::YEAR_DISCOVERED_RANGE
… - all_lists all_no_std_features? = element_list, group_list, isotope_list
- element_list group_list all_lists?
- isotope_list all_lists? = isotopes
- all_properties all_no_std_features? = all_element_properties, all_isotope_properties
- all_element_properties all_properties? = color_properties, electronic_configuration, numeric_properties, oxidation_states, string_properties
- electronic_configuration all_element_properties?
- oxidation_states all_element_properties?
- numeric_properties all_element_properties? = atomic_number, atomic_radius, atomic_weight, density, electron_affinity, group_number, ionization_energy, isotope_natural_abundance, period, state_of_matter_properties, year_discovered
- atomic_number isotope_neutron_number? numeric_properties?
- atomic_radius atomic_weight numeric_properties?
- group_number numeric_properties? = group
- year_discovered numeric_properties?
- group group_name? group_number? group_symbol?
- period density electron_affinity numeric_properties?
- ionization_energy numeric_properties?
- state_of_matter_properties numeric_properties? = boiling_point, evaporation_heat, fusion_heat, melting_point
- melting_point boiling_point state_of_matter_properties?
- fusion_heat evaporation_heat state_of_matter_properties?
- color_properties all_element_properties? = cpk_color, jmol_color
- cpk_color jmol_color color_properties? = color
- color cpk_color? jmol_color?
- string_properties all_element_properties? = discoverers, discovery_location, group_name, group_symbol, name, symbol
- group_name group_symbol string_properties? = group
- name symbol isotope_display? string_properties?
- discoverers discovery_location string_properties?
- all_isotope_properties all_properties? = isotope_display, isotope_element, isotope_mass_number, isotope_natural_abundance, isotope_neutron_number
- isotope_element all_isotope_properties? isotope_neutron_number? = isotopes
- isotope_natural_abundance all_isotope_properties? numeric_properties? = isotopes
- isotope_mass_number all_isotope_properties? isotope_display? isotope_neutron_number? = isotopes
- isotope_neutron_number all_isotope_properties? = atomic_number, isotope_element, isotope_mass_number
- isotope_display all_isotope_properties? = isotope_mass_number, isotopes, name, symbol
- isotopes isotope_display? isotope_element? isotope_list? isotope_mass_number? isotope_natural_abundance?