mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
**Description:** `smartstring` is archived and no longer maintained, but it was still used by the JSX entity readers in `swc_ecma_lexer` and `swc_ecma_parser` and by the `hstr` comparison benchmarks. This replaces the lexer buffers with the existing workspace dependency `compact_str::CompactString`, removes the obsolete `hstr` benchmark cases, and refreshes the root and standalone fixture/fuzz lockfiles so `smartstring` is no longer present in the repository dependency graph. JSX parsing behavior and public APIs are unchanged. Validation: - `cargo test -p swc_ecma_lexer -p swc_ecma_parser -p hstr` - `cargo check -p hstr --benches` - `cargo test -p swc_core -p swc_ecma_minifier -p swc_plugin_backend_tests` - `cargo fmt --all -- --check` - `cargo clippy --all --all-targets -- -D warnings` - `cargo tree -i smartstring --workspace --edges normal,dev` confirms the package is absent **Related issue:** Closes #11986