# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "chematic"
version = "0.1.90"
authors = ["kent-tokyo <kent-tokyo@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
homepage = "https://kent-tokyo.github.io/chematic/"
documentation = "https://docs.rs/chematic"
readme = "README.md"
keywords = [
    "cheminformatics",
    "chemistry",
    "smiles",
    "drug-discovery",
    "wasm",
]
categories = [
    "science::computational-chemistry::cheminformatics",
    "wasm",
    "parser-implementations",
    "rendering",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/chematic"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]

[features]
chem = [
    "perception",
    "dep:chematic-chem",
]
default = []
depict = [
    "perception",
    "dep:chematic-depict",
]
fp = [
    "perception",
    "dep:chematic-smarts",
    "dep:chematic-fp",
]
full = [
    "smiles",
    "perception",
    "mol",
    "depict",
    "fp",
    "chem",
    "smarts",
    "rxn",
    "threed",
    "inchi",
    "iupac",
]
inchi = [
    "chem",
    "dep:chematic-inchi",
]
iupac = ["dep:chematic-iupac"]
mol = [
    "dep:chematic-core",
    "dep:chematic-mol",
]
perception = [
    "smiles",
    "dep:chematic-perception",
]
rxn = [
    "smiles",
    "dep:chematic-rxn",
]
smarts = [
    "perception",
    "dep:chematic-smarts",
]
smiles = [
    "dep:chematic-core",
    "dep:chematic-smiles",
]
threed = [
    "perception",
    "dep:chematic-3d",
]

[lib]
name = "chematic"
path = "src/lib.rs"

[dependencies.chematic-3d]
version = "0.1.34"
optional = true

[dependencies.chematic-chem]
version = "0.1.34"
optional = true

[dependencies.chematic-core]
version = "0.1.34"
optional = true

[dependencies.chematic-depict]
version = "0.1.34"
optional = true

[dependencies.chematic-fp]
version = "0.1.34"
optional = true

[dependencies.chematic-inchi]
version = "0.1.34"
optional = true

[dependencies.chematic-iupac]
version = "0.1.34"
optional = true

[dependencies.chematic-mol]
version = "0.1.34"
optional = true

[dependencies.chematic-perception]
version = "0.1.34"
optional = true

[dependencies.chematic-rxn]
version = "0.1.34"
optional = true

[dependencies.chematic-smarts]
version = "0.1.34"
optional = true

[dependencies.chematic-smiles]
version = "0.1.34"
optional = true
