Comments (4)
A quick search led me to this not implemented crate protoc-gen-prost-validate. The idea of protoc-gen-prost project is to provide a collection of protoc plugin that generates code using the Prost! code generation engine.
from protovalidate.
Hi @ivanitskiy, thanks for bringing up the idea of adding Rust support to protovalidate
. I can see how this could be really beneficial for those working in the Rust ecosystem.
Just to set expectations, we don't have plans to work on this at the moment. But, knowing that there’s interest is really valuable, and I'm open to hearing more about what you have in mind.
If you or anyone in the community is interested in contributing, that would be amazing. Specifically, implementing Rust support would require building a CEL (Common Expression Language) interpreter in Rust. This would be a crucial component for validation logic. If that's something you or others might be up for tackling, we would be incredibly appreciative. Community contributions really make a difference.
Feel free to reach out if you have any questions or need more information - we will always offer support if this is something you would like to attempt.
from protovalidate.
It would be great to see some collaboration between buf & @neoeinstein's protoc-gen-prost.
from protovalidate.
The first library is new and active, the other two aren't, so at least there's a baseline for anyone interested in contributing
- https://github.com/1BADragon/rscel
- https://github.com/orf/cel-rust-original
- https://github.com/thesayyn/cel-rust
Alternatively, it might be easier to bind to the core C++ implementation: https://github.com/google/cel-spec
from protovalidate.
Related Issues (20)
- Add package documentation for Protobuf packages
- [Feature Request] PHP Support
- [Feature Request] Ruby Support
- [Question] Deprecated field validation HOT 1
- [Question] I can't generate a validator with buf, is the plugin used by the buf.gen.yaml file incorrect? HOT 1
- Protoc does not generate validation code [BUG] HOT 1
- [Feature Request] Have URI validations for string but also allow empty HOT 1
- [Feature Request]: Add wellknown regex for URL encoded parameters HOT 1
- Cannot resolve import HOT 1
- [Question] Migration from protoc-gen-validate to protovalidate HOT 2
- [Feature Request] Add to scalapb common protos HOT 3
- [Question] Carrying Patches from protoc-gen-validate HOT 1
- How do you use protovalidate on grpc-gateway? HOT 2
- [Feature Request] How to replace error messages in standard constraints? HOT 1
- [BUG] Regex in CEL with non-capturing group issue HOT 1
- [BUG] migrate: tmp on different partition than target [invalid cross-device link] HOT 1
- [BUG] migration tool: repeated strings with ignore_empty doesn't work HOT 2
- Add access to custom options (of host messages).
- [BUG] Migrator uses wrong field path for string ignore HOT 1
- [Feature Request] how to do i18n? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protovalidate.