Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pnpm/pacquet

experimental package manager for node.js
https://github.com/pnpm/pacquet

or -> or_else

So, because we do some work in the conversion of these error messages,
*technically* this way is...

0318e1bfc7f928f7000abe5c4427c3f2e4480c65 authored over 1 year ago by Steve Klabnik <[email protected]>
Re-work errors slightly

Okay so this is, in my mind, slightly better error handling. Instead of
erasing everything to a ...

b8359324a9ce48a85e9e19b71792b205433e17df authored over 1 year ago by Steve Klabnik <[email protected]>
or_else -> map_err

Turns out that now that we're using or_else, clippy recognizes that
there's a better method on r...

01a77df50460d5cf67b0464d7da861cfe52a895a authored over 1 year ago by Steve Klabnik <[email protected]>
Use #[from]

thiserror provides a way to generate from implementations. This commit
demonstrates using this f...

5be1eadfa83bda25d2dc72ef3271718cf0f32bb4 authored over 1 year ago by Steve Klabnik <[email protected]>
remove unused main function in lib.rs

921cb144399e0ca49aba540b261a285b920ea2fe authored over 1 year ago by Steve Klabnik <[email protected]>
Prefer & to .as_str()

This code works via a feature called "Deref coercion." Basically:

If T implements Deref<Target ...

1dd2f86e3c1d7ca3379c52807914c37a3997140a authored over 1 year ago by Steve Klabnik <[email protected]>
Clippy suggestion: nonexhastive enum

Given that you're exporting this enum, you have a choice to make:

1. never add another varaint ...

8d73d3079d856ec2752c9fbde0833e301a755115 authored over 1 year ago by Steve Klabnik <[email protected]>
Remove unwrap in from_registry

you were even mapping these to a Result, only to call unwrap on them!

cf73c75fc194b2d9ae16cd61dff0feca69827347 authored over 1 year ago by Steve Klabnik <[email protected]>
Remove an unwrap

You're already returning Result, best to not panic.

I decided to try and keep this in the same ...

091e792df390a9ea12316da2a806e09c83a39290 authored over 1 year ago by Steve Klabnik <[email protected]>
(partially) address TOCTOU

When working with filesystems, especially, code that vaguely looks like
this:

```
if !a_file.ex...

a3a211cc51413506b1eb950e2e8be94b76ea26ea authored over 1 year ago by Steve Klabnik <[email protected]>
Use tokio main macro

I think this looks nicer. 100% subjective, of course :)

10b2104c0f09bd9e221772f1b13f69778c78f135 authored over 1 year ago by Steve Klabnik <[email protected]>
handle windows testing

94da2479f259c615ef68c035efe21b7a09337efc authored over 1 year ago by Yagiz Nizipli <[email protected]>
conform to clippy

c4de9ec4ee07da52ce4f5e3d5d4fa6c889070549 authored over 1 year ago by Yagiz Nizipli <[email protected]>
use correct crate name

9bdf18ad2c35733bf011959dd0a2d164f29b5f55 authored over 1 year ago by Yagiz Nizipli <[email protected]>
add github workflow

a73aa8b08e88edbd75e0c38f485fe7eed5502c16 authored over 1 year ago by Yagiz Nizipli <[email protected]>
add init command

a19e6614f8bb6448c54c985fa7523be398e5ce53 authored over 1 year ago by Yagiz Nizipli <[email protected]>
add package json module

ed88888562261f188faac346082130d269a3d7f2 authored over 1 year ago by Yagiz Nizipli <[email protected]>
update readme

371a060f3a97164b935f047685ce4480e6378671 authored over 1 year ago by Yagiz Nizipli <[email protected]>
properly clear cache folder

f89f6411c730a0648919f2d5f4771300ba87184a authored over 1 year ago by Yagiz Nizipli <[email protected]>
add tarball extraction

e4d75fa9497b611dbdf9ca1dfb45f601518c4cfc authored over 1 year ago by Yagiz Nizipli <[email protected]>
add ability to download tarball

3b145c93d72f7948fa0ccdc6c3d9cc50bc05cd0e authored over 1 year ago by Yagiz Nizipli <[email protected]>
feat: initial commit

095f13adfdf2244520e159c7f939f1deb594746f authored over 1 year ago by Yagiz Nizipli <[email protected]>