Skip to main content

Crate actr_framework_protoc_codegen

Crate actr_framework_protoc_codegen 

Source
Expand description

§actr-framework-protoc-codegen

Protoc plugin for generating actr-framework code from protobuf service definitions.

This crate generates:

  • Handler traits for service implementations
  • MessageDispatcher implementations for request routing
  • Workload wrapper types
  • Message trait implementations (for Context::call/tell)
  • PayloadType-aware client code

The only external consumer of this library is the sibling binary protoc-gen-actrframework, which consumes the re-exported subset below. The payload_type_extractor module is an internal helper used by modern_generator and is kept crate-private.

Structs§

ModernGenerator
Modern code generator
RemoteServiceInfo
Remote service information for dispatcher generation

Enums§

GeneratorRole
Code generator role