MCPcopy Index your code
hub / github.com/dflemstr/serde-protobuf

github.com/dflemstr/serde-protobuf @v0.8.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.2 ↗ · + Follow
1,261 symbols 1,505 edges 10 files 469 documented · 37% updated 4y ago★ 702 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

serde-protobuf crates.io badge docs.rs badge

Support for Google protocol buffers in combination with serde.

The crate is split up into several logical parts.

  • The descriptor module provides an API for managing dynamically loaded protocol buffer schemata.
  • The value module provides structs that can hold any raw protocol buffer decoded data (but the representation is heavily coupled with a schema).
  • The de module can be used to deserialize binary encoded protocol buffer messages given some schema descriptors.

Serialization is not yet implemented in this version.

Extension points exported contracts — how you extend this code

Subset (Interface)
(no doc) [1 implementers]
tests/lib.rs

Core symbols most depended-on inside this repo

bad
called by 8
src/descriptor.rs
put
called by 4
src/value.rs
name
called by 4
src/descriptor.rs
store
called by 4
src/descriptor.rs
field_type
called by 3
src/descriptor.rs
merge_from
called by 2
src/value.rs
visit_value
called by 2
src/de.rs
message_by_name
called by 2
src/descriptor.rs

Shape

Method 1,146
Class 78
Enum 19
Function 17
Interface 1

Languages

Rust100%

Modules by API surface

tests/protobuf_unittest/unittest.rs1,125 symbols
src/descriptor.rs40 symbols
tests/protobuf_unittest/unittest_import.rs31 symbols
tests/protobuf_unittest/unittest_import_public.rs25 symbols
src/de.rs15 symbols
src/value.rs11 symbols
tests/lib.rs8 symbols
src/error.rs6 symbols

For agents

$ claude mcp add serde-protobuf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page