MCPcopy Index your code
hub / github.com/dcSpark/cddl-codegen

github.com/dcSpark/cddl-codegen @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,227 symbols 3,242 edges 87 files 236 documented · 19%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Deserialize (Interface)
same as cbor_event::de::Deserialize but with our DeserializeError [2 implementers]
static/serialization.rs
Deserialize (Interface)
same as cbor_event::de::Deserialize but with our DeserializeError [2 implementers]
tests/extern-dep-crate/src/serialization.rs
EncodingVarIsCopy (Interface)
(no doc) [3 implementers]
src/generation.rs
Serialize (Interface)
(no doc) [2 implementers]
static/serialization_preserve_force_canonical.rs
ToCBORBytes (Interface)
(no doc) [1 implementers]
static/serialization_non_force_canonical.rs
Outcome (Interface)
(no doc)
check.ts
DeserializeEmbeddedGroup (Interface)
(no doc)
static/serialization_preserve.rs
DeserializeEmbeddedGroup (Interface)
(no doc)
static/serialization_non_preserve.rs

Core symbols most depended-on inside this repo

push
called by 472
src/generation.rs
line
called by 371
src/generation.rs
push_block
called by 106
src/generation.rs
as_ref
called by 86
src/intermediate.rs
o
called by 86
cddl-matrix/project_corpus.ts
to_cbor_bytes
called by 69
tests/extern-dep-crate/src/lib.rs
w
called by 58
cddl-matrix/project_golden_hex.ts
w
called by 43
cddl-matrix/project_corpus.ts

Shape

Function 782
Method 279
Interface 79
Class 47
Enum 40

Languages

Rust82%
TypeScript18%

Modules by API surface

src/intermediate.rs160 symbols
src/generation.rs144 symbols
src/tests/integration_tests.rs81 symbols
src/cargo_manifest.rs66 symbols
cddl-matrix/verify.ts66 symbols
tests/core/tests.rs53 symbols
src/parsing.rs40 symbols
src/emit_tests.rs37 symbols
tests/preserve-encodings/tests.rs36 symbols
src/comment_ast.rs31 symbols
src/emit_tests_wasm.rs24 symbols
tests/extern-dep-crate/src/serialization.rs22 symbols

For agents

$ claude mcp add cddl-codegen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact