Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

crates.io : return_if_ok

A macro that returns a `Result` as-is if it’s `Ok(_)`, or unwraps it if it’s `Err(_)`. This is the “opposite” of `try!`, in the same way that `Result::or_else` is the opposite of `Result::and_then`.

Registry - Source - Documentation - JSON
purl: pkg:cargo/return_if_ok
License: MIT
Latest release: over 9 years ago
First release: over 9 years ago
Downloads: 1,788 total
Stars: 88 on GitHub
Forks: 12 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago

Top 4.8% on crates.io
matches 0.1.10
A macro to evaluate, as a boolean, whether an expression matches a pattern.
12 versions - Latest release: over 1 year ago - 307 dependent packages - 44,670 dependent repositories - 96.6 million downloads total - 88 stars on GitHub - 1 maintainer
ref_filter_map 1.0.1
Like `std::cell::{Ref,RefMut}::map`, but for optional components.
2 versions - Latest release: about 8 years ago - 1 dependent package - 18 dependent repositories - 205 thousand downloads total - 88 stars on GitHub - 1 maintainer
mod_path 0.1.6
A work-around for Rust bug #18810.
7 versions - Latest release: over 8 years ago - 8 dependent repositories - 11.7 thousand downloads total - 88 stars on GitHub - 1 maintainer
text_writer 0.1.11
Depreacted. Use `std::fmt::Write` instead.
12 versions - Latest release: about 9 years ago - 1 dependent package - 9 dependent repositories - 26.3 thousand downloads total - 88 stars on GitHub - 1 maintainer
triable 0.1.2
Extends the `try!` macro to types other than `std::result::Result` by introducing a `Triable` tra...
3 versions - Latest release: about 9 years ago - 3.3 thousand downloads total - 88 stars on GitHub - 1 maintainer
zip-longest 0.1.7
Take two iterators and yield pairs until both are exhausted.
9 versions - Latest release: about 9 years ago - 9.42 thousand downloads total - 88 stars on GitHub - 1 maintainer
show 0.1.1
A `show!` debugging macro to print expressions with the Show formatting trait, without writing ou...
2 versions - Latest release: over 9 years ago - 1 dependent repositories - 2.66 thousand downloads total - 88 stars on GitHub - 1 maintainer