[package]
name = "chematic"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "A pure-Rust cheminformatics toolkit: SMILES/SMARTS, SDF/MOL V3000, ECFP/MACCS fingerprints, LogP/TPSA/QED, CIP stereo, MCS, 2D SVG depiction — no C/C++ dependencies, runs in the browser via WebAssembly."
keywords = ["cheminformatics", "chemistry", "smiles", "drug-discovery", "wasm"]
categories = ["science::computational-chemistry::cheminformatics", "wasm", "parser-implementations", "rendering", "science"]
readme = "../../README.md"
homepage.workspace = true
documentation = "https://docs.rs/chematic"
[features]
default = []
smiles = ["dep:chematic-core", "dep:chematic-smiles"]
perception = ["smiles", "dep:chematic-perception"]
mol = ["dep:chematic-core", "dep:chematic-mol"]
depict = ["perception", "dep:chematic-depict"]
fp = ["perception", "dep:chematic-smarts", "dep:chematic-fp"]
chem = ["perception", "dep:chematic-chem"]
smarts = ["perception", "dep:chematic-smarts"]
rxn = ["smiles", "dep:chematic-rxn"]
threed = ["perception", "dep:chematic-3d"]
inchi = ["chem", "dep:chematic-inchi"]
iupac = ["dep:chematic-iupac"]
full = ["smiles", "perception", "mol", "depict", "fp", "chem", "smarts", "rxn", "threed", "inchi", "iupac"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[dependencies]
chematic-core = { path = "../chematic-core", version = "0.4.19", optional = true }
chematic-smiles = { path = "../chematic-smiles", version = "0.4.19", optional = true }
chematic-perception = { path = "../chematic-perception", version = "0.4.19", optional = true }
chematic-mol = { path = "../chematic-mol", version = "0.4.19", optional = true }
chematic-depict = { path = "../chematic-depict", version = "0.4.19", optional = true }
chematic-chem = { path = "../chematic-chem", version = "0.4.19", optional = true }
chematic-fp = { path = "../chematic-fp", version = "0.4.19", optional = true }
chematic-smarts = { path = "../chematic-smarts", version = "0.4.19", optional = true }
chematic-rxn = { path = "../chematic-rxn", version = "0.4.19", optional = true }
chematic-3d = { path = "../chematic-3d", version = "0.4.19", optional = true }
chematic-inchi = { path = "../chematic-inchi", version = "0.4.19", optional = true }
chematic-iupac = { path = "../chematic-iupac", version = "0.4.19", optional = true }