| Crates.io | bitbucket |
| lib.rs | bitbucket |
| version | 0.1.2-alpha.1 |
| created_at | 2020-03-28 10:50:33.262458+00 |
| updated_at | 2020-03-29 20:19:18.63276+00 |
| description | Async bitbucket server bindings |
| homepage | https://github.com/cloudflavor/bitbucket-rs |
| repository | https://github.com/cloudflavor/bitbucket-rs |
| max_upload_size | |
| id | 223772 |
| size | 38,282 |
NOTE: work-in-progress async rust bindings for bitbucket server. This is published so that the name is reserved for use on crates.io.
extern crate bitbucket;
extern crate tokio;
use bitbucket::client::Client;
use bitbucket::prelude::*;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::new(
"my_token".to_string(),
"http://bitbucket.company.com".to_string(),
false,
false,
);
let proj = Project::new(client).get("my_project").await?;
println!("{:?}", proj);
Ok(())
}
Build and read the documentation locally.
$ cargo doc --open -p bitbucket --no-deps
Documenting bitbucket v0.1.0-alpha (rust/bitbucket-rs)
Finished dev [unoptimized + debuginfo] target(s) in 1.27s