[package] name = "swc-plugin-add-logging-dataset-wts" repository = "https://github.tossinvest.bz/frontend/add-logging-dataset.git" version = "0.1.1" edition = "2021" authors = ["SmileJayden "] description = "swc plugin add dataset for wts logging" categories = ["compilers"] keywords = ["swc-plugin"] readme = "README.md" exclude = ["Cargo.toml.bak"] license = "Apache-2.0" homepage = "https://github.tossinvest.bz/frontend/add-logging-dataset.git" documentation = "https://github.tossinvest.bz/frontend/add-logging-dataset" [lib] crate-type = ["cdylib", "rlib"] [dependencies] serde_json = "1.0.79" swc_cached = "0.3.17" swc_common = { version = "0.33.0", features = ["concurrent"] } swc_core = { version = "0.84.0", features = ["ecma_plugin_transform"] } swc_ecma_ast = "0.110.0" swc_ecma_utils = "0.124.0" swc_ecma_visit = "0.96.0" swc_plugin_macro = "0.9.15" tracing = { version = "0.1.37", features = ["release_max_level_off"] } [dev-dependencies] swc_ecma_parser = "0.141.0" swc_ecma_transforms_base = "0.134.0" swc_ecma_transforms_testing = "0.137.0" testing = "0.35.0" # .cargo/config defines few alias to build plugin. # cargo build-wasi generates wasm-wasi32 binary # cargo build-wasm32 generates wasm32-unknown-unknown binary. [profile.release] # This removes more dead code codegen-units = 1 lto = true # Optimize for size opt-level = "s" # Optimize for performance, this is default so you don't need to specify it # opt-level = "z" # Strip debug symbols strip = "symbols"