[package]
name = "rci-cd"
version = "0.1.0"
edition = "2021"
authors = ["Serhij S.
"]
license = "Apache-2.0"
repository = "https://github.com/alttch/rci"
description = "Lightweight CI/CD"
readme = "README.md"
keywords = ["development", "automation", "ci", "ci-cd", "pipeline"]
[lib]
name = "rci"
path = "src/lib.rs"
[[bin]]
name = "rcid"
path = "src/server/mod.rs"
required-features = ["server"]
[[bin]]
name = "rci"
path = "src/cli.rs"
required-features = ["cli"]
[features]
server = [
"ci", "http", "clap", "env_logger", "hex", "hmac", "home", "dep:http", "hyper", "regex", "serde_yaml",
"sha2", "syslog"
]
cli = [
"atty", "chrono", "clap", "colored", "dateparser", "getch", "hex", "home", "dep:http", "isahc", "once_cell",
"prettytable", "serde_json", "serde_yaml", "sha2", "tungstenite", "urlencoding"
]
ci = [
"async-channel", "chrono", "futures", "log", "once_cell", "parking_lot", "serde_json", "simple-pool",
"sqlx", "tokio"
]
http = ["axum"]
[dependencies]
async-channel = { version = "1.8.0", optional = true }
atty = { version = "0.2.14", optional = true }
axum = { version = "0.6.18", features = ["headers", "ws"], optional = true }
bmart = "0.2.5"
chrono = { version = "0.4.24", optional = true }
clap = { version = "4.2.7", features = ["derive"], optional = true }
colored = { version = "2.0.0", optional = true }
dateparser = { version = "0.2.0", optional = true }
env_logger = { version = "0.10.0", optional = true }
futures = { version = "0.3.28", optional = true }
getch = { version = "0.3.1", optional = true }
hex = { version = "0.4.3", optional = true }
hmac = { version = "0.12.1", features = ["std"], optional = true }
home = { version = "0.5.5", optional = true }
http = { version = "0.2.9", optional = true }
hyper = { version = "0.14.26", optional = true}
isahc = { version = "1.7.2", features = ["json"], optional = true }
log = { version = "0.4.17", optional = true }
once_cell = { version = "1.17.1", optional = true }
parking_lot = { version = "0.12.1", optional = true }
prettytable = { version = "0.10.0", optional = true}
rand = "0.8.5"
regex = { version = "1.8.1", optional = true }
serde = { version = "1.0.163", features = ["derive"] }
serde_json = { version = "1.0.96", optional = true }
serde_yaml = { version = "0.9.21", optional = true }
sha2 = { version = "0.10.6", optional = true }
simple-pool = { version = "0.0.15", optional = true }
sqlx = { version = "0.6.3", features = ["sqlite", "runtime-tokio-rustls"], optional = true }
syslog = { version = "6.1.0", optional = true }
tokio = { version = "1.28.1", features = ["full"], optional = true }
tungstenite = { version = "0.19.0", optional = true }
urlencoding = { version = "2.1.2", optional = true }
[profile.release]
strip = true
lto = true
codegen-units = 1