# 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 = "tobira"
version = "0.2.0"
authors = ["Kaede Akino <i@akinokae.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A VMess relay written in Rust."
readme = "README.md"
keywords = [
    "network",
    "proxy",
    "vmess",
    "v2ray",
    "tobira",
]
categories = ["network-programming"]
license = "AGPL-3.0-or-later"
repository = "https://github.com/AkinoKaede/tobira"

[[bin]]
name = "tobira"
path = "src/main.rs"

[dependencies.aes]
version = "0.8"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.cipher]
version = "0.4"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crc32fast]
version = "1"

[dependencies.dashmap]
version = "6"

[dependencies.h2]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.md-5]
version = "0.10"

[dependencies.notify]
version = "6"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

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

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-tfo]
version = "0.3"

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2"

[dev-dependencies.prost]
version = "0.13"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dev-dependencies.tonic]
version = "0.12"
features = ["transport"]

[dev-dependencies.tower]
version = "0.4"
features = ["util"]
