# 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" name = "oxc-browserslist" version = "1.1.0" authors = [ "Boshen ", "Pig Fang ", ] build = false include = [ "/benches", "/examples", "/src", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust-ported Browserslist for Oxc." readme = "README.md" keywords = [ "javascript", "web", ] categories = [ "config", "web-programming", ] license = "MIT" repository = "https://github.com/oxc-project/oxc-browserslist" [lib] name = "browserslist" path = "src/lib.rs" [[example]] name = "inspect" path = "examples/inspect.rs" [[bench]] name = "resolve" path = "benches/resolve.rs" harness = false [dependencies.nom] version = "7.1" [dependencies.rustc-hash] version = "2.0.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3.36" [dev-dependencies.criterion2] version = "1.0.0" default-features = false [dev-dependencies.pico-args] version = "0.5.0" [dev-dependencies.test-case] version = "3.3" [features] codspeed = ["criterion2/codspeed"] default = [] wasm_bindgen = [ "js-sys", "serde-wasm-bindgen", "time/wasm-bindgen", "wasm-bindgen", ] [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen] version = "0.6" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" optional = true [lints.clippy] dbg_macro = "warn" todo = "warn" unimplemented = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.rust] absolute_paths_not_starting_with_crate = "warn" non_ascii_idents = "warn" unit-bindings = "warn" unsafe_code = "warn"