# 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 = "2024"
name = "sark-h2"
version = "0.6.5"
authors = ["inq <gofiri@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP/2 protocol primitives + client/server bootstrap for sark stack"
readme = false
license = "MIT"
repository = "https://github.com/dope-rs/sark"
resolver = "2"

[features]
rustls = [
    "dep:rustls",
    "dope-tls/rustls",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.dope]
version = "0.5"

[dependencies.dope-extra]
version = "0.5"

[dependencies.dope-gen]
version = "0.5"

[dependencies.dope-tls]
version = "0.6"

[dependencies.o3]
version = "0.2"

[dependencies.pin-project]
version = "1"

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.sark-core]
version = "0.6.5"

[dependencies.shin]
version = "0.3"
