localgpt-server 0.3.6

LocalGPT HTTP server and Telegram bot
Documentation
# 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 = "localgpt-server"
version = "0.3.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LocalGPT HTTP server and Telegram bot"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/localgpt-app/localgpt"

[features]
default = []
tls = [
    "rcgen",
    "rustls",
    "tokio-rustls",
    "rustls-pemfile",
    "axum-server",
    "hostname",
    "local-ip-address",
]

[lib]
name = "localgpt_server"
crate-type = ["rlib"]
path = "src/lib.rs"

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

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3.27"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-stream]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-trait]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "0.8"
features = [
    "ws",
    "macros",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chacha20poly1305]
version = "0.10.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chrono]
version = "0.4"
features = ["serde"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hmac]
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.localgpt-bridge]
version = "0.3.6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.localgpt-core]
version = "0.3.6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime_guess]
version = "2.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rust-embed]
version = "8"
features = [
    "compression",
    "interpolate-folder-path",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tarpc]
version = "0.37.0"
features = [
    "tokio1",
    "serde-transport",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.teloxide]
version = "0.17"
features = ["macros"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.50"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "limit",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.22"
features = ["v4"]

[target."cfg(unix)".dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]
optional = true

[target."cfg(unix)".dependencies.hostname]
version = "0.4"
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.local-ip-address]
version = "0.6"
optional = true

[target."cfg(unix)".dependencies.rcgen]
version = "0.13"
optional = true

[target."cfg(unix)".dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
optional = true
default-features = false

[target."cfg(unix)".dependencies.rustls-pemfile]
version = "2"
optional = true

[target."cfg(unix)".dependencies.tokio-rustls]
version = "0.26"
optional = true