ezlime-rs

Crates.ioezlime-rs
lib.rsezlime-rs
version0.2.0
created_at2025-11-23 21:55:59.661697+00
updated_at2025-11-23 22:26:59.486927+00
descriptionA Rust client library for the ezli.me URL shortener API
homepage
repository
max_upload_size
id1947027
size60,260
(extrawurst)

documentation

https://docs.rs/ezlime-rs

README

ezlime-rs

Crates.io Documentation

A Rust client library for the ezli.me URL shortener API.

Installation

Add this to your Cargo.toml:

[dependencies]
ezlime-rs = "0.1"

Getting an API Key

To use the ezli.me API, you'll need an API key. If you're interested in using ezli.me for your own project, please join our Discord server to request an API key.

Basic Example

use ezlime_rs::EzlimeApi;

#[tokio::main]
async fn main() -> Result<(), ezlime_rs::EzlimeApiError> {
    let api = EzlimeApi::new("your-api-key-here".to_string());
    let original_url = "https://example.com/very/long/url/that/needs/shortening";

    let shortened = api.create_short_url(original_url).await?;
    println!("Shortened URL: {}", shortened);
    
    Ok(())
}

License

This project is licensed under either of:

at your option.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Links

Commit count: 0

cargo fmt