forge-kit 0.1.12

High-performance metadata manager and parser for ForgeScript.
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 = "2024"
name = "forge-kit"
version = "0.1.12"
authors = ["Muhammad Bin Asim <muhammadbinasim471@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance metadata manager and parser for ForgeScript."
homepage = "https://forgekit.vercel.app"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/EdexLabs/forgekit"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-O",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
]

[features]
default = []
panic_hook = ["console_error_panic_hook"]
validation = []
wasm = [
    "wasm-bindgen",
    "wasm-bindgen-futures",
    "js-sys",
    "web-sys",
    "serde-wasm-bindgen",
    "panic_hook",
]

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

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

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

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

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

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

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

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

[dependencies.dashmap]
version = "6.1.0"

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

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.smallvec]
version = "1.15.1"

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

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

[dependencies.web-sys]
version = "0.3"
features = [
    "Window",
    "Storage",
]
optional = true

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

[dev-dependencies.tokio-test]
version = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt-multi-thread",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true