# 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" name = "i18nify" version = "0.4.1" authors = [ "David Pedersen ", "Kingz Cheung ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A type-safe localization library using code generation" homepage = "https://github.com/kingzcheung/i18nify" documentation = "https://docs.rs/i18nify" readme = "README.md" keywords = [ "i18n", "localization", "translation", "Internationalisation", "type-safe", ] categories = [ "web-programming", "internationalization", ] license = "MIT" repository = "https://github.com/kingzcheung/i18nify.git" [lib] name = "i18nify" path = "src/lib.rs" [[example]] name = "axum" path = "examples/axum.rs" required-features = ["axum"] [[example]] name = "basic" path = "examples/basic.rs" required-features = ["json"] [[example]] name = "basic_toml" path = "examples/basic_toml.rs" required-features = ["toml"] [dependencies.axum] version = "0.7.7" features = ["tokio"] optional = true [dependencies.futures-util] version = "0.3.31" optional = true [dependencies.i18nify-macro] version = "0.4.1" optional = true default-features = false [dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.tower] version = "0.5.1" optional = true [features] axum = [ "dep:axum", "tokio", "tower", "futures-util", ] default = [ "json", "axum", ] json = ["i18nify-macro/json"] toml = ["i18nify-macro/toml"]