# 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" rust-version = "1.70.0" name = "fluent-templates" version = "0.11.0" authors = ["XAMPPRocky "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Templating for the Fluent localization framework" documentation = "https://docs.rs/fluent-templates/" readme = "README.md" keywords = [ "handlebars", "tera", "fluent", "internationalization", "localization", ] categories = [ "internationalization", "localization", "template-engine", ] license = "MIT/Apache-2.0" repository = "https://github.com/XAMPPRocky/fluent-templates" resolver = "2" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] [lib] name = "fluent_templates" path = "src/lib.rs" [[test]] name = "template" path = "tests/template.rs" [dependencies.fluent-bundle] version = "0.15" [dependencies.fluent-langneg] version = "0.13" [dependencies.fluent-syntax] version = "0.11" [dependencies.fluent-template-macros] version = "0.11.0" optional = true [dependencies.flume] version = "0.11" optional = true default-features = false [dependencies.handlebars] version = "6" optional = true [dependencies.heck] version = "0.5" optional = true [dependencies.ignore] version = "0.4" optional = true [dependencies.intl-memoizer] version = "0.5" [dependencies.log] version = "0.4" optional = true [dependencies.once_cell] version = "1.19" [dependencies.serde_json] version = "1" optional = true [dependencies.tera] version = "1.15" optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.unic-langid] version = "0.9" features = [ "macros", "macros", ] [dependencies.walkdir] version = "2" optional = true [dev-dependencies.tempfile] version = "3.3" [features] default = [ "macros", "ignore", ] handlebars = [ "dep:handlebars", "dep:serde_json", ] ignore = [ "dep:ignore", "fluent-template-macros/ignore", "dep:flume", "dep:log", ] macros = ["fluent-template-macros"] tera = [ "dep:tera", "dep:heck", "dep:serde_json", ] walkdir = [ "dep:walkdir", "fluent-template-macros/walkdir", "dep:log", ]