Skip to content
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

Pin the dependencies of the Rust code gen tools #502

Merged
merged 1 commit into from
Sep 24, 2024

Commits on Sep 24, 2024

  1. Pin the dependencies of the Rust code gen tools

    In the previous commit, only the version of `protoc-gen-prost/tonic` was
    pinned. However, Cargo would still ignore the lock file and use the
    latest version of dependencies for `protoc-gen-prost/tonic`. This meant
    that any new release of dependencies (such as `prost-build`) could
    result in differences in the generated code.
    
    This commit addresses the issue by adding `--locked` to the `cargo
    install` command, ensuring Cargo respects the lock file when installing
    code generation tools.
    
    The Rust code has been regenerated using this updated configuration.
    
    Signed-off-by: Campbell He <kp.campbell.he@duskmoon314.com>
    duskmoon314 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    91887f2 View commit details
    Browse the repository at this point in the history