[package] authors = ["landaiqing "] description = "A WASM Based Rust Code Formatter" name = "rust_fmt" edition = "2021" homepage = "https://github.com/landaiqing/rust_fmt" keywords = ["wasm", "rust", "formatter"] license = "MIT" readme = "README.md" repository = "https://github.com/landaiqing/rust_fmt" version = "0.1.0" [dependencies] prettyplease = "0.2" serde = "1.0" serde-wasm-bindgen = "0.6" serde_json = "1.0" syn = { version = "2.0", features = ["full", "parsing", "printing"] } wasm-bindgen = "0.2.99" [lib] crate-type = ["cdylib", "rlib"] [package.metadata.wasm-pack.profile.release] wasm-opt = false [profile.release] codegen-units = 1 debug = false # set to `true` for debug information lto = true opt-level = "s" panic = "abort" # Let it crash and force ourselves to write safe Rust. strip = "symbols" # set to `false` for debug information