[package]
edition = "2021"
name = "hashtree-cli"
version = "0.2.8"
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"
readme = "README.md"
license = "MIT"
repository = "https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree"
[features]
default = [
"p2p",
"nostrdb",
]
fuse = [
"dep:hashtree-fuse",
"dep:fuser",
]
git-remote-wrapper = []
lmdb = ["dep:hashtree-lmdb"]
nostrdb = ["dep:nostrdb-social"]
p2p = [
"dep:hashtree-webrtc",
"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 = "socialgraph-snapshot-fixture"
path = "src/bin/socialgraph-snapshot-fixture.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 = "profile"
path = "tests/profile.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.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.8"
[dependencies.hashtree-blossom]
version = "0.2.8"
[dependencies.hashtree-config]
version = "0.2.8"
[dependencies.hashtree-core]
version = "0.2.8"
[dependencies.hashtree-fs]
version = "0.2.8"
[dependencies.hashtree-fuse]
version = "0.2.8"
features = ["fuse"]
optional = true
[dependencies.hashtree-lmdb]
version = "0.2.8"
optional = true
[dependencies.hashtree-resolver]
version = "0.2.8"
features = ["nostr"]
[dependencies.hashtree-webrtc]
version = "0.2.8"
optional = true
[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.nostrdb-social]
version = "0.8.0"
optional = true
[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.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.webrtc]
version = "0.11"
optional = true
[dependencies.webrtc-stun]
version = "0.1"
optional = true
[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"