# 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 = "exocore-discovery"
version = "0.1.26"
authors = ["Andre-Philippe Paquet <appaquet@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed applications framework"
readme = false
keywords = [
    "networking",
    "mobile",
    "webassembly",
    "storage",
    "database",
]
categories = [
    "database-implementations",
    "command-line-interface",
    "wasm",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/appaquet/exocore"

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

[[test]]
name = "discovery"
path = "tests/discovery.rs"
required-features = ["server"]

[dependencies.anyhow]
version = "1.0.86"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.38"
features = ["serde"]

[dependencies.futures]
version = "0.3.30"

[dependencies.hyper]
version = "0.14.30"
features = ["full"]
optional = true

[dependencies.log]
version = "0.4.22"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde]
version = "1.0.209"

[dependencies.serde_derive]
version = "1.0.209"

[dependencies.serde_json]
version = "1.0.127"

[dependencies.thiserror]
version = "1.0.63"

[dependencies.tokio]
version = "1.40.0"
features = [
    "macros",
    "time",
]
optional = true
default-features = false

[dependencies.wasm-timer]
version = "0.2.5"

[features]
default = ["server"]
server = [
    "hyper",
    "tokio",
]
