rolldown_plugin 1.2.0

Plugin interface for Rolldown bundler
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_plugin"
version = "1.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plugin interface for Rolldown bundler"
homepage = "https://rolldown.rs/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/rolldown/rolldown"

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

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

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

[dependencies.anyhow]
version = "1.0.103"

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

[dependencies.bitflags]
version = "2.13.0"

[dependencies.dashmap]
version = "6.2.1"

[dependencies.derive_more]
version = "2.1.1"
features = ["debug"]

[dependencies.nodejs-built-in-modules]
version = "1.0.0"

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

[dependencies.rolldown_common]
version = "1.2.0"

[dependencies.rolldown_devtools]
version = "1.2.0"

[dependencies.rolldown_ecmascript]
version = "1.2.0"

[dependencies.rolldown_error]
version = "1.2.0"

[dependencies.rolldown_fs]
version = "1.2.0"

[dependencies.rolldown_resolver]
version = "1.2.0"

[dependencies.rolldown_sourcemap]
version = "1.2.0"

[dependencies.rolldown_utils]
version = "1.2.0"

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

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

[dependencies.serde_json]
version = "1.0.150"

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

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

[dependencies.tokio]
version = "1.52.3"
features = ["sync"]
default-features = false

[dependencies.tracing]
version = "0.1.44"
features = ["valuable"]

[dependencies.typedmap]
version = "0.6.0"

[lints.clippy]
allow_attributes = "deny"
as_underscore = "deny"
assertions_on_result_states = "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"
deref_by_slicing = "deny"
doc_markdown = "allow"
empty_drop = "deny"
empty_enum_variants_with_brackets = "deny"
equatable_if_let = "allow"
exit = "deny"
fallible_impl_from = "allow"
filetype_is_file = "deny"
float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
get_unwrap = "deny"
impl_trait_in_params = "allow"
iter_with_drain = "allow"
large_include_file = "deny"
literal_string_with_formatting_args = "allow"
lossy_float_literal = "deny"
map_unwrap_or = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_read_write_in_expression = "deny"
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"
pathbuf_init_then_push = "deny"
precedence_bits = "deny"
print_stderr = "deny"
print_stdout = "deny"
pub_without_shorthand = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
rest_pat_in_fully_bound_structs = "deny"
self_named_module_files = "deny"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
single_option_map = "allow"
string_lit_as_bytes = "allow"
string_lit_chars_any = "deny"
struct_field_names = "allow"
suspicious_xor_used_as_pow = "deny"
todo = "deny"
too_long_first_doc_paragraph = "allow"
trivial_regex = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
unnecessary_self_imports = "deny"
unnecessary_struct_initialization = "allow"
unused_result_ok = "deny"
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