sdsforge-core 0.6.0

Generate, convert, validate, and render chemical safety data sheets using MHLW/JIS Z 7253 structured JSON, with evidence and provenance tracking.
Documentation
# 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 = "2021"
name = "sdsforge-core"
version = "0.6.0"
build = false
exclude = [
    "references/",
    "tools/",
    "tasks/",
    "CLAUDE.md",
    "*.pdf",
    "*.xlsx",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate, convert, validate, and render chemical safety data sheets using MHLW/JIS Z 7253 structured JSON, with evidence and provenance tracking."
homepage = "https://github.com/kent-tokyo/sdsforge"
documentation = "https://docs.rs/sdsforge-core"
readme = "README.md"
keywords = [
    "sds",
    "safety-data-sheet",
    "ghs",
    "llm",
    "docx",
]
categories = [
    "encoding",
    "parser-implementations",
    "text-processing",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/sdsforge"

[features]
chematic-normalization = ["dep:chematic"]

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.calamine]
version = "0.35"

[dependencies.chematic]
version = "0.4.30"
features = ["chem"]
optional = true
default-features = false

[dependencies.docx-rs]
version = "0.4"

[dependencies.docx-rust]
version = "0.1"

[dependencies.harumi]
version = "0.4"
features = ["html"]

[dependencies.pdf-extract]
version = "0.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.scraper]
version = "0.27"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.42"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.zip]
version = "8"
features = [
    "deflate",
    "deflate64",
    "bzip2",
    "lzma",
    "ppmd",
    "time",
    "zstd",
    "xz",
]
default-features = false

[dev-dependencies.wiremock]
version = "0.6"