smashnet

Crates.iosmashnet
lib.rssmashnet
version0.2.1
sourcesrc
created_at2022-11-11 20:05:13.372832
updated_at2024-02-19 01:19:05.105683
descriptionA Rust crate which hooks Smash Ultimate's libcurl in order to perform https operations.
homepage
repositoryhttps://github.com/techyCoder81/smashnet
max_upload_size
id713031
size43,315
(techyCoder81)

documentation

README

Smashnet

This is a crate which exposes GET request and download functionality for smash ultimate plugins. Instead of using minreq, which is slow due to lack of openssl impl for the switch, and which also requires devkitpro, this crate allows you to make get requests and download files using the game's own statically linked libcurl, which is offset hooked as necessary when Curler::new() is used.

Example usage:

use smashnet::types::*;

#[skyline::main(name = "your-plugin-here")]
pub fn main() {
  Curler::new()
    .progress_callback(|progress, total| println!("Progress: {}", progress/total))
    .download("https://github.com/techyCoder81/smashnet-nro/releases/download/nightly/checksum.txt");
}
Commit count: 46

cargo fmt