smiles-parser

Crates.iosmiles-parser
lib.rssmiles-parser
version0.4.1
sourcesrc
created_at2019-11-23 09:50:44.359316
updated_at2020-11-15 08:18:17.767002
descriptionSMILES (chemical formula) parser based on the OpenSMILES spec
homepage
repositoryhttps://github.com/hobofan/smiles-parser
max_upload_size
id183686
size761,227
Maximilian Goisser (hobofan)

documentation

README

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

Crates.io version docs.rs docs

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

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 21

cargo fmt