Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "mendeleev"
3 version = "0.8.1"
4 edition = "2021"
5 rust-version = "1.62"
6 license = "MIT OR Apache-2.0"
7 authors = ["Ygor Souza <[email protected]>"]
8 description = "List of chemical elements, their isotopes, and their properties"
9 categories = ["science", "no-std", "no-std::no-alloc"]
10 keywords = ["periodic-table", "chemistry", "isotope", "atom", "atomic"]
11 readme = "README.md"
12 homepage = "https://gitlab.com/ygor.souza/mendeleev"
13 repository = "https://gitlab.com/ygor.souza/mendeleev"
14
15 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
16
17 [dependencies]
18 serde = { version = "1.0", optional = true, features = ["derive"] }
19
20 [features]
21 default = ["all_features"]
22
23 all_features = ["all_no_std_features", "std"]
24 all_no_std_features = ["all_properties", "all_lists", "ranges"]
25 std = ["serde?/std"]
26 ranges = []
27
28 all_lists = ["element_list", "isotope_list", "group_list"]
29 element_list = []
30 group_list = []
31 isotope_list = ["isotopes"]
32
33 all_properties = ["all_element_properties", "all_isotope_properties"]
34
35 all_element_properties = ["numeric_properties", "string_properties", "color_properties", "electronic_configuration", "oxidation_states"]
36
37 electronic_configuration = []
38 oxidation_states = []
39
40 numeric_properties = ["atomic_number", "atomic_radius", "atomic_weight", "group_number", "period", "density", "electron_affinity", "ionization_energy", "year_discovered", "isotope_natural_abundance", "state_of_matter_properties"]
41 atomic_number = []
42 atomic_radius = []
43 atomic_weight = []
44 group_number = ["group"]
45 year_discovered = []
46 group = []
47 period = []
48 density = []
49 electron_affinity = []
50 ionization_energy = []
51
52 state_of_matter_properties = ["melting_point", "boiling_point", "fusion_heat", "evaporation_heat"]
53 melting_point = []
54 boiling_point = []
55 fusion_heat = []
56 evaporation_heat = []
57
58 color_properties = ["cpk_color", "jmol_color"]
59 cpk_color = ["color"]
60 jmol_color = ["color"]
61 color = []
62
63 string_properties = ["group_name", "group_symbol", "symbol", "name", "discoverers", "discovery_location"]
64 group_name = ["group"]
65 group_symbol = ["group"]
66 name = []
67 symbol = []
68 discoverers = []
69 discovery_location = []
70
71 all_isotope_properties = ["isotope_element", "isotope_mass_number", "isotope_natural_abundance", "isotope_neutron_number", "isotope_display"]
72 isotope_element = ["isotopes"]
73 isotope_natural_abundance = ["isotopes"]
74 isotope_mass_number = ["isotopes"]
75 isotope_neutron_number = ["atomic_number", "isotope_mass_number", "isotope_element"]
76 isotope_display = ["isotopes", "isotope_mass_number", "name", "symbol"]
77 isotopes = []
78
79
80 [[example]]
81 name = "print_all_elements"
82 required-features = ["std", "all_element_properties", "element_list"]
83
84 [[example]]
85 name = "print_periodic_table"
86 required-features = ["std", "symbol", "group", "period", "element_list", "group_list"]
87
88 [[example]]
89 name = "print_isotope_abundance"
90 required-features = ["std", "name", "isotope_natural_abundance", "isotope_display", "isotope_list", "isotope_element"]
91
92 [[example]]
93 name = "print_electronic_configuration"
94 required-features = ["std", "symbol", "electronic_configuration"]