Cargo Features

tr = { version = "0.1.7", default-features = false, features = ["gettext", "gettext-rs"] }
default = gettext-rs

The gettext-rs feature is set by default whenever tr is added without default-features = false somewhere in the dependency tree.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

gettext implicit feature

Enables gettext


An implementation of Gettext translation framework for Rust

gettext-rs default

Affects tr::internal.init