# 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 = "nps-nwp"
version = "1.0.0-alpha.14"
authors = ["Ori Lynn <iamzerolin@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NPS — Neural Web Protocol frames (QueryFrame, ActionFrame) and async HTTP client."
homepage = "https://nps.labacacia.com"
readme = false
license = "Apache-2.0"
repository = "https://github.com/labacacia/NPS-sdk-rust"

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

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

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

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

[dependencies.async-stream]
version = "0.3"

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.nps-core]
version = "=1.0.0-alpha.14"

[dependencies.nps-ncp]
version = "=1.0.0-alpha.14"

[dependencies.nps-nip]
version = "=1.0.0-alpha.14"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
default-features = false

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

[dev-dependencies.tiny_http]
version = "0.12"

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