forked from datrs/dat-network-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate codegen to pure-rust generator
This commit replaces the build.rs dev dependency to generate protobuf files using a pure-rust implementation, removing the requirement to have `protoc` installed and making it easier to contribute. This commit also bumps the lib protobuf lib to the latest version, and pin it to a specific dependency, as required by the constant it generates. Due to requiring a specific protobuf version, a new minor version has been bumped. Tentatively fix datrs#2
- Loading branch information
Showing
12 changed files
with
471 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[package] | ||
name = "dat-network-protocol" | ||
description = "Dat Network Protocol protobuf definitions." | ||
version = "0.1.4" | ||
version = "0.2.0" | ||
authors = ["Yoshua Wuyts <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
protobuf = "2.0.4" | ||
protobuf = "=2.10.1" | ||
|
||
[build-dependencies] | ||
protoc-rust = "2.0.4" | ||
protobuf-codegen-pure = "=2.10.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.