27 releases
0.1.29 | Jul 20, 2021 |
---|---|
0.1.28 | Jul 20, 2021 |
0.1.27 | Jun 16, 2021 |
0.1.23 | May 6, 2021 |
0.1.18 | Dec 31, 2020 |
#1994 in Web programming
170 downloads per month
68KB
1K
SLoC
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 Shippo API.
- For more information, the Shippo API is documented at goshippo.com/docs/reference.
- Example:
-
- use serde::{Deserialize, Serialize};
- use shippo::Shippo;
- async fn get_shipments() {
-
// Initialize the Shippo client.
-
let shippo = Shippo::new_from_env();
-
// List the shipments.
-
let shipments = shippo.list_shipments().await.unwrap();
-
// Iterate over the shipments.
-
for shipment in shipments {
-
println!("{:?}", shipment);
-
}
- }
-
Dependencies
~6–18MB
~243K SLoC