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 |
#2360 in Web programming
62 downloads per month
10KB
158 lines
cio
Helper functions and types for doing the activities of a CIO.
Configuration
Runtime Flags
Specific runtime behaviors can be controlled via environment variables. Flags are disabled by default and setting the variable to true
will enable the feature.
Flag | Description |
---|---|
RFD_PDFS_IN_GITHUB | Enables committing of rendered RFD PDFs back to their source repo |
RFD_PDFS_IN_GOOGLE_DRIVE | Enables writing of rendered RFD PDFs to Google Drive |
The architecture for this application server and all it's surroundings is:
lib.rs
:
- 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
~4–19MB
~259K SLoC