Crates.io | auto_downloader |
lib.rs | auto_downloader |
version | 0.1.0 |
source | src |
created_at | 2024-03-18 20:18:32.44884 |
updated_at | 2024-03-18 20:18:32.44884 |
description | Rust cargo crates with auto-update functionality. |
homepage | |
repository | https://github.com/bdr-pro/auto_downloader.git |
max_upload_size | |
id | 1178418 |
size | 42,693 |
Hey there, fellow Rustacean! 👋 Welcome to auto_downloader
, the coolest Rust project for automatically updating your app with zero hassle. Whether you're looking to keep your application up-to-date without lifting a finger or just dabbling in Rust, you've come to the right place!
In the digital world, staying updated is the name of the game. That's why auto_downloader
is here to save the day! It checks for updates, downloads the new version, and gets your app running the latest and greatest version in no time. It's like having a little robot 🤖 inside your computer, making sure you're always at the cutting edge.
add this to your Cargo.toml
file:
[dependencies]
auto_downloader = "0.1.0"
Voilà! You're now running auto_downloader
. Watch it work its magic! ✨
Honestly? Just let it do its thing! auto_downloader
works in the background, ensuring your application is always up to date. For those who like to tinker, dive into the src
folder to see how the magic happens. Who knows, you might find some cool ideas for your next Rust project!
Want to contribute? Awesome! Feel free to fork the repo, make your changes, and submit a pull request. All ideas and contributions are welcome. Let's make auto_downloader
even better together!
This project is proudly licensed under the MIT License. See the LICENSE file for details.
Thanks for checking out auto_downloader
! If you like what you see, give it a star ⭐, and share it with your friends. Happy coding, and may your applications always be up-to-date!
{
"version": "1.0.1",
"download_url": "https://example.com/your_application_1.0.1.exe",
"sha256_checksum": "d73d56b328d5a8ffdf27430edb4d9d68e1e2a8f2c3e2656c672e4f6b76153a2b",
"app_name": "your_application.exe"
}
use auto_downloader::update_application;
fn main() {
let current_version: &str = "1.0.0";
let info_url: &str = "https://example.com/version_info";
let respone:Result<_, _> =update_application(current_version, info_url);
match respone {
Ok(()) => println!("Application updated successfully."),
Err(e) => println!("Error updating application: {}", e),
}
}
👤 Bader alotaibi @ baderalotaibi3@gmail.com
Give a ⭐️ if you like this project!