# 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 = "yew_translator" version = "1.0.1" authors = [ "Mahmoud Harmouch ", "Friquet Luca", ] description = "A i18n implementation for yew using string templaters." readme = "README.md" keywords = [ "yew", "handlebars", "i18n", "translation", "template", ] categories = [ "web-programming", "internationalization", "accessibility", "localization", ] license = "MIT OR Apache-2.0" repository = "https://github.com/FriquetLuca/yew_translator" [lib] name = "yew_translator" path = "src/lib.rs" [dependencies.handlebars] version = "6.0.0" optional = true [dependencies.serde] version = "1.0" features = [ "derive", "std", ] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1" optional = true [dependencies.yew] version = "0.21" optional = true [features] default = [ "yew-i18n", "handlebars", "translation_templater", "export_translation_templater", ] export_translation_templater = ["translation_templater"] handlebars = ["dep:handlebars"] translation_templater = ["dep:thiserror"] yew-i18n = ["dep:yew"]