# 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 = "2021" rust-version = "1.76" name = "oxc_sourcemap" version = "0.36.0" authors = [ "Boshen ", "Oxc contributors", ] build = false include = ["/src"] autobins = false autoexamples = false autotests = false autobenches = false description = "A collection of JavaScript tools written in Rust." homepage = "https://oxc.rs" readme = "README.md" keywords = [ "JavaScript", "TypeScript", "linter", "minifier", "parser", ] categories = [ "compilers", "development-tools", "web-programming", ] license = "MIT" repository = "https://github.com/oxc-project/oxc" [lib] name = "oxc_sourcemap" path = "src/lib.rs" doctest = false [dependencies.base64-simd] version = "0.8" [dependencies.cfg-if] version = "1.0.0" [dependencies.cow-utils] version = "0.1.3" [dependencies.rayon] version = "1.10.0" optional = true [dependencies.rustc-hash] version = "2.*" [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.128" [features] concurrent = ["dep:rayon"] default = [] [lints.clippy] allow_attributes = "warn" cargo_common_metadata = "allow" clone_on_ref_ptr = "warn" dbg_macro = "warn" doc_lazy_continuation = "allow" doc_markdown = "allow" empty_drop = "warn" empty_structs_with_brackets = "warn" exit = "warn" filetype_is_file = "warn" get_unwrap = "warn" impl_trait_in_params = "warn" infinite_loop = "warn" missing_const_for_fn = "allow" module_name_repetitions = "allow" multiple_crate_versions = "allow" must_use_candidate = "allow" print_stderr = "warn" print_stdout = "warn" rc_buffer = "warn" rc_mutex = "warn" rest_pat_in_fully_bound_structs = "warn" self_named_module_files = "warn" struct_excessive_bools = "allow" todo = "warn" too_many_lines = "allow" undocumented_unsafe_blocks = "warn" unimplemented = "warn" unnecessary_safety_comment = "warn" wildcard_imports = "allow" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.empty_docs] level = "allow" priority = 1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] absolute_paths_not_starting_with_crate = "warn" non_ascii_idents = "warn" unit-bindings = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(coverage)", "cfg(coverage_nightly)", ]