-
Notifications
You must be signed in to change notification settings - Fork 20
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
docs.rs fails in 0.9.2,0.9.3 #301
Comments
experimental_allow_proto3_optional is outdated as of 2022/5/28 |
I remove the flag in 0.9.3 but still it makes an error
I guess this is because protoc used by docrs is too old because optional is valid in the newer protoc (protobuf v3.14 or later). |
|
I think this will not resolve any time soon. Losing doc is really damaging for this project. So we need to work around. The below should work.
Below is the example of conditional compilation. if std::env::var("DOCS_RS").is_ok() {
// ... your code here ...
} |
Resolved in v0.9.5. |
https://docs.rs/crate/lol-core/0.9.2
The text was updated successfully, but these errors were encountered: