# 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 = "zhconv" version = "0.3.1" authors = ["Hung-I Wang "] description = "Traditional/Simplified and regional Chinese variants converter based on MediaWiki & OpenCC rulesets and powered by AC automata 轉換简体、繁體及兩岸、新馬中文地區詞,基於MediaWiki和OpenCC之字詞轉換表" readme = "README.md" categories = [ "text-processing", "localization", "value-formatting", "wasm", ] license = "GPL-2.0-or-later" repository = "https://github.com/Gowee/zhconv-rs" [lib] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "zhconv_benchmark" harness = false [dependencies.daachorse] version = "1.0" [dependencies.itertools] version = "0.10" [dependencies.lazy_static] version = "1.4" [dependencies.once_cell] version = "1.8" [dependencies.regex] version = "1.5" [dependencies.ruzstd] version = "0.4" optional = true [dependencies.strum] version = "0.24" features = ["derive"] [dev-dependencies.criterion] version = "0.3" [dev-dependencies.wasm-bindgen-test] version = "0.3" [build-dependencies.daachorse] version = "1.0" [build-dependencies.hex-literal] version = "0.4" [build-dependencies.itertools] version = "0.10" [build-dependencies.lazy_static] version = "1.4" optional = true [build-dependencies.once_cell] version = "1.8" [build-dependencies.regex] version = "1.5" [build-dependencies.sha2] version = "0.10" [build-dependencies.vergen] version = "8.2" features = [ "build", "git", "gitcl", ] [build-dependencies.zstd] version = "0.12" optional = true [features] compress = [ "zstd", "ruzstd", ] default = ["compress"] opencc = ["lazy_static"] [target."cfg(target_arch = \"wasm32\")".dependencies.console_error_panic_hook] version = "0.1" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2"