[package]
edition = "2024"
name = "arqen"
version = "0.18.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-first backend toolkit for HTTP services, agents, automation, jobs, and storage adapters"
homepage = "https://sayanmohsin.github.io/arqen/"
readme = "README.md"
keywords = [
"backend",
"agents",
"automation",
"axum",
"thingd",
]
categories = [
"web-programming",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/sayanmohsin/arqen"
resolver = "2"
[features]
advanced-transport = ["http-server"]
cli = [
"http-server",
"logging",
"http-client",
"thingd-migration",
"dep:clap",
"dep:libc",
]
default = ["http-server"]
http-client = ["dep:reqwest"]
http-server = [
"dep:axum",
"dep:tower",
"dep:tower-http",
]
logging = [
"dep:tracing-appender",
"dep:tracing-subscriber",
]
test-util = [
"http-server",
"dep:tower",
]
thingd-connectors = [
"thingd-native",
"thingd/connectors",
]
thingd-maintenance = ["thingd-native"]
thingd-migration = [
"thingd-native",
"http-client",
"dep:tokio-util",
]
thingd-native = ["dep:thingd"]
[lib]
name = "arqen"
path = "src/lib.rs"
[[bin]]
name = "arqen"
path = "src/bin/arqen.rs"
required-features = ["cli"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "contract_tests"
path = "tests/contract_tests.rs"
[[test]]
name = "http_thingd_contract"
path = "tests/http_thingd_contract.rs"
[[bench]]
name = "framework"
path = "benches/framework.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.7"
features = ["macros"]
optional = true
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.libc]
version = "0.2"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.subtle]
version = "2"
[dependencies.thingd]
version = ">=0.86.0, <0.87.0"
features = [
"persistent",
"search",
]
optional = true
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tower]
version = "0.4"
features = ["util"]
optional = true
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"limit",
"timeout",
"compression-gzip",
"compression-br",
]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
optional = true
[dependencies.urlencoding]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.7"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio-test]
version = "0.4"