Sam Jeston
History
42 lines·
1.4 KB
·TOML
| 1 | [package] |
| 2 | name = "openhub" |
| 3 | version = "0.1.0" |
| 4 | edition = "2024" |
| 5 | rust-version = "1.88" |
| 6 | description = "A minimal, self-hostable git hosting server" |
| 7 | license = "MIT" |
| 8 | |
| 9 | [dependencies] |
| 10 | ammonia = "4" |
| 11 | anyhow = "1" |
| 12 | argon2 = "0.5" |
| 13 | askama = "0.16" |
| 14 | axum = { version = "0.8", features = ["macros"] } |
| 15 | axum-extra = { version = "0.12", features = ["cookie"] } |
| 16 | base64 = "0.22" |
| 17 | chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } |
| 18 | clap = { version = "4", features = ["derive", "env"] } |
| 19 | cookie = "0.18" |
| 20 | comrak = { version = "0.55", default-features = false } |
| 21 | flate2 = "1" |
| 22 | futures-util = "0.3" |
| 23 | git2 = { version = "0.21", default-features = false } |
| 24 | hex = "0.4" |
| 25 | mime_guess = "2" |
| 26 | rand = "0.8" |
| 27 | russh = "0.63" |
| 28 | serde = { version = "1", features = ["derive"] } |
| 29 | sha2 = "0.10" |
| 30 | sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] } |
| 31 | syntect = { version = "5", default-features = false, features = ["default-themes", "html", "parsing", "regex-fancy"] } |
| 32 | two-face = { version = "0.5", default-features = false, features = ["syntect-fancy"] } |
| 33 | thiserror = "2" |
| 34 | tokio = { version = "1", features = ["full"] } |
| 35 | tokio-util = { version = "0.7", features = ["io"] } |
| 36 | tower-http = { version = "0.6", features = ["trace"] } |
| 37 | tracing = "0.1" |
| 38 | tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 39 | |
| 40 | [profile.release] |
| 41 | lto = "thin" |
| 42 | codegen-units = 4 |