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

Proto types #81

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Proto types #81

wants to merge 2 commits into from

Commits on Sep 10, 2024

  1. proto: add cel/expr/{checked,syntax,value}.proto

    These are vendored from https://github.com/google/cel-spec,
    proto/cel/expr/ at ed066e332b7acc3dbf68e65e0001061539d25e83.
    
    The other files only contain messages for interacting with a CEL
    interpreter, but don't represent ASTs.
    flokli committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    cd12b74 View commit details
    Browse the repository at this point in the history
  2. add cel_interpreter::proto and proto feature flag

    This adds the cel_interpreter::proto mod, exposing the cel.expr protobuf
    types, as well as the necessary plumbing to generate the type
    definitions at compile time.
    
    The outcome can be best explored by invoking `cargo doc` with the
    `proto` feature enabled, and starting at the
    `cel_interpreter::proto::[Parsed]Expr` struct.
    flokli committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    8419e0b View commit details
    Browse the repository at this point in the history