Cargo Features

[dependencies]
source-map = { version = "0.15.0", default-features = false, features = ["self-rust-tokenize", "lsp-types-morphisms", "serde-serialize", "inline-source-map", "codespan-reporting", "global-source-filesystem"] }
default = global-source-filesystem

The global-source-filesystem feature is set by default whenever source-map is added without default-features = false somewhere in the dependency tree.

self-rust-tokenize

Enables self-rust-tokenize ^0.3

Affects source_id::SPAN_TOKEN_IDENT

lsp-types-morphisms

Enables lsp-types

serde-serialize

Enables serde

inline-source-map

Enables base64 ^0.21

codespan-reporting

Enables codespan-reporting

Affects filesystem::CodeSpanStore

global-source-filesystem default

Affects filesystem::global_store