karapace/crates/karapace-dbus/Cargo.toml
Marco Allegretti 38be2c584d feat: karapace-dbus — socket-activated D-Bus service with 11 methods
- org.karapace.Manager1 D-Bus interface
- 11 methods: ListEnvironments, GetEnvironmentStatus, GetEnvironmentHash,
  BuildEnvironment, BuildNamedEnvironment, DestroyEnvironment, RunEnvironment,
  RenameEnvironment, ListPresets, GarbageCollect, VerifyStore
- Name-aware resolution (env_id, short_id, name, prefix)
- Desktop notifications via notify-rust (non-fatal if daemon unavailable)
- Typed serde response structs (no hand-rolled JSON)
- 30-second idle timeout for socket activation
- Hardened systemd unit: ProtectSystem=strict, ProtectHome=read-only,
  PrivateTmp, NoNewPrivileges
2026-02-22 18:38:09 +01:00

30 lines
714 B
TOML

[package]
name = "karapace-dbus"
description = "Socket-activated D-Bus desktop integration service for Karapace"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[lints]
workspace = true
[[bin]]
name = "karapace-dbus"
path = "src/main.rs"
[dependencies]
zbus.workspace = true
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
notify-rust.workspace = true
karapace-core = { path = "../karapace-core" }
karapace-schema = { path = "../karapace-schema" }
karapace-store = { path = "../karapace-store" }
[dev-dependencies]
tempfile.workspace = true