Private
Public Access
1
0
Files
Kordophone/kordophoned/Cargo.toml

53 lines
1.7 KiB
TOML
Raw Normal View History

2025-02-11 23:15:24 -08:00
[package]
name = "kordophoned"
version = "1.0.1"
2025-02-11 23:15:24 -08:00
edition = "2021"
license = "GPL-3.0"
description = "Client daemon for the Kordophone chat protocol"
2025-02-11 23:15:24 -08:00
[dependencies]
anyhow = "1.0.98"
2025-04-27 14:01:19 -07:00
async-trait = "0.1.88"
chrono = "0.4.38"
directories = "6.0.0"
2025-02-11 23:15:24 -08:00
env_logger = "0.11.6"
futures-util = "0.3.31"
keyring = { version = "3.6.3", features = ["apple-native", "sync-secret-service"] }
2025-02-11 23:15:24 -08:00
kordophone = { path = "../kordophone" }
kordophone-db = { path = "../kordophone-db" }
2025-02-11 23:15:24 -08:00
log = "0.4.25"
serde_json = "1.0"
thiserror = "2.0.12"
2025-02-11 23:15:24 -08:00
tokio = { version = "1", features = ["full"] }
2025-05-02 14:22:43 -07:00
tokio-condvar = "0.3.0"
uuid = "1.16.0"
2025-06-26 16:23:53 -07:00
once_cell = "1.19.0"
2025-02-11 23:15:24 -08:00
# D-Bus dependencies only on Linux
2025-08-01 12:26:17 -07:00
[target.'cfg(target_os = "linux")'.dependencies]
dbus = { version = "0.9.7", features = ["futures"] }
dbus-crossroads = "0.5.2"
dbus-tokio = "0.7.6"
dbus-tree = "0.9.2"
# D-Bus codegen only on Linux
2025-08-01 12:26:17 -07:00
[target.'cfg(target_os = "linux")'.build-dependencies]
2025-02-11 23:15:24 -08:00
dbus-codegen = "0.10.0"
dbus-crossroads = "0.5.1"
2025-08-01 12:26:17 -07:00
# XPC (libxpc) interface for macOS IPC
[target.'cfg(target_os = "macos")'.dependencies]
block = "0.1.6"
futures = "0.3.31"
2025-08-01 12:26:17 -07:00
xpc-connection = { git = "https://github.com/dfrankland/xpc-connection-rs.git", rev = "cd4fb3d", package = "xpc-connection" }
xpc-connection-sys = { git = "https://github.com/dfrankland/xpc-connection-rs.git", rev = "cd4fb3d", package = "xpc-connection-sys" }
serde = { version = "1.0", features = ["derive"] }
[package.metadata.generate-rpm]
assets = [
{ source = "../target/release/kordophoned", dest = "/usr/libexec/kordophoned", mode = "755" },
{ source = "../target/release/kpcli", dest = "/usr/bin/kpcli", mode = "755" },
{ source = "include/net.buzzert.kordophonecd.service", dest = "/usr/share/dbus-1/services/net.buzzert.kordophonecd.service", mode = "644" },
]