[package]
name = "jirust-cli"
version = "0.17.3"
edition = "2024"
rust-version = "1.85.0"
authors = ["Emanuele Panigati <ilpanich@gmail.com>"]
description = "A CLI tool to interact with Jira"
keywords = ["jira", "cli"]
repository = "https://github.com/ilpanich/jirust-cli"
documentation = "https://docs.rs/jirust-cli"
license = "Apache-2.0"
readme = "../README.md"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
yara-x = { version = "1.10.0", optional = true, default-features = false, features = [
"constant-folding",
"exact-atoms",
"fast-regexp",
"pe-module",
"dotnet-module",
"hash-module",
"math-module",
"string-module",
"time-module",
"parallel-compilation",
"linkme"
] }
anyhow = { version = "1.0.100", optional = true }
git2 = { version = "0.20.3", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
toml = "0.9.10"
clap = { version = "4.5", features = ["derive", "wrap_help"] }
clap_derive = "4.5"
rpassword = "7.4.0"
jira_v3_openapi = { version = "1.5.3", default-features = false, features = [
"common",
"issues_api",
"projects_api",
"version_api",
"link_issues_api",
] }
prettytable-rs = "0.10.0"
chrono = "0.4.42"
regex = "1.12.2"
futures = "0.3.31"
async-trait = "0.1"
walkdir = { version = "2.5.0", optional = true }
zip = { version = "7.0", default-features = false, features = [
"deflate",
], optional = true }
base64 = "0.22.1"
reqwest = { version = "^0.12", optional = true, default-features = false, features = [
"rustls-tls",
] }
sha2 = { version = "0.10", optional = true }
tempfile = { version = "3.24.0", optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
tokio = { version = "1.49.0", default-features = false, features = [
"macros",
"rt-multi-thread",
] }
[target.'cfg(target_family = "wasm")'.dependencies]
tokio = { version = "1.49.0", default-features = false, features = [
"macros",
"rt",
] }
wasm-bindgen = "0.2.106"
wasm-bindgen-futures = "0.4.56"
serde-wasm-bindgen = "0.6.5"
console_error_panic_hook = { version = "0.1.7", optional = true }
[dev-dependencies]
tokio-test = "0.4.5"
wasm-bindgen-test = "0.3.56"
mockall = "0.14.0"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"
[features]
default = []
all = ["attachment_scan"]
attachment_scan = [
"dep:yara-x",
"dep:anyhow",
"dep:git2",
"dep:walkdir",
"dep:reqwest",
"dep:sha2",
"dep:tempfile",
"dep:zip",
]
[package.metadata.docs.rs]
all-features = true