tci/Cargo.toml

41 lines
1.4 KiB
TOML
Raw Normal View History

2024-02-13 15:57:58 +01:00
[package]
2024-02-13 16:58:04 +01:00
name = "tci"
2024-02-13 15:57:58 +01:00
version = "0.1.0"
edition = "2021"
authors = [ "alemi <me@alemi.dev>" ]
readme = "README.md"
2024-02-13 16:58:04 +01:00
description = "tiny custom CI runner for your selfhosted just-git repositories"
keywords = ["git", "ci", "workflows", "minimal", "selfhosted"]
repository = "https://git.alemi.dev/tci.git"
2024-02-13 15:57:58 +01:00
#documentation = ""
#license = "LICENSE"
[dependencies]
2024-02-13 16:58:04 +01:00
git2 = "0.18.2"
lazy_static = "1.4.0"
serde = { version = "1.0.196", features = ["derive"] }
2024-02-13 16:58:04 +01:00
tempdir = "0.3.7"
thiserror = "1.0.57"
toml = { version = "0.8.10", features = ["parse"] }
2024-02-13 15:57:58 +01:00
[dev-dependencies]
[features]
default = []
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = "warn" # extra lints, maybe obnoxious, just warn
nursery = "warn" # experimental lints, may include false positives, just warn
unwrap_used = "warn" # warn for every unwrap used
#cargo = "warn" # warn about cargo manifest lints, this is annoying at the beginning
[profile.release] # make small binaries! will take quite longer, from https://github.com/johnthagen/min-sized-rust
opt-level = 'z' # optimize for size
lto = true # enable Link Time Optimisation: don't link unused stuff
codegen-units = 1 # reducing codegen units slows it down but allows for better optimization
panic = 'abort' # abort on panic: don't include code to show what went wrong in release
strip = "symbols" # strip symbols from binary: have fun debugging on prod! :)