[package]
edition = "2024"
rust-version = "1.98"
name = "gent-daemon"
version = "0.2.2"
build = false
include = [
"/src/**",
"/LICENSE",
"/NOTICE.md",
"/tests/**",
"/examples/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local daemon, storage and synchronization for Gent chat clusters."
homepage = "https://gent.link"
readme = false
license = "BSD-3-Clause"
repository = "https://github.com/sam0x17/gent"
resolver = "2"
[features]
test-entitlements = []
[lib]
name = "gent_daemon"
path = "src/lib.rs"
[[example]]
name = "hosted_local"
path = "examples/hosted_local.rs"
[[example]]
name = "join_local"
path = "examples/join_local.rs"
[[test]]
name = "attachments"
path = "tests/attachments.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "configuration_sync"
path = "tests/configuration_sync.rs"
[[test]]
name = "delivery"
path = "tests/delivery.rs"
[[test]]
name = "encrypted"
path = "tests/encrypted.rs"
[[test]]
name = "file_objects"
path = "tests/file_objects.rs"
[[test]]
name = "file_transport"
path = "tests/file_transport.rs"
[[test]]
name = "mesh"
path = "tests/mesh.rs"
[[test]]
name = "ordered"
path = "tests/ordered.rs"
[[test]]
name = "pairing"
path = "tests/pairing.rs"
[[test]]
name = "recovered"
path = "tests/recovered.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "relay"
path = "tests/relay.rs"
[[test]]
name = "remote"
path = "tests/remote.rs"
[[test]]
name = "replica"
path = "tests/replica.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "wake"
path = "tests/wake.rs"
[[test]]
name = "work"
path = "tests/work.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.chacha20poly1305]
version = "0.10.1"
features = ["alloc"]
default-features = false
[dependencies.ed25519-dalek]
version = "3"
[dependencies.fs2]
version = "0.4"
[dependencies.futures-util]
version = "0.3"
[dependencies.gent-crypto]
version = "=0.2.2"
features = [
"mls",
"invitation",
]
[dependencies.gent-protocol]
version = "=0.2.2"
[dependencies.getrandom]
version = "0.4"
features = ["std"]
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.httpdate]
version = "1"
[dependencies.iroh]
version = "=1.5.0"
features = [
"tls-ring",
"unstable-net-report",
"metrics",
]
default-features = false
[dependencies.iroh-relay]
version = "=1.5.0"
features = [
"server",
"tls-ring",
]
default-features = false
[dependencies.netdev]
version = "0.47"
[dependencies.noq]
version = "=1.5.0"
features = [
"runtime-tokio",
"rustls-ring",
]
default-features = false
[dependencies.openmls]
version = "0.9.2"
[dependencies.openmls_rust_crypto]
version = "0.6"
[dependencies.openmls_sqlite_storage]
version = "0.3"
[dependencies.openmls_traits]
version = "0.6"
[dependencies.rcgen]
version = "0.14"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
"stream",
]
default-features = false
[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]
[dependencies.rustix]
version = "1"
features = [
"fs",
"process",
]
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_jcs]
version = "0.2"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.30"
features = ["rustls-tls-webpki-roots"]
[dependencies.toml]
version = "0.9"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
]
[dependencies.x509-parser]
version = "0.18"
[dependencies.zeroize]
version = "1"
[dependencies.zstd]
version = "0.13"
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[lints.rust]
unsafe_code = "forbid"