ferrijs-bundle 0.2.0

Bundle TypeScript and node_modules with rolldown, compile the chunk to QuickJS bytecode once, and cache it on disk under an ABI tag: the front-end a ferrijs host runs real projects through.
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 = "ferrijs-bundle"
version = "0.2.0"
authors = ["Salama Ashoush <salamaashoush@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bundle TypeScript and node_modules with rolldown, compile the chunk to QuickJS bytecode once, and cache it on disk under an ABI tag: the front-end a ferrijs host runs real projects through."
homepage = "https://github.com/salamaashoush/ferrijs"
readme = false
keywords = [
    "javascript",
    "quickjs",
    "runtime",
    "sandbox",
    "embedded",
]
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/ferrijs"
resolver = "2"

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

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

[dependencies.ferrijs]
version = "0.2.0"
default-features = false

[dependencies.rolldown]
version = "1"

[dependencies.rolldown_common]
version = "1"

[dependencies.rolldown_error]
version = "1"

[dependencies.rolldown_plugin]
version = "1"

[dependencies.rquickjs]
version = "0.13"
features = [
    "full-async",
    "parallel",
    "macro",
    "loader",
    "array-buffer",
    "half",
    "either",
    "bytes",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
    "test-util",
]

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
rust_2018_idioms = "warn"
unsafe_code = "warn"