intlayer-swc-plugin 9.5.10

SWC transform plugin for Intlayer. Replaces `useIntlayer` / `getIntlayer` string keys with pre-loaded dictionary imports at compile time, enabling tree-shaking and eliminating runtime registry lookups.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "intlayer-swc-plugin"
version = "9.5.10"
authors = ["Aymeric Pineau <ay.pineau@gmail.com>"]
build = false
include = [
    "src/**",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SWC transform plugin for Intlayer. Replaces `useIntlayer` / `getIntlayer` string keys with pre-loaded dictionary imports at compile time, enabling tree-shaking and eliminating runtime registry lookups."
homepage = "https://intlayer.org"
documentation = "https://docs.rs/intlayer-swc-plugin"
readme = "README.md"
keywords = [
    "intlayer",
    "i18n",
    "swc",
    "plugin",
    "internationalization",
]
categories = [
    "internationalization",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/aymericzip/intlayer"

[features]
default = []
plugin = ["swc_core/ecma_plugin_transform"]

[lib]
name = "intlayer_swc_plugin"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.base62]
version = "2.2.1"

[dependencies.pathdiff]
version = "0.2"

[dependencies.serde]
version = "1.0.207"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.125"

[dependencies.swc_core]
version = "54.0.0"
features = [
    "ecma_utils",
    "ecma_visit",
    "ecma_ast",
    "ecma_parser",
    "ecma_codegen",
    "common",
]

[dependencies.twox-hash]
version = "2.1.0"

[dev-dependencies.swc_core]
version = "54.0.0"
features = [
    "testing_transform",
    "ecma_plugin_transform",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(swc_ast_unknown)"]

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = "symbols"