# 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-updater"
version = "0.2.62"
authors = ["Martti Malmi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hashtree-based app update discovery, artifact selection, and install helpers"
homepage = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"
readme = "README.md"
license = "MIT"
repository = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"

[features]
default = []
secure-nostr-blossom = [
    "dep:hashtree-blossom",
    "hashtree-blossom/store",
    "hashtree-resolver/nostr",
]

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

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

[dependencies.flate2]
version = "1.0"

[dependencies.hashtree-blossom]
version = "0.2.62"
optional = true

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

[dependencies.hashtree-resolver]
version = "0.2.62"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "1.0"

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

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

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

[dev-dependencies.tar]
version = "0.4"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
    "time",
]
