| Crates.io | source-map-cache |
| lib.rs | source-map-cache |
| version | 0.0.6 |
| created_at | 2025-03-29 18:50:38.713003+00 |
| updated_at | 2025-07-25 10:03:48.242569+00 |
| description | Source map cache |
| homepage | |
| repository | https://github.com/piot/source-map-cache |
| max_upload_size | |
| id | 1611552 |
| size | 37,375 |
Manages source files for a compiler, providing mapping between file IDs, paths, and source locations (line/column).
This crate provides the SourceMap struct, which is responsible for:
FileId (u16) to each loaded file.source-map-node) into human-readable line and column numbers.Add this to your Cargo.toml:
[dependencies]
source-map-cache = "0.0.2"
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/swamp/swamp