# 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 = "ndr"
version = "0.0.54"
authors = ["Martti Malmi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for encrypted Nostr messaging using double ratchet"
readme = "README.md"
license = "MIT"
repository = "https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/nostr-double-ratchet"

[lib]
name = "ndr"
path = "src/lib.rs"

[[bin]]
name = "ndr"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.dirs]
version = "5"

[dependencies.hex]
version = "0.4"
features = ["serde"]

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

[dependencies.nostr-double-ratchet]
version = "0.0.54"

[dependencies.nostr-sdk]
version = "0.37"

[dependencies.notify]
version = "6"
features = ["macos_fsevent"]
default-features = false

[dependencies.qrcode]
version = "0.14"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.axum]
version = "0.7"
features = ["ws"]

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

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

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