rspack_javascript_compiler 0.7.4

Rspack javascript compiler
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 = "rspack_javascript_compiler"
version = "0.7.4"
authors = ["Rspack Teams"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rspack javascript compiler"
homepage = "https://rspack.rs/"
documentation = "https://rspack.rs/"
readme = false
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/web-infra-dev/rspack"
resolver = "2"

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

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

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

[dependencies.anyhow]
version = "1.0.100"
features = [
    "backtrace",
    "std",
]
default-features = false

[dependencies.base64]
version = "0.22.1"
default-features = false

[dependencies.indoc]
version = "2.0.7"
default-features = false

[dependencies.jsonc-parser]
version = "0.26.2"
features = ["serde"]
default-features = false

[dependencies.rspack_error]
version = "=0.7.4"
default-features = false

[dependencies.rspack_sources]
version = "=0.4.17"
default-features = false

[dependencies.rspack_util]
version = "=0.7.4"
default-features = false

[dependencies.rspack_workspace]
version = "=0.7.4"
default-features = false

[dependencies.rustc-hash]
version = "2.1.1"
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0.149"
features = ["std"]
default-features = false

[dependencies.swc_config]
version = "3.1.2"
default-features = false

[dependencies.swc_core]
version = "55.0.0"
features = [
    "parallel_rayon",
    "__ecma",
    "__visit",
    "__utils",
    "__ecma_transforms",
    "__parser",
    "ecma_ast",
    "ecma_codegen",
    "ecma_quote",
    "common_concurrent",
    "swc_ecma_ast",
    "ecma_transforms_react",
    "ecma_transforms_module",
    "ecma_parser_unstable",
    "swc_ecma_codegen",
    "swc_ecma_visit",
]
default-features = false

[dependencies.swc_ecma_minifier]
version = "43.0.0"
features = ["concurrent"]
default-features = false

[dependencies.swc_error_reporters]
version = "20.0.0"
default-features = false

[dependencies.swc_node_comments]
version = "18.0.0"
default-features = false

[dependencies.url]
version = "2.5.8"
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.stacker]
version = "0.1.22"
default-features = false

[lints.clippy]
cargo_common_metadata = "allow"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
doc_link_with_quotes = "warn"
empty_docs = "allow"
empty_drop = "warn"
empty_enums = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
infinite_loop = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
mismatching_type_param_order = "warn"
multiple_crate_versions = "allow"
mut_mut = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_for_each = "warn"
no_effect_underscore_binding = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn"
stable_sort_primitive = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_join = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
verbose_bit_mask = "warn"
verbose_file_reads = "warn"
zero_sized_map_values = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
dead_code = "warn"
trivial_numeric_casts = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(allocative)"]