Files
Donny/강동윤andGitHub 93c331826e refactor(es/lexer): remove smartstring dependency (#12013)
**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
2026-07-11 13:29:34 +09:00
..
2025-11-01 10:34:45 +09:00