# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "iris-chat"
version = "0.1.4"
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/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-chat-rs"

[features]
local-relay-bin = []

[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"]

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "cli_interop"
path = "tests/cli_interop.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.flume]
version = "0.11"

[dependencies.futures-util]
version = "0.3"

[dependencies.hashtree-blossom]
version = "=0.2.8"

[dependencies.hashtree-config]
version = "=0.2.8"

[dependencies.hashtree-core]
version = "=0.2.8"

[dependencies.hmac]
version = "0.12"

[dependencies.nostr]
version = "0.44.2"
features = [
    "std",
    "nip44",
]
default-features = false

[dependencies.nostr-double-ratchet]
version = "0.0.127"
features = ["nearby"]

[dependencies.nostr-sdk]
version = "0.44.1"
features = ["nip44"]
default-features = false

[dependencies.nostr35]
version = "0.35.0"
features = [
    "std",
    "nip44",
]
default-features = false
package = "nostr"

[dependencies.qrcode]
version = "0.14"
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.6"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "fs",
]

[dependencies.tokio-tungstenite]
version = "0.24"

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dependencies.uniffi]
version = "0.29.4"

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

[dev-dependencies.tempfile]
version = "3"
