[package]
edition = "2024"
name = "haps"
version = "0.1.21"
build = "build.rs"
include = [
"/src/**/*.rs",
"/src/desktop/*.ps1",
"/src/integrations/*.py",
"/tests/**/*.rs",
"/tests/*.py",
"/build.rs",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/PUBLISHING.md",
"/LICENSE",
"/haps.toml",
"/haps-build.toml",
"/scripts/sync-legacy-recipe.py",
"/haps-release.json",
"/scripts/bundle.py",
"/scripts/hashtree-bundle.json",
"/scripts/hashtree-LICENSE",
"/packages/catalog-root.json",
"/website/public/install.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hashtree Package System: signed packages, content-addressed distribution, social discovery"
homepage = "https://haps.hashtree.cc"
readme = "README.md"
keywords = [
"hashtree",
"nostr",
"packages",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/mmalmi/haps"
[lib]
name = "haps"
path = "src/lib.rs"
[[bin]]
name = "haps"
path = "src/main.rs"
[[test]]
name = "audit"
path = "tests/audit.rs"
[[test]]
name = "bootstrap"
path = "tests/bootstrap.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "command_links"
path = "tests/command_links.rs"
[[test]]
name = "dependencies"
path = "tests/dependencies.rs"
[[test]]
name = "dependency_cli"
path = "tests/dependency_cli.rs"
[[test]]
name = "direct_packages"
path = "tests/direct_packages.rs"
[[test]]
name = "discovery"
path = "tests/discovery.rs"
[[test]]
name = "event_catalogs"
path = "tests/event_catalogs.rs"
[[test]]
name = "fact_attestations"
path = "tests/fact_attestations.rs"
[[test]]
name = "feedback"
path = "tests/feedback.rs"
[[test]]
name = "hashtree_transport"
path = "tests/hashtree_transport.rs"
[[test]]
name = "incremental_publish"
path = "tests/incremental_publish.rs"
[[test]]
name = "install_progress"
path = "tests/install_progress.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "omarchy_menu"
path = "tests/omarchy_menu.rs"
[[test]]
name = "publication_outbox"
path = "tests/publication_outbox.rs"
[[test]]
name = "publish"
path = "tests/publish.rs"
[[test]]
name = "published_apps"
path = "tests/published_apps.rs"
[[test]]
name = "repair_publication"
path = "tests/repair_publication.rs"
[[test]]
name = "social_policy"
path = "tests/social_policy.rs"
[[test]]
name = "source_build"
path = "tests/source_build.rs"
[[test]]
name = "two_user_discovery"
path = "tests/two_user_discovery.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.dialoguer]
version = "0.12"
default-features = false
[dependencies.dirs]
version = "6"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.hashtree-client]
version = "=0.1.3"
[dependencies.hashtree-config]
version = "=0.2.83"
[dependencies.hashtree-core]
version = "=0.2.91"
[dependencies.hashtree-fs]
version = "=0.2.83"
[dependencies.hashtree-index]
version = "=0.2.84"
[dependencies.hashtree-nostr]
version = "=0.2.88"
[dependencies.hashtree-nostr-pubsub]
version = "=0.2.85"
[dependencies.hex]
version = "0.4"
[dependencies.ignore]
version = "0.4"
[dependencies.nostr]
version = "=0.44.8"
[dependencies.nostr-identity]
version = "=0.5.0"
[dependencies.nostr-pubsub]
version = "=0.1.16"
[dependencies.nostr-pubsub-relay]
version = "=0.1.13"
[dependencies.nostr-social-graph]
version = "=0.1.4"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"stream",
]
default-features = false
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.toml]
version = "0.8"
[dev-dependencies.axum]
version = "0.7"
features = ["ws"]
[dev-dependencies.tiny_http]
version = "0.12"
[target."cfg(unix)".dependencies.rustix]
version = "1"
features = ["fs"]
[profile.dev]
debug = 0
[profile.release]
lto = "thin"
strip = true