Crates.io | smiles-parser |
lib.rs | smiles-parser |
version | 0.4.1 |
source | src |
created_at | 2019-11-23 09:50:44.359316 |
updated_at | 2020-11-15 08:18:17.767002 |
description | SMILES (chemical formula) parser based on the OpenSMILES spec |
homepage | |
repository | https://github.com/hobofan/smiles-parser |
max_upload_size | |
id | 183686 |
size | 761,227 |
Via cargo-edit:
cargo add smiles-parser
Parse a chain (top-level object):
use smiles_parser::chain;
let chain = chain(b"C1CCC2(CC1)CO2");
assert!(chain.is_ok());