[package]
edition = "2024"
rust-version = "1.89.0"
name = "magma-plugin"
version = "0.1.26"
authors = ["pleme-io"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "magma — HashiCorp go-plugin handshake + mTLS bootstrap + stdio framing + gRPC client lifecycle + subprocess management. The load-bearing technical layer per theory/MAGMA.md §IV."
homepage = "https://github.com/pleme-io/magma"
readme = false
license = "MIT"
repository = "https://github.com/pleme-io/magma"
[lib]
name = "magma_plugin"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http2",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.magma-cty]
version = "0.1.26"
[dependencies.magma-protocol]
version = "0.1.26"
[dependencies.magma-types]
version = "0.1.26"
[dependencies.rcgen]
version = "0.13"
[dependencies.rustls]
version = "0.23"
features = ["ring"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"io-util",
"io-std",
"net",
"signal",
"fs",
]
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tonic]
version = "0.13"
features = [
"transport",
"tls-ring",
"tls-webpki-roots",
]
[dependencies.tower]
version = "0.5"
features = ["util"]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "6"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1