Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobofan/smiles-parser
nom-based SMILES parser for Rust based on OpenSMILES
https://github.com/hobofan/smiles-parser
Last synced: 22 days ago
JSON representation
nom-based SMILES parser for Rust based on OpenSMILES
- Host: GitHub
- URL: https://github.com/hobofan/smiles-parser
- Owner: hobofan
- License: apache-2.0
- Created: 2019-11-23T09:50:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T08:41:00.000Z (almost 4 years ago)
- Last Synced: 2024-10-05T15:18:09.919Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 153 KB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
## smiles-parser - SMILES parser in Rust based on the OpenSMILES spec
## Installation
Via [cargo-edit](https://github.com/killercup/cargo-edit):
```
cargo add smiles-parser
```## Usage
Parse a chain (top-level object):
```rust
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.