Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dcSpark/cddl-codegen
/ functions
Functions
1,061 in github.com/dcSpark/cddl-codegen
⨍
Functions
1,061
◇
Types & classes
166
Function
encoding_var_macros
the codegen crate doesn't support proc macros for fields so we need to do this with newlines. codegen takes care of indentation somehow.
src/generation.rs:3855
Method
end
(&self, serializer: &'a mut Serializer<W>)
static/serialization_preserve_non_force_canonical.rs:26
Method
end
(&self, serializer: &'a mut Serializer<W>, force_canonical: bool)
static/serialization_preserve_force_canonical.rs:30
Function
enum_opt_embed_fields
()
tests/core/tests.rs:905
Function
enum_opt_embed_fields
()
tests/preserve-encodings/tests.rs:1234
Function
enums
()
tests/core/tests.rs:389
Function
enums
()
tests/preserve-encodings/tests.rs:722
Function
error_display_formatting
()
tests/core/tests.rs:218
Function
everything
(b: &[u8])
static/emit_tests_encoding_fidelity.rs:317
Function
everything_roundtrips_through_extern_dep_types
()
tests/extern-deps/tests.rs:43
Function
everything_roundtrips_through_extern_dep_types
()
tests/extern-deps-non-preserve/tests.rs:46
Method
export
(&self)
src/intermediate.rs:37
Function
extern_dep_encodings_thread_across_the_crate_boundary
()
tests/extern-deps/tests.rs:67
Function
extern_dep_encodings_thread_across_the_crate_boundary
()
tests/extern-deps-non-preserve/tests.rs:70
Function
extern_deps
()
src/tests/integration_tests.rs:4047
Function
extern_deps_non_preserve
()
src/tests/integration_tests.rs:4070
Function
externs
()
tests/core/tests.rs:472
Function
externs_generic
()
tests/core/tests.rs:481
Method
failure
The underlying failure reason. Lets callers (e.g. generated reject tests) assert the exact `DeserializeFailure` variant rather than just that deserial
static/error.rs:73
Function
feature_corpus
()
src/tests/snapshot_tests.rs:118
Function
feature_corpus_compiles
()
src/tests/integration_tests.rs:911
Function
feature_corpus_roundtrips_nondefault_profiles
()
src/tests/integration_tests.rs:4365
Method
finish
(&self)
static/serialization_non_preserve.rs:34
Function
fit_sz
(len: u64, sz: Option<cbor_event::Sz>)
static/serialization_preserve_non_force_canonical.rs:2
Function
fit_sz
(len: u64, sz: Option<cbor_event::Sz>, force_canonical: bool)
static/serialization_preserve_force_canonical.rs:2
Function
fixed_key_arrow_single_entry_routes_to_record_path
()
src/tests/robustness_tests.rs:575
Function
flag_flip_removes_stale_dep
()
src/cargo_manifest.rs:720
Function
flag_rejects_conformance_without_emit_tests
()
src/tests/integration_tests.rs:2315
Function
flag_value_rejects_canonical_without_preserve
()
src/tests/integration_tests.rs:1531
Function
flag_value_smoke
()
src/tests/integration_tests.rs:1476
Function
float_holder
()
tests/json-float/tests.rs:8
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/cargo_manifest.rs:74
Function
fold_entry_with_no_action_is_an_error
()
src/cargo_manifest.rs:1100
Function
fold_entry_with_set_and_remove_is_an_error
()
src/cargo_manifest.rs:1084
Function
fold_gapped_ids_error_names_the_file
()
src/cargo_manifest.rs:1062
Function
fold_remove_then_set_emits_set
()
src/cargo_manifest.rs:1049
Function
fold_seed_and_set_become_their_ops_in_first_mention_order
()
src/cargo_manifest.rs:995
Function
fold_set_then_remove_emits_remove
()
src/cargo_manifest.rs:1036
Function
fold_set_then_set_keeps_last_value_at_first_position
()
src/cargo_manifest.rs:1018
Function
fold_unparseable_snippet_is_an_error
()
src/cargo_manifest.rs:1114
Function
foo
()
tests/raw-bytes-preserve/tests.rs:8
Function
foo
()
tests/rust-wasm-split/tests.rs:18
Function
foo
()
tests/core/tests.rs:33
Function
foo
()
tests/raw-bytes/tests.rs:19
Function
foo2_none
()
tests/rust-wasm-split/tests.rs:28
Function
foo2_none
()
tests/core/tests.rs:43
Function
foo2_some
()
tests/rust-wasm-split/tests.rs:23
Function
foo2_some
()
tests/core/tests.rs:38
Function
foo_too_big
()
tests/raw-bytes-preserve/tests.rs:26
Function
foo_too_small
()
tests/raw-bytes-preserve/tests.rs:36
Function
foreign_scratch_ident
A catalog row id (`occur.optional`, `contain.array-element.type.choice`) -> a filesystem-safe scratch dir fragment (the ids carry `.` and `-`, fine fo
src/tests/integration_tests.rs:4985
Method
format
(operations: impl Iterator<Item = Self>)
src/intermediate.rs:2374
Function
fresh_produces_full_manifest
()
src/cargo_manifest.rs:634
Method
from
(len: cbor_event::Len)
static/serialization_preserve.rs:52
Method
from
(len: cbor_event::Len)
static/serialization_non_preserve.rs:51
Method
from
(rust_type: &'a RustType)
src/generation.rs:346
Method
from
(comments: Option<&'a cddl::ast::Comments<'a>>)
src/comment_ast.rs:224
Method
from
(mut scope: Vec<String>)
src/intermediate.rs:47
Method
from
(len: cbor_event::Len)
tests/extern-dep-crate/src/serialization.rs:72
Method
from
(failure: DeserializeFailure)
tests/extern-dep-crate/src/error.rs:131
Method
from_cbor_bytes
(data: &[u8])
static/serialization.rs:3
Method
from_cbor_bytes
(cbor_bytes: &[u8])
tests/extern-dep-crate/src/lib.rs:35
Method
from_cbor_bytes
(data: &[u8])
tests/extern-dep-crate/src/serialization.rs:3
Method
from_iter
(iter: T)
static/ordered_hash_map.rs:41
Method
from_parse_results
(results: &[ParseResult])
src/comment_ast.rs:88
Method
from_raw_hex
(hex_str: &str)
static/raw_bytes_encoding.rs:12
Method
from_wasm_boundary_ref
(&self, types: &IntermediateTypes, expr: &str)
src/intermediate.rs:2107
Function
gen_out
(spec: &str, tag: &str)
src/tests/robustness_tests.rs:594
Function
generate
(spec: &str, tag: &str)
src/tests/robustness_tests.rs:252
Function
generation_is_deterministic
()
src/tests/snapshot_tests.rs:150
Function
generic_names_are_collision_proofed_against_rw_idents
()
src/tests/identifier_hazard_tests.rs:181
Function
get_rule_name
( parent_visitor: &'a ParentVisitor, cddl_type: &CDDLType<'a, '_>, )
src/parsing.rs:2674
Function
getting_started_example
()
src/tests/integration_tests.rs:1057
Function
golden_hex
()
src/tests/integration_tests.rs:2651
Function
golden_hex_canonical
()
src/tests/integration_tests.rs:2675
Function
golden_hex_preserve
()
src/tests/integration_tests.rs:2658
Function
group_choice
()
tests/canonical/tests.rs:395
Function
group_choice
()
tests/preserve-encodings/tests.rs:741
Function
group_choice
()
tests/comment-dsl/tests.rs:55
Function
group_choice_0
()
tests/rust-wasm-split/tests.rs:83
Function
group_choice_0
()
tests/core/tests.rs:400
Function
group_choice_foo
()
tests/rust-wasm-split/tests.rs:78
Function
group_choice_foo
()
tests/core/tests.rs:395
Function
group_choice_plain
()
tests/rust-wasm-split/tests.rs:88
Function
group_choice_plain
()
tests/core/tests.rs:405
Function
group_type
()
tests/comment-dsl/tests.rs:23
Function
hand_written_cbor_accepted
()
tests/multifile/tests.rs:105
Function
hash
()
tests/core/tests.rs:26
Function
i16_wrapper
()
tests/json/tests.rs:52
Function
i64_wrapper
()
tests/json/tests.rs:58
Function
identifier_hazard_crates_compile
()
src/tests/identifier_hazard_tests.rs:368
Function
identifier_hazard_robustness_catalog
()
src/tests/identifier_hazard_tests.rs:233
Function
indef_containers
(b: &[u8])
static/emit_tests_encoding_fidelity.rs:302
Method
index_0
(&self)
tests/extern-dep-crate/src/lib.rs:40
Method
index_1
(&self)
tests/extern-dep-crate/src/lib.rs:44
Method
index_2
(&self)
tests/extern-dep-crate/src/lib.rs:48
Method
inline_schema
()
static/ordered_hash_map_schemars.rs:8
Function
input_robustness_catalog
()
src/tests/robustness_tests.rs:743
Function
int_json
()
tests/json/tests.rs:98
Function
ir_conformance_corpus
()
src/tests/integration_tests.rs:3001
← previous
next →
701–800 of 1,061, ranked by callers