swc_common 0.31.22

Common utilities for the swc project.
docs.rs failed to build swc_common-0.31.22
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: swc_common-0.33.25

Utilities for the swc project

Cargo features


Adds default implementation of Emitter. Enabling this feature will add tty-related dependencies.


Adds methods to generate web sourcemap.


Base mode for plugins, which can be enabled by plugin-mode or plugin-rt.

This mode creates a trait which can be used to override swc_common itself.


Creates an implementation for the plugin trait. This implements simply invokes thread-locals declared in swc_common.


Allows replacing operations related to thread-local variables with a trait.


Use ahash instead of rustc_hash for AHashMap and AHashSet.