# 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 = "ifc-lite-wasm"
version = "2.1.3"
authors = ["IFC-Lite Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings for IFC-Lite"
readme = "README.md"
keywords = [
    "ifc",
    "bim",
    "wasm",
    "webassembly",
    "aec",
]
categories = [
    "wasm",
    "parsing",
]
license = "MPL-2.0"
repository = "https://github.com/louistrue/ifc-lite"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
debug_geometry = ["ifc-lite-geometry/debug_geometry"]
default = ["console_error_panic_hook"]

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

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[dependencies.ifc-lite-core]
version = "2.1.3"

[dependencies.ifc-lite-geometry]
version = "2.1.3"

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

[dependencies.rayon]
version = "1.10"

[dependencies.rustc-hash]
version = "1.1"

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

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

[dependencies.thiserror]
version = "1.0"

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

[dependencies.wasm-bindgen-futures]
version = "0.4"

[dependencies.wasm-bindgen-rayon]
version = "1.2"

[dependencies.web-sys]
version = "0.3"
features = [
    "console",
    "Performance",
    "Window",
]

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