rolldown 0.1.1

Fast JavaScript bundler in Rust, designed for the future of Vite
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 = "rolldown"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast JavaScript bundler in Rust, designed for the future of Vite"
homepage = "https://rolldown.rs/"
readme = false
license = "MIT"
repository = "https://github.com/rolldown/rolldown"

[package.metadata.cargo-shear]
ignored = ["serde"]

[features]
default = ["serde"]
experimental = []
serde = [
    "dep:serde",
    "oxc_index/serde",
]
testing = []

[lib]
name = "rolldown"
path = "src/lib.rs"
doctest = false

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

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

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

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

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.append-only-vec]
version = "0.1.7"

[dependencies.arcstr]
version = "1.2.0"
default-features = false

[dependencies.bitflags]
version = "2.9.1"

[dependencies.commondir]
version = "1.0.0"

[dependencies.dashmap]
version = "6.2.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.indexmap]
version = "2.9.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.itoa]
version = "1.0.15"

[dependencies.json-escape-simd]
version = "3"

[dependencies.memchr]
version = "2.7.4"

[dependencies.oxc]
version = "0.132.0"
features = [
    "ast_visit",
    "transformer",
    "minifier",
    "mangler",
    "semantic",
    "codegen",
    "serialize",
    "isolated_declarations",
    "regular_expression",
    "cfg",
]

[dependencies.oxc_allocator]
version = "0.132.0"
features = ["pool"]

[dependencies.oxc_ecmascript]
version = "0.132.0"

[dependencies.oxc_index]
version = "4"
features = [
    "rayon",
    "serde",
]

[dependencies.oxc_str]
version = "0.132.0"

[dependencies.oxc_traverse]
version = "0.132.0"

[dependencies.petgraph]
version = "0.8.1"

[dependencies.rayon]
version = "1.10.0"

[dependencies.rolldown_common]
version = "0.1.1"

[dependencies.rolldown_dev_common]
version = "0.1.1"

[dependencies.rolldown_devtools]
version = "0.1.1"

[dependencies.rolldown_ecmascript]
version = "0.1.1"

[dependencies.rolldown_ecmascript_utils]
version = "0.1.1"

[dependencies.rolldown_error]
version = "0.1.1"

[dependencies.rolldown_fs]
version = "0.1.1"
features = ["os"]

[dependencies.rolldown_plugin]
version = "0.1.1"

[dependencies.rolldown_plugin_asset_module]
version = "0.1.1"

[dependencies.rolldown_plugin_chunk_import_map]
version = "0.1.1"

[dependencies.rolldown_plugin_copy_module]
version = "0.1.1"

[dependencies.rolldown_plugin_data_url]
version = "0.1.1"

[dependencies.rolldown_plugin_hmr]
version = "0.1.1"

[dependencies.rolldown_plugin_lazy_compilation]
version = "0.1.1"

[dependencies.rolldown_plugin_oxc_runtime]
version = "0.1.1"

[dependencies.rolldown_resolver]
version = "0.1.1"

[dependencies.rolldown_sourcemap]
version = "0.1.1"

[dependencies.rolldown_std_utils]
version = "0.1.1"

[dependencies.rolldown_tracing]
version = "0.1.1"

[dependencies.rolldown_utils]
version = "0.1.1"

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

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.140"
features = ["preserve_order"]

[dependencies.string_wizard]
version = "0.1.1"
features = ["serde"]

[dependencies.sugar_path]
version = "2.0.1"
features = ["cached_current_dir"]

[dependencies.tokio]
version = "1.45.0"
features = [
    "rt",
    "macros",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1.41"

[dependencies.url]
version = "2.5.4"

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh3"]

[dev-dependencies.cow-utils]
version = "0.1.3"

[dev-dependencies.insta]
version = "1.43.1"

[dev-dependencies.regex]
version = "1.11.1"

[dev-dependencies.rolldown_common]
version = "0.1.1"

[dev-dependencies.rolldown_workspace]
version = "0.1.1"

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

[dev-dependencies.serde_json]
version = "1.0.140"

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

[dev-dependencies.sugar_path]
version = "2.0.1"
features = ["cached_current_dir"]

[dev-dependencies.testing_macros]
version = "1.0.0"

[dev-dependencies.tokio]
version = "1.45.0"
features = [
    "rt",
    "macros",
    "sync",
    "rt-multi-thread",
]
default-features = false

[dev-dependencies.walkdir]
version = "2.5.0"

[lints.clippy]
allow_attributes = "deny"
branches_sharing_code = "allow"
case_sensitive_file_extension_comparisons = "allow"
clone_on_ref_ptr = "deny"
cognitive_complexity = "allow"
collapsible_if = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
empty_drop = "deny"
equatable_if_let = "allow"
exit = "deny"
fallible_impl_from = "allow"
filetype_is_file = "deny"
get_unwrap = "deny"
impl_trait_in_params = "allow"
iter_with_drain = "allow"
literal_string_with_formatting_args = "allow"
map_unwrap_or = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_collect = "allow"
needless_for_each = "allow"
new_without_default = "allow"
non_send_fields_in_send_ty = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
print_stderr = "deny"
print_stdout = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
rest_pat_in_fully_bound_structs = "deny"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
single_option_map = "allow"
string_lit_as_bytes = "allow"
struct_field_names = "allow"
todo = "deny"
too_long_first_doc_paragraph = "allow"
trivial_regex = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
unnecessary_safety_comment = "deny"
unnecessary_struct_initialization = "allow"
unused_self = "allow"
use_self = "allow"
useless_let_if_seq = "allow"
wrong_self_convention = "allow"
zero_sized_map_values = "allow"

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

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