sc-command 0.2.0

Lossless JSON CLI/API response envelope and REST/MCP conversions.
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"
rust-version = "1.94.1"
name = "sc-command"
version = "0.2.0"
authors = ["Rand Lee"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lossless JSON CLI/API response envelope and REST/MCP conversions."
homepage = "https://github.com/randlee/sc-runtime"
readme = "README.md"
license = "MIT"
repository = "https://github.com/randlee/sc-runtime"
resolver = "2"

[features]
default = []
schema = [
    "dep:schemars",
    "dep:utoipa",
]
server = [
    "dep:axum",
    "dep:rmcp",
]
test-util = []

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

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

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

[dependencies.axum]
version = "0.8.9"
optional = true
default-features = false

[dependencies.rmcp]
version = "~3.8"
optional = true
default-features = false

[dependencies.sc-observability-types]
version = "=1.5.0"

[dependencies.schemars]
version = "=1.2.3"
features = ["derive"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.utoipa]
version = "=6.0.0"
features = ["macros"]
optional = true
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]