# 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"
rust-version = "1.95"
name = "tikeo"
version = "0.3.16"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Worker SDK for active outbound tikeo Worker Tunnel connections."
readme = "README.md"
license = "MIT"
repository = "https://github.com/yhyzgn/tikeo.git"

[features]
default = []
wasm = ["dep:wasmtime"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.prost]
version = "0.14"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "process",
    "sync",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-log]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
default-features = false

[dependencies.wasmtime]
version = "45.0.0"
features = [
    "cranelift",
    "runtime",
    "std",
]
optional = true
default-features = false

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

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

[dev-dependencies.wat]
version = "1"

[build-dependencies.protoc-bin-vendored]
version = "3"

[build-dependencies.tonic-prost-build]
version = "0.14"

[lints.clippy]
all = "warn"
expect_used = "warn"
nursery = "warn"
pedantic = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
