# 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 = "shin"
version = "0.3.1"
authors = ["inq <gofiri@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hand-rolled single-threaded TLS 1.3"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dope-rs/shin"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ring]
version = "0.17"

[dependencies.subtle]
version = "2"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.rsa]
version = "0.9"

[dev-dependencies.rustls-pki-types]
version = "1"
