sapphire-framework-server 0.29.0

App server skeleton for sapphire-framework: owns a workspace's cache and serves it over IPC
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 = "sapphire-framework-server"
version = "0.29.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "App server skeleton for sapphire-framework: owns a workspace's cache and serves it over IPC"
readme = false
keywords = [
    "server",
    "ipc",
    "local-first",
    "workspace",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sapphire-turtle/sapphire-framework"

[features]
default = ["redb-store"]
http = [
    "dep:axum",
    "sapphire-framework-keys/axum",
    "dep:tokio-util",
]
mcp = [
    "http",
    "dep:sapphire-framework-mcp",
]
metrics = [
    "http",
    "dep:metrics-exporter-prometheus",
    "dep:metrics-process",
]
redb-store = ["sapphire-backend/redb-store"]
test-util = []

[lib]
name = "sapphire_framework_server"
path = "src/lib.rs"

[[bin]]
name = "server-test-app"
path = "src/bin/server-test-app.rs"
required-features = ["test-util"]

[[test]]
name = "api_keys"
path = "tests/api_keys.rs"
required-features = ["http"]

[[test]]
name = "cli_api_key"
path = "tests/cli_api_key.rs"
required-features = ["test-util"]

[[test]]
name = "cli_bridge"
path = "tests/cli_bridge.rs"

[[test]]
name = "cli_config"
path = "tests/cli_config.rs"

[[test]]
name = "cli_removed"
path = "tests/cli_removed.rs"
required-features = ["test-util"]

[[test]]
name = "command_lifecycle"
path = "tests/command_lifecycle.rs"

[[test]]
name = "concurrent"
path = "tests/concurrent.rs"

[[test]]
name = "config_methods"
path = "tests/config_methods.rs"

[[test]]
name = "config_methods_logging"
path = "tests/config_methods_logging.rs"

[[test]]
name = "converge"
path = "tests/converge.rs"

[[test]]
name = "current_workspace"
path = "tests/current_workspace.rs"

[[test]]
name = "delivery"
path = "tests/delivery.rs"

[[test]]
name = "http_endpoints"
path = "tests/http_endpoints.rs"
required-features = ["http"]

[[test]]
name = "live"
path = "tests/live.rs"

[[test]]
name = "mcp"
path = "tests/mcp.rs"
required-features = ["mcp"]

[[test]]
name = "metrics"
path = "tests/metrics.rs"
required-features = ["metrics"]

[[test]]
name = "relay"
path = "tests/relay.rs"

[[test]]
name = "relay_logging"
path = "tests/relay_logging.rs"

[[test]]
name = "relay_restart"
path = "tests/relay_restart.rs"

[[test]]
name = "restart"
path = "tests/restart.rs"

[[test]]
name = "restart_log"
path = "tests/restart_log.rs"

[[test]]
name = "settings"
path = "tests/settings.rs"

[[test]]
name = "star"
path = "tests/star.rs"

[[test]]
name = "sync_wiring"
path = "tests/sync_wiring.rs"

[[test]]
name = "vectors"
path = "tests/vectors.rs"

[[test]]
name = "workspace_sync_cli"
path = "tests/workspace_sync_cli.rs"

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

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.corundum-framework-fs]
version = "0.13.0"

[dependencies.corundum-framework-keys]
version = "0.13.0"
features = ["clap"]

[dependencies.corundum-framework-service]
version = "0.13.0"
features = ["cli"]

[dependencies.grain-id]
version = "0.17"
features = ["serde"]

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.18"
optional = true
default-features = false

[dependencies.metrics-process]
version = "2.4"
optional = true

[dependencies.notify]
version = "8"

[dependencies.sapphire-backend]
version = "0.29.0"
default-features = false
package = "sapphire-framework-backend"

[dependencies.sapphire-bridge-api]
version = "4.0.0"
features = ["cli"]
package = "sapphire-framework-bridge-api"

[dependencies.sapphire-bridge-client]
version = "0.29.0"
package = "sapphire-framework-bridge-client"

[dependencies.sapphire-framework-keys]
version = "0.29.0"

[dependencies.sapphire-framework-mcp]
version = "0.29.0"
optional = true

[dependencies.sapphire-framework-session]
version = "0.29.0"

[dependencies.sapphire-framework-settings]
version = "0.29.0"

[dependencies.sapphire-framework-update]
version = "0.29.0"

[dependencies.sapphire-ipc]
version = "0.29.0"
package = "sapphire-framework-ipc"

[dependencies.sapphire-registry]
version = "0.29.0"
package = "sapphire-framework-registry"

[dependencies.sapphire-sync]
version = "0.29.0"
package = "sapphire-framework-sync"

[dependencies.sapphire-workspace]
version = "0.29.0"
default-features = false
package = "sapphire-framework-workspace"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "signal",
    "net",
    "process",
]

[dependencies.tokio-util]
version = "0.7"
optional = true
default-features = false

[dependencies.toml]
version = "1.1"

[dependencies.toml_edit]
version = "0.25"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

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

[dev-dependencies.toml]
version = "1.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

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