protox
A rust implementation of the protobuf compiler.
0.9.1
14M downloads/mo
#2603 most downloaded on crates.io
andrewhickman/protox
What this package is like to depend on
Last release 8 months ago
02 Dec 2025
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 20 of 21 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
21 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
21 releases · Jul 2022 to Dec 2025
2023
2024
2025
2026
Releases
latest 21-
0.9.102 Dec 2025Release notes
Open source →Other
- Remove a reference to
prost::DecodeError::newwhich was removed in prost version 0.14.2
- Remove a reference to
-
0.9.013 Jun 2025 -
0.8.010 Apr 2025Release notes
Open source →Changed
- The minimum supported rust version is now 1.74.0.
- Updated to
prost-reflectversion 0.15.0.
-
0.7.213 Jan 2025Release notes
Open source →Fixed
- Duplicate
importstatements are now correctly rejected with an error (#90)
- Duplicate
-
0.7.115 Aug 2024Nothing published for this version
-
0.7.008 Jul 2024 -
0.6.111 Jun 2024 -
0.6.007 Feb 2024Release notes
Open source →Changed
- The minimum supported rust version is now 1.70.0.
- Updated the miette dependency to version 7.0.0.
-
0.5.102 Nov 2023Release notes
Open source →Added
- The
prostandprost-reflectdependencies are now re-exported at the crate root, for easier use in build scripts.
- The
-
0.5.001 Sep 2023Release notes
Open source →Changed
- The minimum supported rust version is now 1.64.0.
- Updated to prost 0.12.0
- Protox now validates that all referenced types are included in imported files (#6)
-
0.4.125 Jun 2023 -
0.4.018 Jun 2023 -
0.3.505 Jun 2023Release notes
Open source →Changed
- The error when reading invalid UTF-8 is now classified as a parse error, not an IO error.
-
0.3.405 Jun 2023Release notes
Open source →Added
- Added new methods to get error details:
Error::is_parse,Error::is_ioandError::file.
- Added new methods to get error details:
-
0.3.327 Apr 2023Release notes
Open source →Changed
- Updated logos dependency to 0.13.0.
- Reduce minimum supported rust version to 1.60.0 to match prost-reflect.
-
0.3.110 Apr 2023Release notes
Open source →Added
- Added the
Compiler::filesmethod to get all imported files. This may be used to emitrerun-if-changeddirectives in a build script.
Changed
- The
Debugrepresentation ofErroris now more concise and readable, to support usage withunwrapin build scripts.
- Added the
-
0.3.004 Apr 2023Release notes
Open source →Added
- Added the
Compiler::descriptor_poolmethod to get the descriptor pool containing all referenced files.
Changed
- Updated
prost-reflectdependency to 0.11.0. - Renamed
File::to_file_descriptor_prototoFile::file_descriptor_protoand changed it to return a reference instead of cloning.
- Added the
-
0.2.219 Feb 2023Release notes
Open source →Changed
protox_parse::parsewill no longer automatically populate thejson_namefield of fields. This behaviour has moved toprost-reflect(see (#27)[https://github.com/andrewhickman/prost-reflect/pull/27]), so the behaviour ofprotox::compileis unchanged.
-
0.2.107 Jan 2023 -
0.2.004 Jan 2023Release notes
Open source →Changed
- Breaking: The
parse()function now takes an additional argument for the file name. - Breaking:
Compiler::add_fileis renamed toCompiler::open_file.
Fixed
- Fixed name resolution in nested messages
- Fixed source info for oneofs not including comments
- Enums now respect the allow_alias option
- Extension options are now supported
- More validation checks have been added (some still remain, see #5)
- Breaking: The
-
0.1.025 Jul 2022Release notes
Open source →Added
- Initial release, implementing most of the functionality of protoc in rust. The main unimplemented features are:
- Setting extension options in .proto source files is not supported
- Some validation checks are missing
- Initial release, implementing most of the functionality of protoc in rust. The main unimplemented features are: