gouqi
a rust interface for jira
Forked from goji https://github.com/softprops/goji
install
Add the following to your Cargo.toml file
[]
= "*"
# Optional: Enable async API
= { = "*", = ["async"] }
usage
Please browse the examples directory in this repo for some example applications.
Basic usage requires a jira host, and a flavor of jira::Credentials for authorization.
Synchronous API
The default API uses synchronous requests:
extern crate gouqi;
use ;
use env;
use error;
Asynchronous API
With the async feature enabled, you can use the asynchronous API:
extern crate gouqi;
use StreamExt;
use ;
use env;
use error;
async
You can also convert between sync and async clients:
// Convert from sync to async
let sync_jira = new?;
let async_jira = sync_jira.into_async;
// Convert from async to sync
let async_jira = r#new?;
let sync_jira = cratefrom;
## Commiting a PR
Please make sure to run `cargo fmt`, `cargo test` and `cargo clippy` before committing.
New code should contains tests.
Commits to follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
Changelog is generated using [git cliff](https://github.com/orhun/git-cliff)
```sh
cargo install git-cliff
git cliff -o --use-branch-tags
what's with the name
Jira's name is a shortened form of gojira, another name for godzilla. Goji is a play on that.
Goji (Chinese: 枸杞; pinyin: gǒuqǐ)
Doug Tangren (softprops) 2016-2018