# 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 = "2018" name = "i18n-embed" version = "0.15.2" authors = ["Luke Frisken "] build = false exclude = [ "i18n/", "i18n.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Traits and macros to conveniently embed localization assets into your application binary or library in order to localize it at runtime." readme = "README.md" keywords = [ "embed", "macro", "i18n", "gettext", "fluent", ] categories = [ "localization", "internationalization", "development-tools::build-utils", "wasm", ] license = "MIT" repository = "https://github.com/kellpossible/cargo-i18n/tree/master/i18n-embed" [package.metadata.docs.rs] all-features = true [lib] name = "i18n_embed" path = "src/lib.rs" [[test]] name = "loader" path = "tests/loader.rs" [dependencies.arc-swap] version = "1" optional = true [dependencies.fluent] version = "0.16" optional = true [dependencies.fluent-langneg] version = "0.13" [dependencies.fluent-syntax] version = "0.11" optional = true [dependencies.gettext] version = "0.4" optional = true [dependencies.i18n-embed-impl] version = "0.8.4" optional = true [dependencies.intl-memoizer] version = "0.5" [dependencies.lazy_static] version = "1.4.0" [dependencies.locale_config] version = "0.3" optional = true [dependencies.log] version = "0.4" [dependencies.notify] version = "6.1.1" optional = true [dependencies.parking_lot] version = "0.12" optional = true [dependencies.rust-embed] version = "8.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tr] version = "0.1" optional = true default-features = false [dependencies.unic-langid] version = "0.9" [dependencies.walkdir] version = "2.4" optional = true [dependencies.web-sys] version = "0.3" features = [ "Window", "Navigator", ] optional = true [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.maplit] version = "1.0" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.serial_test] version = "3.0" [features] autoreload = ["notify"] default = ["rust-embed"] desktop-requester = ["locale_config"] filesystem-assets = ["walkdir"] fluent-system = [ "fluent", "fluent-syntax", "parking_lot", "i18n-embed-impl", "i18n-embed-impl/fluent-system", "arc-swap", ] gettext-system = [ "tr", "tr/gettext", "dep:gettext", "parking_lot", "i18n-embed-impl", "i18n-embed-impl/gettext-system", ] web-sys-requester = ["web-sys"] [badges.maintenance] status = "actively-developed"