13 releases

0.1.12 Dec 18, 2023
0.1.11 Nov 20, 2023
0.1.10 Oct 15, 2023
0.1.2 Sep 23, 2023
0.0.0 May 15, 2020

#1502 in Network programming

Download history 4/week @ 2023-12-18 15/week @ 2024-01-01 28/week @ 2024-02-19 8/week @ 2024-02-26 14/week @ 2024-03-11 81/week @ 2024-04-01

95 downloads per month
Used in hop-cli

MPL-2.0 license

105KB
2.5K SLoC

hop

This crate provides a Rust interface to the Hop API.

Installation

Add the following to your Cargo.toml file:

[dependencies]
hop = "0.1.0"

Usage

use hop::{Hop, HopOptions};

let hop = Hop::new_with_options(HopOptions {
    token: Some("your-token".to_string()),
    ..Default::default()
});

let me = hop.users.me().await?;

println!("Hello, {}!", me.user.name);

Dependencies

~4–18MB
~259K SLoC