#chemical #equations #ratio #reaction #balance #element #direction

chem-eq

Parse chemical equations and balance, get mol ratios and use ΔH

6 releases

0.3.2 Jun 5, 2023
0.3.1 May 5, 2023
0.3.0 Feb 14, 2023
0.2.0 Dec 2, 2022
0.1.1 Nov 23, 2022

#520 in Science

26 downloads per month
Used in 2 crates

MIT license

90KB
2K SLoC

chem-eq

chem-eq parses chemical equations into elements, mol ratio, direction of reaction and more. Chemical equations can be balanced with the crate feature balance. There are serde implementations behind feature serde.

Get started by looking at the docs or examples. An example application can be found here

v0.3.0

This release includes many changes from bug fixes, to improved error types. Most of the breaking changes involve modified error types. There are added methods to directly parse elements and compounds. Additional changes include documentation improvements, more methods on Compound and Equation to make your life easier and more test cases.

v0.3.1

This release relicenses chem-eq under MIT.

v0.3.2

This release contains small bug fix in #42


lib.rs:

chem-eq

chem-eq parses chemical equations into elements, mol ratio, direction of reaction and more.

The main type is Equation

Dependencies

~2.2–3.5MB
~78K SLoC