6 releases

0.1.5 May 6, 2021
0.1.4 May 6, 2021
0.1.2 Apr 12, 2021
0.1.0 Dec 30, 2020
Download history 12/week @ 2023-10-24 18/week @ 2023-10-31 9/week @ 2023-11-07 24/week @ 2023-11-14 17/week @ 2023-11-21 29/week @ 2023-11-28 19/week @ 2023-12-05 14/week @ 2023-12-12 17/week @ 2023-12-19 15/week @ 2023-12-26 61/week @ 2024-01-02 58/week @ 2024-01-09 79/week @ 2024-01-16 80/week @ 2024-01-23 25/week @ 2024-01-30 14/week @ 2024-02-06

205 downloads per month

Apache-2.0

10KB
158 lines

  • A rust library for interacting with the Tailscale API.
  • For more information, the Tailscale API is still in beta. The docs are
  • here: https://github.com/tailscale/tailscale/blob/main/api.md
  • Example:
  • use serde::{Deserialize, Serialize};
  • use tailscale_api::Tailscale;
  • async fn get_devices() {
  • // Initialize the Tailscale client.
    
  • let tailscale = Tailscale::new_from_env();
    
  • // List the devices.
    
  • let devices = tailscale.list_devices().await.unwrap();
    
  • println!("{:?}", devices);
    
  • }
  • 
    

Dependencies

~5–18MB
~265K SLoC