rspack_napi 0.100.0

rspack napi
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_napi"
version = "0.100.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rspack napi"
readme = false
license = "MIT"
repository = "https://github.com/web-infra-dev/rspack"
resolver = "2"

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

[dependencies.napi]
version = "3.8.5"
features = [
    "async",
    "tokio_rt",
    "serde-json",
    "anyhow",
    "napi9",
    "compat-mode",
]
default-features = false

[dependencies.oneshot]
version = "0.1.11"
features = [
    "std",
    "async",
]
default-features = false

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

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

[dependencies.tokio]
version = "1.52.1"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
]
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_regex = "warn"
invalid_upcast_comparisons = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
iter_with_drain = "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"
no_effect_underscore_binding = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
regex_creation_in_loops = "warn"
rest_pat_in_fully_bound_structs = "warn"
stable_sort_primitive = "warn"
trivial_regex = "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)",
    'cfg(dylint_lib, values("rspack_collection_hasher"))',
]