[package]
edition = "2024"
name = "switchback-protobuf"
version = "0.0.1-0.dev.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protobuf parser for the switchback framework."
homepage = "https://github.com/canardleteer/switchback-rs"
readme = "README.md"
keywords = [
"protobuf",
"proto",
"protoc",
"parser",
"grpc",
]
categories = [
"parser-implementations",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/canardleteer/switchback-rs"
resolver = "2"
[features]
buf = ["dep:buf-tools"]
default = [
"protoc",
"buf",
]
protoc = ["dep:protoc-bin-vendored"]
[lib]
name = "switchback_protobuf"
path = "src/lib.rs"
[[bin]]
name = "switchback-protobuf"
path = "src/bin/switchback-protobuf.rs"
[[test]]
name = "features_disabled"
path = "tests/features_disabled.rs"
[[test]]
name = "fixtures_integrity"
path = "tests/fixtures_integrity.rs"
[[test]]
name = "pass_through"
path = "tests/pass_through.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.buf-tools]
version = "=1.70.0-hotfix.1"
optional = true
[dependencies.buffa]
version = "0.6.0"
features = ["std"]
default-features = false
[dependencies.buffa-descriptor]
version = "0.6.0"
features = ["std"]
default-features = false
[dependencies.protoc-bin-vendored]
version = "3.2.0"
optional = true
[dependencies.regex]
version = "1.11"
[dependencies.sha2]
version = "0.10"
[dependencies.switchback-codec-pb]
version = "0.0.1-0.dev.4"
[dependencies.switchback-protocols]
version = "0.0.1-0.dev.4"
[dependencies.switchback-traits]
version = "0.0.1-0.dev.4"
[dependencies.tempfile]
version = "3.19"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.tempfile]
version = "3.19"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]