sourcemap breaking changes
cargo5 curated breaking changes across major versions of sourcemap. Use this as a migration checklist before bumping dependencies.
5
changes
Breaking changes by transition
- 5.0.0 \u2192 6.0.0breaking
The `SourceMapRef::Missing` variant was removed in favor of explicit `Option`s.
- 5.0.0 \u2192 6.0.0breaking
The `locate_sourcemap_reference_slice` and `locate_sourcemap_reference` functions now return a `Option`.
- 5.0.0 \u2192 6.0.0breaking
`SourceMapRef::get_url` does _not_ return an `Option` anymore.
- 5.0.0 \u2192 6.0.0breaking
Added missing `Clone` and `Debug` impls to a lot of types.
- 5.0.0 \u2192 6.0.0breaking
A lot of new convenience API, including a `DecodedMap::get_original_function_name` method that works across all supported SourceMap types.
API access
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/sourcemap