[package]
edition = "2021"
name = "iris-chat"
version = "0.1.49"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "iris"
description = "Iris Chat command line client and shared encrypted chat core"
homepage = "https://iris.to"
readme = "README.md"
keywords = [
"iris",
"chat",
"nostr",
"encrypted",
"cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://git.iris.to/#/npub1399g0q2gtwjcglyjcg3jw3rcllqhm375pwases5hkvqa56aqe5wsz2eaap/iris-chat-rs"
[features]
desktop-media = [
"dep:cpal",
"dep:nokhwa",
"dep:openh264",
"dep:image",
"dep:sonora",
"dep:openh264-sys2",
]
local-relay-bin = []
stack-fixture = []
[lib]
name = "iris_chat_core"
crate-type = [
"cdylib",
"staticlib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "iris"
path = "src/bin/iris.rs"
[[bin]]
name = "local_nostr_relay"
path = "src/bin/local_nostr_relay.rs"
required-features = ["local-relay-bin"]
[[bin]]
name = "iris-chat-stack-fixture"
path = "src/bin/iris_chat_stack_fixture.rs"
required-features = ["stack-fixture"]
[[bin]]
name = "iris-call-fixture"
path = "src/bin/iris_call_fixture.rs"
required-features = ["stack-fixture"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_chat_settings"
path = "tests/cli_chat_settings.rs"
[[test]]
name = "cli_contacts"
path = "tests/cli_contacts.rs"
[[test]]
name = "cli_full_invites"
path = "tests/cli_full_invites.rs"
[[test]]
name = "cli_interop"
path = "tests/cli_interop.rs"
[[test]]
name = "cli_service"
path = "tests/cli_service.rs"
[[test]]
name = "perf_budgets"
path = "tests/perf_budgets.rs"
[[test]]
name = "release_updater"
path = "tests/release_updater.rs"
[[test]]
name = "search"
path = "tests/search.rs"
[[test]]
name = "test_fixtures"
path = "tests/test_fixtures.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.cpal]
version = "=0.16.0"
optional = true
[dependencies.flume]
version = "0.11"
[dependencies.futures-util]
version = "0.3"
[dependencies.hashtree-blossom]
version = "=0.2.83"
features = ["store"]
default-features = false
[dependencies.hashtree-config]
version = "=0.2.83"
[dependencies.hashtree-core]
version = "=0.2.91"
[dependencies.hashtree-fips-transport]
version = "=0.4.29"
[dependencies.hashtree-index]
version = "=0.2.85"
[dependencies.hashtree-lmdb]
version = "=0.2.90"
[dependencies.hashtree-network]
version = "=0.2.88"
[dependencies.hashtree-resolver]
version = "=0.2.86"
features = ["nostr"]
[dependencies.hashtree-updater]
version = "=0.2.89"
features = ["peer-storage"]
[dependencies.hmac]
version = "0.12"
[dependencies.image]
version = "0.25"
optional = true
default-features = false
[dependencies.interprocess]
version = "2.4.4"
default-features = false
[dependencies.iris-chat-protocol]
version = "=0.3.7"
[dependencies.nokhwa]
version = "=0.10.11"
features = ["input-native"]
optional = true
default-features = false
[dependencies.nostr]
version = "0.44.7"
features = [
"std",
"nip44",
]
default-features = false
[dependencies.nostr-double-ratchet]
version = "0.0.174"
[dependencies.nostr-double-ratchet-pairwise-codec]
version = "0.0.168"
[dependencies.nostr-identity]
version = "=0.6.0"
[dependencies.nostr-pubsub]
version = "=0.1.18"
[dependencies.nostr-pubsub-fips]
version = "=0.5.38"
[dependencies.nostr-pubsub-reconcile]
version = "=0.1.1"
[dependencies.nostr-pubsub-relay]
version = "=0.1.13"
[dependencies.nostr-sdk]
version = "0.44.1"
features = ["nip44"]
default-features = false
[dependencies.nostr-social-graph]
version = "=0.1.4"
[dependencies.nvpn-fips-core]
version = "=0.4.108"
features = [
"webrtc-transport",
"host-ble-transport",
]
[dependencies.nvpn-fips-endpoint]
version = "=0.4.108"
[dependencies.nvpn-fips-tcp]
version = "=0.2.6"
[dependencies.nvpn-fips-tcp-endpoint]
version = "=0.2.43"
[dependencies.openh264]
version = "=0.9.9"
optional = true
[dependencies.openh264-sys2]
version = "=0.9.9"
optional = true
[dependencies.opus]
version = "=0.4.0"
[dependencies.opusic-sys]
version = "=0.7.5"
[dependencies.qrcode]
version = "0.14"
default-features = false
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false
[dependencies.rusqlite]
version = "0.31"
features = [
"bundled",
"hooks",
]
[dependencies.rustls]
version = "0.23"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.socket2]
version = "0.6"
[dependencies.sonora]
version = "=0.2.0"
optional = true
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"time",
"net",
"fs",
]
[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
[dependencies.uniffi]
version = "0.29.4"
[dependencies.url]
version = "2"
[dependencies.urlencoding]
version = "2"
[dependencies.uuid]
version = "1"
[dependencies.webpki-roots]
version = "0.26"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-rustls]
version = "0.26"
default-features = false
[target.'cfg(target_os = "ios")'.dependencies.libc]
version = "=0.2.186"
[target."cfg(windows)".dependencies.widestring]
version = "1.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_System_Pipes",
]