Add missing lang in docs
2 files changed
tree: 837c6d575bbba52d2ccdac88c5c25d5770867f7b
  1. .bazelci/
  2. .github/
  3. docs/
  4. examples/
  5. modules/
  6. test_workspaces/
  7. tools/
  8. .bazelignore
  9. .bazelrc
  10. .gitignore
  11. .readthedocs.yaml
  12. LICENSE
  13. Makefile
  14. MODULE.bazel
  15. README.md
  16. WORKSPACE
README.md

[!IMPORTANT] You are looking at the next branch, which contains highly experimental bzlmod support. It is not recommended that you use this version of these rules at present

Announcements 📣

2023/09/12 - Version 4.5.0

Version 4.5.0 has been released, which contains a number of version updates, bug fixes and usability improvements over 4.4.0. Additionally, the Rust rules contain a major change of underlying gRPC and Protobuf library; the rules now use Tonic and Prost respectively

2023/05/03 - Version 4.4.0

Version 4.4.0 has been released, which mainly contains fixes for build edge-cases and wider compatibility

2022/12/04 - Version 4.3.0

Version 4.3.0 has been released, which contains support for more plugins features, fixes for proto paths containing special characters and updates to the core dependencies

Usage

Full documentation for the current and previous versions can be found here

Rules

LanguageRuleDescription
Cc_proto_compileGenerates C protobuf .h & .c files (example)
Cc_proto_libraryGenerates a C protobuf library using cc_library, with dependencies linked (example)
C++cpp_proto_compileGenerates C++ protobuf .h & .cc files (example)
C++cpp_grpc_compileGenerates C++ protobuf and gRPC .h & .cc files (example)
C++cpp_proto_libraryGenerates a C++ protobuf library using cc_library, with dependencies linked (example)
C++cpp_grpc_libraryGenerates a C++ protobuf and gRPC library using cc_library, with dependencies linked (example)
Gogo_proto_compileGenerates Go protobuf .go files (example)
Gogo_grpc_compileGenerates Go protobuf and gRPC .go files (example)
Gogo_proto_libraryGenerates a Go protobuf library using go_library from rules_go (example)
Gogo_grpc_libraryGenerates a Go protobuf and gRPC library using go_library from rules_go (example)
Pythonpython_proto_compileGenerates Python protobuf .py files (example)
Pythonpython_grpc_compileGenerates Python protobuf and gRPC .py files (example)
Pythonpython_grpclib_compileGenerates Python protobuf and grpclib .py files (supports Python 3 only) (example)
Pythonpython_proto_libraryGenerates a Python protobuf library using py_library from rules_python (example)
Pythonpython_grpc_libraryGenerates a Python protobuf and gRPC library using py_library from rules_python (example)
Pythonpython_grpclib_libraryGenerates a Python protobuf and grpclib library using py_library from rules_python (supports Python 3 only) (example)

License

This project is derived from stackb/rules_proto under the Apache 2.0 license and this project therefore maintains the terms of that license