smiles-parser 0.4.1

SMILES (chemical formula) parser based on the OpenSMILES spec
Documentation

smiles-parser - SMILES parser in Rust based on the OpenSMILES spec

Installation

Via cargo-edit:

cargo add smiles-parser

Usage

Parse a chain (top-level object):

use smiles_parser::chain;

let chain = chain(b"C1CCC2(CC1)CO2");
assert!(chain.is_ok());

License