[package]
edition = "2024"
rust-version = "1.90"
name = "printobserver-server"
version = "0.10.2"
authors = ["Nick DeRobertis"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The printobserver server."
readme = false
license = "MIT"
repository = "https://github.com/nickderobertis/printobserver"
[features]
test-responder = ["dep:oneharness"]
[lib]
name = "printobserver_server"
path = "src/lib.rs"
[[bin]]
name = "printobserver-server-responder"
path = "src/bin/responder.rs"
required-features = ["test-responder"]
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "documented"
path = "tests/documented.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "schemas"
path = "tests/schemas.rs"
[dependencies.axum]
version = "0.8"
features = [
"http1",
"json",
"query",
"tokio",
]
default-features = false
[dependencies.base64]
version = "0.22"
[dependencies.getrandom]
version = "0.3"
[dependencies.oneharness]
version = "0.11.4"
optional = true
[dependencies.printobserver-core]
version = "0.10.2"
[dependencies.printobserver-obico]
version = "0.10.2"
[dependencies.printobserver-octoprint]
version = "0.10.2"
[dependencies.printobserver-oneharness]
version = "0.10.2"
[dependencies.printobserver-printer-api]
version = "0.10.2"
[dependencies.printobserver-store-sqlite]
version = "0.10.2"
[dependencies.printobserver-supervisor-api]
version = "0.10.2"
[dependencies.printobserver-types]
version = "0.10.2"
[dependencies.printobserver-vision-api]
version = "0.10.2"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.subtle]
version = "2.6"
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.toml]
version = "0.9"
features = [
"parse",
"serde",
]
default-features = false
[dev-dependencies.printobserver-octoprint]
version = "0.10.2"
features = ["standin"]
[dev-dependencies.reqwest]
version = "0.13"
features = [
"http2",
"json",
"rustls",
"webpki-roots",
]
default-features = false
[dev-dependencies.rusqlite]
version = "0.37"
features = ["bundled"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.toml]
version = "0.9"
features = [
"display",
"parse",
"serde",
]
default-features = false
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"