Skip to content

Bump cel-rust to 0.15+ to fix string size() #74

Backlog

Description

@catinspace-au

size() of a string counts UTF-8 bytes. The CEL spec counts code points. On 0.10.0:

from cel import evaluate
evaluate("size(s)", {"s": "\u00e9"})  # 2, the spec says 1

cel-rust/cel-rust#363 fixed this in v0.15.0. Cargo.toml still pins cel = "0.14.5". Bump to 0.16.1 (the latest) for the fix. #57 wants the same bump for the comprehension fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions