# 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 = "oly"
version = "0.1.6"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run interactive CLIs and AI agents like managed services with persistent PTY sessions."
homepage = "https://github.com/slaveOftime/open-relay"
readme = "README.md"
keywords = [
    "cli",
    "agent",
    "pty",
    "terminal",
    "ai",
]
categories = [
    "command-line-utilities",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/slaveOftime/open-relay"

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

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

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

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

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.arboard]
version = "3"

[dependencies.arc-swap]
version = "1"

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum]
version = "0.8"
features = [
    "ws",
    "macros",
]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]

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

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.hkdf]
version = "0.12"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.interprocess]
version = "2.4"
features = ["tokio"]

[dependencies.libmimalloc-sys]
version = "0.1.44"
features = [
    "v3",
    "extended",
]

[dependencies.mimalloc]
version = "0.1.48"
features = ["v3"]

[dependencies.mime_guess]
version = "2"

[dependencies.notify-rust]
version = "4.11"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "ecdh",
]

[dependencies.portable-pty]
version = "0.9"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = ["rustls"]
default-features = false

[dependencies.rpassword]
version = "7"

[dependencies.rust-embed]
version = "8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
    "chrono",
    "migrate",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.44"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "time",
    "io-util",
    "net",
    "sync",
]

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

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-native-roots"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.uuid]
version = "1.16"
features = [
    "v4",
    "serde",
]

[dependencies.vt100]
version = "0.16.2"

[dependencies.which]
version = "8"

[target."cfg(windows)".build-dependencies.winres]
version = "0.1"

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
