build: remove tokio and bin

This commit is contained in:
rzmk 2025-05-02 17:17:57 -04:00
parent e2c7841f4a
commit a7fa0ac862
No known key found for this signature in database
3 changed files with 0 additions and 87 deletions

View file

@ -1,14 +0,0 @@
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Initialize and build CKAN struct
let ckan = ckanaction::CKAN::builder()
.url("http://localhost:5000")
.token("CKAN_API_TOKEN".to_string())
.build();
// Send request to /status_show and print output
let status_show = ckan.status_show().await?;
println!("{status_show:#?}");
Ok(())
}