logo

Rust crates reviews

Cryptographically verifiable, distributed dependency reviews

crate: gettext-rs

https://lib.rs/crates/gettext-rs/

Add the last reviewed version to Cargo.toml / [dependencies]:

gettext-rs = "0.7.0"

Filter reviews clicking on the numbers in the summary.

Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.

Neg
Neu
Pos
Str
tho
und
rev
12
12
4
4
4
4
4
4
crate version
rating
date
reviewer
thoroughness, understanding
gettext-rs 0.5.0
negative
2021-02-16
high, high

The crate provides safe wrappers for FFI bindings from gettext-sys crate.
The bindings are suspicious as they might use already-deallocated memory[1],
and they don't document panic conditions[2].

  1. https://github.com/Koka/gettext-rs/issues/34
  2. https://github.com/Koka/gettext-rs/issues/33

Furthermore, the library seems to assume that the locale charset is UTF-8[3],
which if false can lead to garbled translations as non-UTF-8 bytes would be
replaced by U+FFFD.

  1. https://github.com/Koka/gettext-rs/issues/35

The UTF-8 and documentation issues would cap the rating at "positive", but
the memory issue puts this crate into "negative" territory.

gettext-rs 0.5.0
negative
2021-02-16
high, high

The crate provides safe wrappers for FFI bindings from gettext-sys crate.
The bindings are suspicious as they might use already-deallocated memory[1],
and they don't document panic conditions[2].

  1. https://github.com/Koka/gettext-rs/issues/34
  2. https://github.com/Koka/gettext-rs/issues/33

Furthermore, the library seems to assume that the locale charset is UTF-8[3],
which if false can lead to garbled translations as non-UTF-8 bytes would be
replaced by U+FFFD.

  1. https://github.com/Koka/gettext-rs/issues/35

The UTF-8 and documentation issues would cap the rating at "positive", but
the memory issue puts this crate into "negative" territory.

© bestia.dev 2023, MIT License, Version: 2023.608.1636

Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/