pasty-rs
A low level API wrapper for pasty.
cargo add pasty-rs
Because this SDK currently only allows async requests, you might want to install an async runtime like tokio, async-std or smol.
Example Usage
The following example uses tokio as async runtime.
cargo add tokio --features all
use UnauthenticatedClient;
async
Limitations
Because this is a somewhat quick and dirty implementation I need for another project, this crate currently has some limitations.
- Currently only supports async requests.
- Currently does not support the report paste endpoint.
License
This crate is licensed under the MIT License.
pasty is licensed under the MIT License, (c) 2020 Lukas SP.