| Crates.io | source-map |
| lib.rs | source-map |
| version | 0.15.0 |
| created_at | 2021-05-06 10:25:39.183325+00 |
| updated_at | 2024-05-21 17:04:08.060041+00 |
| description | Utilities for building source maps (v3) for a compiler |
| homepage | |
| repository | https://github.com/kaleidawave/source-map |
| max_upload_size | |
| id | 393778 |
| size | 66,815 |
Utilities for building source maps (v3), handling source location representations and source files.
SpanWithSource, a structure which represents a section of a specific sourceSpanWithoutSource, a structure which represents a general section without a specific sourceSourceId, a identifier for a source fileStringWithOptionalSourceMap, along with the ToString trait makes generating string representations with and adding source markings triviallsp-types-morphisms feature which allows conversion of position type to lsp-typesMapFileStore struct and the FileSystem trait for storing source files and other informationSee generated example on GitHub actions.
git clone https://github.com/kaleidawave/source-map
cd source-map
cargo run -F inline-source-map --example source_map_creation -- LICENSE LICENSE.map
View pairings generated by uploading LICENSE.map to evan w's source map visualizer