mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-01-22 18:46:17 +01:00
a01cb16ae0
This is expected to run through a systemd system service, with the config file explicitly specified. Using XDG for the default config makes little sense in that case, and ends up causing issues with a strict systemd service file. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
## SPDX-FileCopyrightText: 2025 Gergely Nagy
|
|
## SPDX-FileContributor: Gergely Nagy
|
|
##
|
|
## SPDX-License-Identifier: MIT
|
|
|
|
[package]
|
|
name = "iocaine"
|
|
version = "0.1.0-snapshot"
|
|
description = "The deadliest poison known to AI"
|
|
license = "MIT"
|
|
homepage = "https://git.madhouse-project.org/algernon/iocaine"
|
|
repository = "https://git.madhouse-project.org/algernon/iocaine"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.94"
|
|
axum = "0.8.1"
|
|
clap = { version = "4.5.23", features = ["derive"] }
|
|
console-subscriber = { version = "0.4.1", optional = true }
|
|
figment = { version = "0.10.19", features = ["toml", "env"] }
|
|
figment_file_provider_adapter = "0.1.1"
|
|
rand = "0.8.5"
|
|
rand_chacha = "0.3.1"
|
|
serde = { version = "1.0.217", features = ["derive"] }
|
|
sha2 = "0.10.8"
|
|
tokio = { version = "1.42.0", features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"signal",
|
|
] }
|
|
tower-http = { version = "0.6.2", features = ["trace"] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.19", features = ["json", "env-filter"] }
|
|
|
|
[features]
|
|
tokio-console = ["dep:console-subscriber", "tokio/tracing"]
|
|
|
|
[profile.release]
|
|
strip = true
|
|
panic = "abort"
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
|