# 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"
rust-version = "1.86"
name = "freenet-git"
version = "0.1.2"
authors = ["Freenet Project"]
build = false
include = [
    "src/**/*",
    "contracts/*.wasm",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Push, fetch, and clone Git repositories through Freenet instead of a centralized host"
homepage = "https://freenet.org"
readme = "README.md"
keywords = [
    "freenet",
    "git",
    "decentralized",
    "p2p",
    "git-remote-helper",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "LGPL-3.0-only"
repository = "https://github.com/freenet/freenet-git"

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

[[bin]]
name = "freenet-git"
path = "src/main.rs"

[[bin]]
name = "git-remote-freenet"
path = "src/bin/git-remote-freenet.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.5"
features = ["std"]
default-features = false

[dependencies.bs58]
version = "0.5"

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

[dependencies.ed25519-dalek]
version = "2.1"
features = [
    "alloc",
    "rand_core",
    "zeroize",
]
default-features = false

[dependencies.freenet-git-encoding]
version = "0.1.2"

[dependencies.freenet-git-identity]
version = "0.1.2"

[dependencies.freenet-git-types]
version = "0.1.2"
features = ["signing"]

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

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.8"
features = [
    "std",
    "std_rng",
    "getrandom",
]
default-features = false

[dependencies.rpassword]
version = "7"

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.thiserror]
version = "1"

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

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

[dependencies.tracing]
version = "0.1"

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

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

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

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