-
Notifications
You must be signed in to change notification settings - Fork 588
Remove build.rs #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Remove build.rs #657
Changes from 5 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6be9577
Proposal modular protoc support
LucioFranco 8d75b8f
Add vendored binaries for CI
LucioFranco 09ad2e2
fix protoc path
LucioFranco a741b7a
better paths for protoc
LucioFranco 16a35e9
use protoc action
LucioFranco 6e45665
remove locally vendored items
LucioFranco 4129a33
fix more tests
LucioFranco af30d81
Merge remote-tracking branch 'origin/master' into lucio/remove-build-rs
LucioFranco 43a2e2f
Remove vendored feature
LucioFranco c29e157
remove feature flag usage
LucioFranco 9456594
remove edition2021 for vendored test
LucioFranco 087cd98
bump msrv to 1.56
LucioFranco 274a6c9
more docs
LucioFranco 5bb5cd2
Merge remote-tracking branch 'origin/master' into lucio/remove-build-rs
LucioFranco e89f2fd
Remove requirement for PROTOC_INCLUDE
LucioFranco f097c62
update docs
LucioFranco eb92120
fix vendored ci
LucioFranco d5bfb37
Remove vendored
LucioFranco 7c61078
Remove build.rs
LucioFranco b2b0733
Merge remote-tracking branch 'origin/master' into lucio/remove-build-rs
LucioFranco 2f5dc52
Update prost-build/src/lib.rs
LucioFranco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| fn main() { | ||
| // let protoc_include = if let Some(include) = std::env::var_os("PROTOC_INCLUDE") { | ||
| // include.into() | ||
| // } else { | ||
| // std::env::current_dir().unwrap().join("third-party") | ||
| // }; | ||
|
|
||
| // println!( | ||
| // "cargo:rustc-env=PROTOC_INCLUDE={}", | ||
| // protoc_include.display() | ||
| // ); | ||
| // println!("cargo:rerun-if-env-changed=PROTOC_INCLUDE"); | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,12 +1,16 @@ | ||
| [package] | ||
| name = "test-vendored" | ||
| version = "0.1.0" | ||
| edition = "2018" | ||
| publish = false | ||
|
|
||
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
|
||
| [dependencies] | ||
| prost = { path = "../.." } | ||
| prost-types = { path = "../../prost-types" } | ||
| bytes = "1" | ||
|
|
||
| [build-dependencies] | ||
| prost-build = { path = "../../prost-build" } | ||
| prost-build = { path = "../../prost-build" , features = ["cleanup-markdown"]} | ||
| protobuf-src = "1.0.5+3.19.3" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.