# 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-smiles"
version = "0.4.13"
authors = ["kent-tokyo <kent-tokyo@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenSMILES parser, writer and canonical SMILES for chematic — pure Rust, WASM-compatible"
homepage = "https://kent-tokyo.github.io/chematic/"
documentation = "https://docs.rs/chematic-smiles"
readme = "README.md"
keywords = [
    "smiles",
    "parser",
    "cheminformatics",
    "rdkit",
    "wasm",
]
categories = [
    "science",
    "science::computational-chemistry::cheminformatics",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/chematic"
resolver = "2"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[example]]
name = "parse_smiles"
path = "examples/parse_smiles.rs"

[[example]]
name = "validate_smiles"
path = "examples/validate_smiles.rs"

[[test]]
name = "canonical_robustness"
path = "tests/canonical_robustness.rs"

[[test]]
name = "chembl_roundtrip"
path = "tests/chembl_roundtrip.rs"

[[bench]]
name = "parse_bench"
path = "benches/parse_bench.rs"
harness = false

[dependencies.chematic-core]
version = "0.4.12"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
