[[bin]]
name = "protox"
path = "src/main.rs"
required-features = ["bin"]
[dependencies.bytes]
version = "1.6.0"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5.4"
[dependencies.miette]
version = "7.2.0"
[dependencies.prost]
version = "0.12.6"
[dependencies.prost-reflect]
features = ["miette", "text-format"]
version = "0.13.1"
[dependencies.prost-types]
version = "0.12.6"
[dependencies.protox-parse]
version = "0.6.1"
[dependencies.thiserror]
version = "1.0.61"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.39.0"
[dev-dependencies.once_cell]
default_features = false
version = "1.12.0"
[dev-dependencies.prost-build]
version = "0.12.6"
[dev-dependencies.prost-reflect]
features = ["serde"]
version = "0.13.1"
[dev-dependencies.scopeguard]
version = "1.1.0"
[dev-dependencies.serde_json]
version = "1.0.117"
[dev-dependencies.serde_yaml]
version = "0.9.34"
[dev-dependencies.similar-asserts]
features = ["serde"]
version = "1.2.0"
[dev-dependencies.tempfile]
version = "3.10.1"
[dev-dependencies.tonic-build]
version = "0.11.0"
[features]
bin = ["dep:clap", "miette/fancy"]
[package]
authors = ["Andrew Hickman <andrew.hickman1@sky.com>"]
categories = ["compilers", "encoding", "development-tools::build-utils"]
description = "A rust implementation of the protobuf compiler."
documentation = "https://docs.rs/protox"
edition = "2021"
include = ["LICENSE-APACHE", "LICENSE-MIT", "src/**/*.rs", "!src/**/tests.rs", "protobuf/LICENSE", "protobuf/src/google/protobuf/any.proto", "protobuf/src/google/protobuf/api.proto", "protobuf/src/google/protobuf/descriptor.proto", "protobuf/src/google/protobuf/duration.proto", "protobuf/src/google/protobuf/empty.proto", "protobuf/src/google/protobuf/field_mask.proto", "protobuf/src/google/protobuf/source_context.proto", "protobuf/src/google/protobuf/struct.proto", "protobuf/src/google/protobuf/timestamp.proto", "protobuf/src/google/protobuf/type.proto", "protobuf/src/google/protobuf/wrappers.proto", "protobuf/src/google/protobuf/compiler/plugin.proto"]
keywords = ["protobuf", "serialization"]
license = "MIT OR Apache-2.0"
name = "protox"
readme = "README.md"
repository = "https://github.com/andrewhickman/protox"
rust-version = "1.70.0"
version = "0.6.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
pre-release-commit-message = "(cargo-release) {{crate_name}} version {{version}}"
sign-commit = true
sign-tag = true
tag-name = "{{version}}"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../README.md"
replace = "https://deps.rs/crate/protox/{{version}}/status.svg"
search = "https://deps\\.rs/crate/protox/[^/]*/status.svg"
[[package.metadata.release.pre-release-replacements]]
file = "../README.md"
min = 0
replace = "https://docs.rs/protox/{{version}}/protox"
search = "https://docs\\.rs/protox/[^/]*/protox"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "src/lib.rs"
replace = "html_root_url = \"https://docs.rs/protox/{{version}}/\""
search = "html_root_url = \"https://docs.rs/protox/[^/]*/\""
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../CHANGELOG.md"
replace = "## [Unreleased]\n\n## [{{version}}] - {{date}}"
search = "## \\[Unreleased\\]"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../CHANGELOG.md"
replace = "[Unreleased]: https://github.com/andrewhickman/protox/compare/{{version}}...HEAD\n[{{version}}]: https://github.com/andrewhickman/protox/compare/{{prev_version}}...{{version}}"
search = "\\[Unreleased\\]: https://github\\.com/andrewhickman/protox/compare/.*?...HEAD"