auto_downloader

Crates.ioauto_downloader
lib.rsauto_downloader
version0.1.0
sourcesrc
created_at2024-03-18 20:18:32.44884
updated_at2024-03-18 20:18:32.44884
descriptionRust cargo crates with auto-update functionality.
homepage
repositoryhttps://github.com/bdr-pro/auto_downloader.git
max_upload_size
id1178418
size42,693
Bader Alotaibi (BDR-Pro)

documentation

README

🚀 Auto Downloader 🚀

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!

What's This Project All About? 🤔

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.

Getting Started 🚀

Prerequisites

Installation

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! ✨

Features 🌟

  • Automatic Updates: Checks for updates and downloads them without you having to move a muscle.
  • Secure: Verifies download integrity to keep the nasties away. 🛡️
  • Cross-Platform Goodness: Works on all your favorite platforms. 🖥️ 🍏 🪟

How to Use 🛠️

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!

Contributing 🤝

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!

License 📜

This project is proudly licensed under the MIT License. See the LICENSE file for details.

Final Words 📢

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!

Example

{
    "version": "1.0.1",
    "download_url": "https://example.com/your_application_1.0.1.exe",
    "sha256_checksum": "d73d56b328d5a8ffdf27430edb4d9d68e1e2a8f2c3e2656c672e4f6b76153a2b",
    "app_name": "your_application.exe"
}

Code


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),
    }
}


Authors

👤 Bader alotaibi @ baderalotaibi3@gmail.com

Show your support

Give a ⭐️ if you like this project!

Commit count: 1

cargo fmt