# 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 = "2021" rust-version = "1.70.0" name = "protox" version = "0.7.1" authors = ["Andrew Hickman "] 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", ] description = "A rust implementation of the protobuf compiler." documentation = "https://docs.rs/protox" readme = "README.md" keywords = [ "protobuf", "serialization", ] categories = [ "compilers", "encoding", "development-tools::build-utils", ] license = "MIT OR Apache-2.0" repository = "https://github.com/andrewhickman/protox" [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] ## [{{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 [{{version}}]: https://github.com/andrewhickman/protox/compare/{{prev_version}}...{{version}}""" search = '\[Unreleased\]: https://github\.com/andrewhickman/protox/compare/.*?...HEAD' [[bin]] name = "protox" path = "src/main.rs" required-features = ["bin"] [dependencies.bytes] version = "1.6.0" [dependencies.clap] version = "4.5.4" features = ["derive"] optional = true [dependencies.miette] version = "7.2.0" [dependencies.prost] version = "0.13.0" [dependencies.prost-reflect] version = "0.14.0" features = [ "miette", "text-format", ] [dependencies.prost-types] version = "0.13.0" [dependencies.protox-parse] version = "0.7.0" [dependencies.thiserror] version = "1.0.61" [dev-dependencies.insta] version = "1.39.0" features = ["yaml"] [dev-dependencies.once_cell] version = "1.12.0" default-features = false [dev-dependencies.prost-build] version = "0.13.0" [dev-dependencies.prost-reflect] version = "0.14.0" features = ["serde"] [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] version = "1.2.0" [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.tonic-build] version = "0.12.0" [features] bin = [ "dep:clap", "miette/fancy", ]