hashtree-cli 0.2.25

Hashtree daemon and CLI - content-addressed storage with P2P sync
Documentation
# 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 = "hashtree-cli"
version = "0.2.25"
authors = ["Martti Malmi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "htree"
description = "Hashtree daemon and CLI - content-addressed storage with P2P sync"
homepage = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"
readme = "README.md"
license = "MIT"
repository = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"

[features]
cashu = ["cashu-service/wallet"]
default = [
    "p2p",
    "lmdb",
]
fuse = [
    "dep:hashtree-fuse",
    "dep:fuser",
]
git-remote-wrapper = []
lmdb = ["dep:hashtree-lmdb"]
p2p = [
    "dep:hashtree-network",
    "dep:webrtc",
]
s3 = [
    "dep:aws-sdk-s3",
    "dep:aws-config",
]
stun = [
    "p2p",
    "dep:webrtc-stun",
]

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

[[bin]]
name = "git-remote-htree"
path = "src/git_remote.rs"
required-features = ["git-remote-wrapper"]

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

[[bin]]
name = "profile_sync_main_root"
path = "src/bin/profile_sync_main_root.rs"

[[bin]]
name = "socialgraph-snapshot-fixture"
path = "src/bin/socialgraph-snapshot-fixture.rs"

[[example]]
name = "nostr_stream_bench"
path = "examples/nostr_stream_bench.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.aws-config]
version = "1"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-s3]
version = "1"
optional = true

[dependencies.axum]
version = "0.7"
features = [
    "ws",
    "multipart",
]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.0"

[dependencies.cashu-service]
version = "0.2.25"
default-features = false

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

[dependencies.dirs]
version = "5"

[dependencies.fuser]
version = "0.14"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.git-remote-htree]
version = "0.2.25"

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

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

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

[dependencies.hashtree-fs]
version = "0.2.25"

[dependencies.hashtree-fuse]
version = "0.2.25"
features = ["fuse"]
optional = true

[dependencies.hashtree-index]
version = "0.2.25"

[dependencies.hashtree-lmdb]
version = "0.2.25"
optional = true

[dependencies.hashtree-network]
version = "0.2.25"
optional = true

[dependencies.hashtree-nostr]
version = "0.2.25"

[dependencies.hashtree-resolver]
version = "0.2.25"
features = ["nostr"]

[dependencies.heed]
version = "0.20"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.lru]
version = "0.12"

[dependencies.nostr]
version = "0.35"
features = ["nip44"]

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

[dependencies.nostr-social-graph]
version = "0.1.0"

[dependencies.nostr-social-graph-heed]
version = "0.1.0"

[dependencies.page_size]
version = "0.6"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "blocking",
]
default-features = false

[dependencies.rmp-serde]
version = "1.3"

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.secp256k1]
version = "0.29"
features = ["global-context"]

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.5"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1.0"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "fs",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.webrtc]
version = "0.11"
optional = true

[dependencies.webrtc-stun]
version = "0.1"
optional = true

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.nostr]
version = "0.35"
features = ["nip44"]

[dev-dependencies.serde_json]
version = "1.0"

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

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

[target.'cfg(target_os = "macos")'.dependencies.btleplug]
version = "0.11"