# 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 = "2024"
rust-version = "1.85"
name = "fdev"
version = "0.3.244"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Freenet development tool"
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/freenet/freenet-core"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v0.2.82/fdev-{ target }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "fdev"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v0.2.82/fdev-{ target }.zip"
pkg-fmt = "zip"
bin-dir = "fdev.exe"

[features]
trace-ot = ["freenet/trace-ot"]

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "matched-path",
    "query",
    "tower-log",
    "ws",
]
default-features = false

[dependencies.bincode]
version = "1"

[dependencies.bs58]
version = "0.5"

[dependencies.bytesize]
version = "2.3"

[dependencies.chrono]
version = "0.4"
default-features = true

[dependencies.ciborium]
version = "0.2"

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

[dependencies.dashmap]
version = "6.2"

[dependencies.dirs]
version = "6"

[dependencies.ed25519-dalek]
version = "2"
features = [
    "rand_core",
    "serde",
]

[dependencies.either]
version = "1"

[dependencies.freenet]
version = "0.2.82"
features = ["testing"]

[dependencies.freenet-stdlib]
version = "0.8.2"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.4"

[dependencies.prettytable-rs]
version = "0.10"

[dependencies.rand]
version = "0.9"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "rt-multi-thread",
    "sync",
    "macros",
    "signal",
    "parking_lot",
    "process",
]

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

[dependencies.toml]
version = "1.0"
features = [
    "default",
    "preserve_order",
]

[dependencies.tracing]
version = "0.1"

[dependencies.xz2]
version = "0.1"
features = ["tokio"]

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