[package]
edition = "2024"
rust-version = "1.89.0"
name = "magma-protocol"
version = "0.1.21"
authors = ["pleme-io"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "magma — tfplugin5.proto + tfplugin6.proto bindings via prost-build + tonic-build. The protocol surface every provider speaks; no hand-written gRPC anywhere else."
homepage = "https://github.com/pleme-io/magma"
readme = false
license = "MIT"
repository = "https://github.com/pleme-io/magma"
[lib]
name = "magma_protocol"
path = "src/lib.rs"
doctest = false
[dependencies.prost]
version = "0.13"
[dependencies.prost-types]
version = "0.13"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"io-util",
"io-std",
"net",
"signal",
"fs",
]
[dependencies.tonic]
version = "0.13"
features = [
"transport",
"tls-ring",
"tls-webpki-roots",
]
[build-dependencies.prost-build]
version = "0.13"
[build-dependencies.protoc-bin-vendored]
version = "3"
[build-dependencies.tonic-build]
version = "0.13"
[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