[package] name = "source-map" version = "0.15.0" authors = ["Ben "] edition = "2018" description = "Utilities for building source maps (v3) for a compiler" license = "MIT" keywords = ["source-map"] categories = ["web-programming"] repository = "https://github.com/kaleidawave/source-map" [lints.clippy] all = "deny" [dependencies] lsp-types = { version = "0", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } base64 = { version = "0.21", optional = true } codespan-reporting = { version = "0.11", optional = true } self-rust-tokenize = { version = "0.3", optional = true } [target.'cfg(target_family = "wasm")'.dependencies] wasm-bindgen = "0.2" tsify = "0.4.5" [features] default = ["global-source-filesystem"] self-rust-tokenize = ["dep:self-rust-tokenize"] lsp-types-morphisms = ["dep:lsp-types"] serde-serialize = ["dep:serde"] inline-source-map = ["dep:base64"] codespan-reporting = ["dep:codespan-reporting"] global-source-filesystem = []