Rust-jsr-registry
Part of the teamdunno's jsr-registry
packages
This is the unofficial api wrapper for JSR, a new npm like registry owned by Deno
Installation
Get started by running
$ cargo add rust-jsr-registry
Example
Initialize a cargo project using
$ cargo init <folder name here>
Then on the initialized folder, add tokio
and rust-jsr-registry
itself
$ cargo add tokio rust-jsr-registry
Then edit the src/main.rs
with following content
// import fetcher, and packages
use ;
// add tokio to the module
async
Then run the project
$ cargo run
Note
Every JSR api is allowed for public use, but they does'nt document it very well. See https://jsr.io/docs/api