[dependencies.compact_str]
version = "0.8.0"
[dependencies.miette]
features = ["fancy-no-syscall"]
version = "7.2.0"
[dependencies.oxc_allocator]
version = "0.25.0"
[dependencies.oxc_ast_macros]
version = "0.25.0"
[dependencies.schemars]
optional = true
version = "0.8.21"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.206"
[dependencies.tsify]
optional = true
version = "0.4.5"
[dependencies.wasm-bindgen]
optional = true
version = "0.2.92"
[features]
default = []
schemars = ["dep:schemars"]
serialize = ["compact_str/serde", "dep:serde", "dep:tsify", "dep:wasm-bindgen"]
[lib]
doctest = false
name = "oxc_span"
path = "src/lib.rs"
[lints.clippy]
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"
[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]
check-cfg = ["cfg(coverage)", "cfg(coverage_nightly)"]
level = "warn"
priority = 0
[package]
authors = ["Boshen <boshenc@gmail.com>", "Oxc contributors"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["compilers", "development-tools", "web-programming"]
description = "A collection of JavaScript tools written in Rust."
edition = "2021"
homepage = "https://oxc.rs"
include = ["/src"]
keywords = ["JavaScript", "TypeScript", "linter", "minifier", "parser"]
license = "MIT"
name = "oxc_span"
publish = true
readme = false
repository = "https://github.com/oxc-project/oxc"
rust-version = "1.74"
version = "0.25.0"