# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "chem-eq" version = "0.3.2" description = "Parse chemical equations and balance, get mol ratios and use ΔH" homepage = "https://github.com/BeaconBrigade/lcp-sim/tree/master/src-tauri/crates/chem-eq" documentation = "https://docs.rs/chem-eq" readme = "README.md" license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "parse" [[example]] name = "balance" required-features = ["balance"] [dependencies.itertools] version = "0.10.5" [dependencies.mendeleev] version = "0.7.0" [dependencies.ndarray] version = "0.15.6" optional = true [dependencies.nom] version = "7.1.3" [dependencies.num] version = "0.4.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.40" [features] balance = [ "dep:ndarray", "dep:num", ] default = ["balance"] serde = [ "dep:serde", "ndarray?/serde", "num?/serde", ]