# 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"
rust-version = "1.80"
name = "nexo-plugin-admin"
version = "0.1.9"
authors = ["Cristian García <informacion@cristiangarcia.co>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "LICENSE*",
    "README.md",
    "plugin.toml",
    "frontend/dist/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official admin plugin for the nexo-rs framework — out-of-tree subprocess plugin hosting a React UI to administer agents, skills, channels, LLM providers, memory, plugins, MCP servers, and observability surfaces."
homepage = "https://github.com/lordmacu/nexo-rs-plugin-admin"
readme = "README.md"
keywords = [
    "nexo",
    "admin",
    "plugin",
    "framework",
    "ui",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lordmacu/nexo-rs-plugin-admin"

[[bin]]
name = "nexo-plugin-admin"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

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

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

[dependencies.axum]
version = "0.7"
features = [
    "http1",
    "json",
    "tokio",
    "tower-log",
    "query",
    "form",
]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

[dependencies.mime_guess]
version = "2"

[dependencies.nexo-microapp-http]
version = "0.1.0"

[dependencies.nexo-microapp-sdk]
version = "0.1.14"
features = [
    "admin",
    "plugin",
    "notifications",
    "events",
]

[dependencies.nexo-plugin-manifest]
version = "0.1.1"

[dependencies.nexo-tool-meta]
version = "0.1.9"

[dependencies.rand]
version = "0.8"

[dependencies.rust-embed]
version = "8"
features = [
    "axum",
    "include-exclude",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "process",
    "signal",
    "io-util",
    "io-std",
]

[dependencies.tokio-util]
version = "0.7"
features = [
    "rt",
    "compat",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "limit",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

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

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

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"

[profile.release-fast]
lto = false
codegen-units = 16
inherits = "release"
strip = "none"
