# 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 = "riverctl"
version = "0.1.61"
authors = ["Freenet Project"]
build = "build.rs"
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE*",
    "contracts/room_contract.wasm",
    "build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for River decentralized chat on Freenet"
homepage = "https://github.com/freenet/river"
readme = "README.md"
keywords = [
    "freenet",
    "chat",
    "cli",
    "p2p",
    "decentralized",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "LGPL-3.0-only"
repository = "https://github.com/freenet/river"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.atty]
version = "0.2"

[dependencies.base64]
version = "0.22.1"

[dependencies.blake3]
version = "1.5.3"
features = ["serde"]

[dependencies.bs58]
version = "0.5.1"

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

[dependencies.ciborium]
version = "0.2.2"

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

[dependencies.colored]
version = "2.1"

[dependencies.dialoguer]
version = "0.11"

[dependencies.directories]
version = "5.0"

[dependencies.ed25519-dalek]
version = "2.1.1"

[dependencies.freenet-scaffold]
version = "0.2.2"

[dependencies.freenet-stdlib]
version = "0.6.0"
features = [
    "contract",
    "net",
]

[dependencies.futures]
version = "0.3"

[dependencies.indicatif]
version = "0.17"

[dependencies.rand]
version = "0.8.5"

[dependencies.redb]
version = "3.1"

[dependencies.river-core]
version = "0.1.6"
features = [
    "ecies",
    "ecies-randomized",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-tungstenite]
version = "0.27"
features = ["rustls-tls-webpki-roots"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.freenet-test-network]
version = "0.1.23"

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