# 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 = "hs-predict-wasm"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings for hs-predict — HS code prediction for chemical products"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/hs-predict"

[lib]
name = "hs_predict_wasm"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.hs-predict]
version = "0.4.1"
default-features = false

[dependencies.js-sys]
version = "=0.3.98"

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

[dependencies.serde-wasm-bindgen]
version = "=0.6.5"

[dependencies.serde_json]
version = "1"

[dependencies.wasm-bindgen]
version = "=0.2.121"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
