logo

Rust crates reviews

Cryptographically verifiable, distributed dependency reviews

crate: instant

https://lib.rs/crates/instant/

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

instant = "0.1.11"

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
1
3
1
1
2
crate version
rating
date
reviewer
thoroughness, understanding
instant 0.1.11
positive
2021-09-28
low, medium

just refactoring

instant 0.1.2
positive
2019-10-13
medium, high

std::time::Instant alternative that doesn't panic on wasm targets.

Pros:

  • Doesn't panic!
  • Just std::time::Instant on native, no performance hit or anything

Cons:

  • Just std::time::Instant on native, easy to accidentally use new std APIs unavailable on wasm
  • f64 repr for Instant makes me nervous
  • Unusual license choice for rust projects
  • Could use more test coverage
FileRatingNotes
.circleci/config.yml+1
src/lib.rs+1
src/native.rs+1I would've preferred a wrap Instant for ensuring compat, but sure.
src/wasm.rs0f64 repr might accumulate poorly
tests/wasm.rs0test_instant_now could spuriously fail if elapsed() == 0, would like to see more test coverage
.cargo_vcs_info.json+1
.cargo-ok+1
.gitignore+1Overkill
AUTHORS+1
Cargo.lock0Pointless, shouldn't be part of the package
Cargo.toml+1BSD-3-Clause
Cargo.toml.orig+1BSD-3-Clause
LICENSE+1BSD-3-Clause?
README.md+1
OtherRatingNotes
unsafe+1None
fs+1None
io+1None
docs0Mostly unnecessary
tests0Could use more

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

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