# πΊοΈ oak-source-map
[](https://crates.io/crates/oak-source-map)
[](https://docs.rs/oak-source-map)
**High-Performance Source Map v3 Implementation for Rust** β A complete, zero-copy Source Map v3 implementation with VLQ encoding/decoding, builder patterns, and map composition.
## π― Why oak-source-map?
Source maps are essential for debugging bundled and minified code. `oak-source-map` provides a high-performance, feature-complete implementation of the Source Map v3 specification, designed for both parsing and generating source maps efficiently.
## β¨ Key Features
- **π Full v3 Specification Support** β Complete implementation of the Source Map v3 format
- **β‘ VLQ Base64 Encoding/Decoding** β Fast and efficient VLQ processing
- **π Zero-Copy Parsing** β Minimal memory overhead when parsing existing maps
- **ποΈ Builder Pattern** β Incremental source map construction
- π Source Map Composition β Combine multiple source maps for chained transformations
- **π Mapping Lookup** β Efficient line/column mapping queries
- **π Serde Integration** β Seamless serialization and deserialization
## ποΈ Architecture
- `SourceMap` β Core source map representation
- `SourceMapBuilder` β Incremental map construction
- `SourceMapComposer` β Map composition for chained transformations
- `SourceMapDecoder` β Parser for existing source maps
- `vlq` β VLQ Base64 encoding/decoding utilities
- `mapping` β Mapping and segment data structures
## π Ecosystem Integration
Used by Oak language tools for debugging support and by bundlers and minifiers in the Rust ecosystem.
## π Documentation
For usage examples and API details, see the [API documentation](https://docs.rs/oak-source-map).
## π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.