# 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.60" name = "oxc_formatter" version = "0.4.0" authors = [ "Boshen ", "Oxc contributors", ] description = "Oxc is a JavaScript / TypeScript tooling suite." homepage = "https://github.com/oxc-project/oxc" readme = "README.md" keywords = [ "JavaScript", "TypeScript", "parser", "linter", "minifier", ] categories = [ "development-tools", "web-programming", "compilers", ] license = "MIT" repository = "https://github.com/oxc-project/oxc" [lib] doctest = false [dependencies.oxc_allocator] version = "0.4.0" [dependencies.oxc_ast] version = "0.4.0" [dependencies.oxc_span] version = "0.4.0" [dependencies.oxc_syntax] version = "0.4.0" [dev-dependencies.oxc_parser] version = "0.4.0" [lints.clippy] clone_on_ref_ptr = "warn" dbg_macro = "warn" 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" missing_const_for_fn = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" 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" [lints.clippy.all] level = "warn" priority = 0 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust]