You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(rvps): fix feature configuration and migrate to tonic-prost-build
This commit addresses two issues:
1. Starting from version 0.14.0, prost, tonic-prost, and tonic-prost-build
libraries need to work together to enable protobuf compilation. This change
migrates from tonic-build to tonic-prost-build in build.rs to ensure
compatibility with the 0.14.x series.
2. The rvps crate's feature configuration had issues where building with
default features disabled would fail. To fix this, several dependencies
(prost, tonic, tonic-prost, config, tokio) are now required dependencies
instead of optional ones, ensuring the crate can build even when default
features are disabled.
Changes:
- Replace tonic-build with tonic-prost-build in build.rs
- Make prost, tonic, tonic-prost, config, and tokio required dependencies
- Remove these dependencies from the 'bin' feature since they are now always
included
Signed-off-by: Xynnn007 <[email protected]>
0 commit comments