[package]
edition = "2021"
rust-version = "1.83"
name = "dragoon-server"
version = "0.1.0"
authors = ["cydia2001 <cydia2001@duck.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public-relay server for the dragoon remote-executor: axum + rusqlite + ed25519 task signing + per-user message inbox."
homepage = "https://github.com/cydia2001/dragoon"
readme = "README.md"
keywords = [
"remote",
"executor",
"ssh",
"axum",
"automation",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cydia2001/dragoon"
[lib]
name = "dragoon_server"
path = "src/lib.rs"
[[bin]]
name = "dragoon-server"
path = "src/main.rs"
[[test]]
name = "auth_routes"
path = "tests/auth_routes.rs"
[dependencies.anyhow]
version = "1"
[dependencies.argon2]
version = "0.5"
[dependencies.axum]
version = "0.7"
features = [
"multipart",
"macros",
]
[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.dragoon-proto]
version = "0.1"
features = ["verify"]
[dependencies.ed25519-dalek]
version = "2"
features = [
"pkcs8",
"pem",
]
[dependencies.hex]
version = "0.4"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"http2",
"json",
"stream",
"multipart",
]
default-features = false
[dependencies.rpassword]
version = "7"
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.totp-rs]
version = "5"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = ["trace"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dependencies.url]
version = "2"
[dependencies.walkdir]
version = "2"
[dev-dependencies.dragoon-testkit]
version = "0.1"
[dev-dependencies.ed25519-dalek]
version = "2"
features = [
"pkcs8",
"pem",
]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.totp-rs]
version = "5"
[dev-dependencies.tower]
version = "0.5"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
cloned_ref_to_slice_refs = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
enum_glob_use = "allow"
map_unwrap_or = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_lines = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"