silkworm_sourcemap 0.1.0-dev.1

Source-mapping for silkworm.
Documentation
  • Coverage
  • 14.29%
    1 out of 7 items documented0 out of 0 items with examples
  • Size
  • Source code size: 4.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.75 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • silkworm-rs/silkworm
    10 0 6
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • coa-mtk

Source-mapping for silkworm.

This crate is mostly intended to be an internal dependency of the silkworm project, an implementation of the Yarn interactive dialogue language in pure Rust. End users are expected to use silkworm, the user-facing API, instead of depending on this crate directly.

Most of the internals of silkworm is developed with the assumption that all code will reside in continuous memory addressable with bytes. This simplifies parsing, but erases information about source location. silkworm_sourcemap contains the necessary facility for converting byte-positions to locations in file and back.