zuqe 0.3.5

Zuqe JS Engine - A lightweight JS engine implemented in Rust, designed for embedded systems and general‑purpose use.
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 = "zuqe"
version = "0.3.5"
authors = ["John Ray <996351336@qq.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zuqe JS Engine - A lightweight JS engine implemented in Rust, designed for embedded systems and general‑purpose use."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nupha/zuqe"

[features]
all_unicode = [
    "unicode-xid",
    "unicode-normalization",
]
builtin_date = ["libc"]
builtin_json = []
default = [
    "all_unicode",
    "builtin_json",
    "builtin_date",
]
dump_bytecode = []

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

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

[[example]]
name = "zjs"
path = "examples/zjs/main.rs"

[dependencies.bitflags]
version = "2.0"

[dependencies.fallible_collections]
version = "0.5"

[dependencies.gc-lite]
version = "0.3"

[dependencies.hash-link]
version = "0.1"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.lre]
version = "0.1"

[dependencies.once_cell]
version = "1.21"

[dependencies.paste]
version = "1.0"

[dependencies.smallvec]
version = "1.13"

[dependencies.unicode-normalization]
version = "0.1"
optional = true

[dependencies.unicode-xid]
version = "0.2"
optional = true

[dependencies.zerocopy]
version = "0.8"

[dev-dependencies.anyhow]
version = "1"
default-features = false

[dev-dependencies.clap]
version = "4.5"
features = ["derive"]

[dev-dependencies.colorized]
version = "1.0"

[dev-dependencies.env_logger]
version = "0.9"
default-features = false

[dev-dependencies.glob]
version = "0.3"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.log]
version = "0.4"

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

[dev-dependencies.serde_yaml]
version = "0.9"

[build-dependencies.cc]
version = "1.0"

[build-dependencies.once_cell]
version = "1.21"

[target."cfg(windows)".dev-dependencies.windows-sys]
version = "0.61.0"
features = [
    "Win32_Foundation",
    "Win32_System_Console",
    "Win32_System_Threading",
]

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
overflow-checks = false
strip = "symbols"

[profile.release.package."*"]
opt-level = 3
debug = 0
overflow-checks = false
strip = "symbols"

[profile.release-with-debug]
debug = 2
inherits = "release"
strip = false

[profile.release-with-debug.package."*"]
debug = 2
strip = false