Skip to contents

Reports the zuproto version and the Protocol Buffers release whose upb runtime is bundled.

Usage

zuproto_info()

Value

A list of class zuproto_info with elements:

  • version: zuproto's version.

  • protobuf: the protobuf release tag upb was vendored from, such as "v36.2".

  • protobuf_commit: that tag's commit.

  • limits: the default max_size (bytes) and max_depth of proto_decode().

Examples

zuproto_info()
#> <zuproto_info>
#> zuproto:  0.1.0
#> upb:      protobuf v36.2 (2c74169)
#> max_size: 67108864 bytes
#> max_depth: 100