[dependencies.base64]
optional = true
version = "0.22.0"
[dependencies.logos]
optional = true
version = "0.14.0"
[dependencies.miette]
optional = true
version = "7.0.0"
[dependencies.once_cell]
version = "1.9.0"
[dependencies.prost]
version = "0.13.0"
[dependencies.prost-reflect-derive]
optional = true
version = "0.14.0"
[dependencies.prost-types]
version = "0.13.0"
[dependencies.serde-value]
optional = true
version = "0.7.0"
[dependencies.serde1]
optional = true
package = "serde"
version = "1.0.132"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.23.0"
[dev-dependencies.once_cell]
version = "1.13.0"
[dev-dependencies.proptest]
version = "1.0.0"
[dev-dependencies.prost-build]
version = "0.13.0"
[dev-dependencies.protox]
version = "0.7.0"
[dev-dependencies.serde_json]
version = "1.0.106"
[dev-dependencies.serde_yaml]
version = "0.9.25"
[dev-dependencies.similar-asserts]
features = ["serde"]
version = "1.4.2"
[features]
derive = ["prost-reflect-derive"]
serde = ["serde1", "base64", "serde-value"]
text-format = ["logos"]
[lib]
name = "prost_reflect"
path = "src/lib.rs"
[package]
authors = ["Andrew Hickman <andrew.hickman1@sky.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["encoding"]
description = "A protobuf library extending prost with reflection support and dynamic messages."
documentation = "https://docs.rs/prost-reflect"
edition = "2021"
exclude = ["**/tests.rs", "proptest-regressions", "src/file_descriptor_set.bin", "src/doctest.proto", "tests"]
keywords = ["protobuf", "serialization", "json"]
license = "MIT OR Apache-2.0"
name = "prost-reflect"
readme = "README.md"
repository = "https://github.com/andrewhickman/prost-reflect"
rust-version = "1.70.0"
version = "0.14.2"
[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-tag = true
tag-name = "{{version}}"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../README.md"
replace = "https://deps.rs/crate/prost-reflect/{{version}}/status.svg"
search = 'https://deps\.rs/crate/prost-reflect/.*?/status.svg'
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "../README.tpl"
replace = "https://deps.rs/crate/prost-reflect/{{version}}/status.svg"
search = 'https://deps\.rs/crate/prost-reflect/.*?/status.svg'
[[package.metadata.release.pre-release-replacements]]
file = "../README.md"
min = 1
replace = "https://docs.rs/prost-reflect/{{version}}/prost_reflect"
search = 'https://docs\.rs/prost-reflect/.*?/prost_reflect'
[[package.metadata.release.pre-release-replacements]]
file = "../README.tpl"
min = 1
replace = "https://docs.rs/prost-reflect/{{version}}/prost_reflect"
search = 'https://docs\.rs/prost-reflect/.*?/prost_reflect'
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "src/lib.rs"
replace = 'html_root_url = "https://docs.rs/prost-reflect/{{version}}/"'
search = 'html_root_url = "https://docs.rs/prost-reflect/.*?/"'
[[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/prost-reflect/compare/{{version}}...HEAD
[{{version}}]: https://github.com/andrewhickman/prost-reflect/compare/{{prev_version}}...{{version}}"""
search = '\[Unreleased\]: https://github\.com/andrewhickman/prost-reflect/compare/.*?...HEAD'