nwep 0.1.0

idiomatic rust bindings for the web/1 protocol over quic.
# 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 = "nwep"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "idiomatic rust bindings for the web/1 protocol over quic."
readme = false
license = "MIT"
repository = "https://github.com/levresearch/nwep-rs"

[features]
default = [
    "runtime",
    "trust",
]
runtime = [
    "dep:tokio",
    "dep:libc",
]
trust = ["nwep-sys/trust"]

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

[[example]]
name = "hello_server"
path = "examples/hello_server.rs"

[[example]]
name = "identity"
path = "examples/identity.rs"

[[example]]
name = "managed"
path = "examples/managed.rs"

[[example]]
name = "managed_dht"
path = "examples/managed_dht.rs"

[[example]]
name = "managed_stream"
path = "examples/managed_stream.rs"

[[example]]
name = "nwcurl"
path = "examples/nwcurl.rs"

[[example]]
name = "nwdrop"
path = "examples/nwdrop.rs"

[[example]]
name = "nwkv"
path = "examples/nwkv.rs"

[[example]]
name = "nwlog"
path = "examples/nwlog.rs"

[[example]]
name = "nwproxy"
path = "examples/nwproxy.rs"

[[example]]
name = "nwserve"
path = "examples/nwserve.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.nwep-sys]
version = "0.1.0"

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

[dev-dependencies.libc]
version = "0.2"