casbin-rs / casbin-grpc

Casbin-gRPC provides gRPC interface for Casbin authorization which is implemented with Rust.
https://github.com/casbin/casbin-server
Apache License 2.0
7 stars 4 forks source link

fix: Upgraded dependencies and edition to latest version in cargo.toml #5

Closed SiddheshKanawade closed 2 years ago

SiddheshKanawade commented 2 years ago

I have done very initial migration towards Rust 2021. It seems that the build fails for project with multiple errors and complete migration will require some time until I am able to resolve all the errors and make project compile successfully.

casbin-bot commented 2 years ago

@smrpn @hackerchai @PsiACE @GopherJ please review

hsluoyz commented 2 years ago

@SiddheshKanawade fix:

image

SiddheshKanawade commented 2 years ago

@SiddheshKanawade fix:

image

On it, but it seems it will take some time as there are multiple errors, I think I have to hunt for every individual of it, any suggestions on how should I proceed? Any option to automate the task?

PsiACE commented 2 years ago

@SiddheshKanawade fix: image

On it, but it seems it will take some time as there are multiple errors, I think I have to hunt for every individual of it, any suggestions on how should I proceed? Any option to automate the task?

Consider not upgrading tonic and prost yet, it will reduce your workload.

SiddheshKanawade commented 2 years ago

Screenshot from 2022-05-09 12-36-00

Can we use gormadapter with Rust, I am pretty doubtful since official documentation says its not supported for Rust.

Reference adapter.rs

PsiACE commented 2 years ago

Can we use gormadapter with Rust, I am pretty doubtful since official documentation says its not supported for Rust.

Take it easy, it's just a comment and we can remove it.

SiddheshKanawade commented 2 years ago

I have created a new PR to keep the track of the commits towards the changes in the repository and hence closing this PR.