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
↓ 1 callers
Function
wrapper_construct_reject
construct-reject for a bounded `@newtype` wrapper. The wrapper checks the *raw* `min_max` against the inner value (or its `.len()`), with no nint tran
src/emit_tests.rs:970
↓ 1 callers
Function
wrapper_roundtrip
Wrapper round-trip: one wire cycle with a valid inner value (bounds-respecting when `min_max` is present — the wrapper checks the raw measure, no nint
src/emit_tests.rs:747
Method
_cbor_special_type
(&self)
src/intermediate.rs:1649
Function
_enum_variants_common_constant_type
Some when all variants have the same FixedValue variant (e.g. all Uint, all Nint, all Text, etc) or None if they differ in any way (including encoding
src/intermediate.rs:3407
Function
_field_name_from_comments
(comments: &Option<Comments<'_>>)
src/parsing.rs:1401
Method
_for_rust_read
Function parameter TYPE by-non-mut-reference for read-only
src/intermediate.rs:1823
Method
_is_serialize_multiline
(&self, types: &IntermediateTypes)
src/intermediate.rs:1653
Method
acquire
(limit: usize)
static/serialization_depth_guard.rs:18
Function
acquire_scratch_lock_serializes
()
src/tests/integration_tests.rs:65
Method
add_imports_from_scope_refs
( scope: &ModuleScope, content: &mut codegen::Scope, imports: &BTreeMap<Mo
src/generation.rs:1000
Method
aliases
()
src/intermediate.rs:401
Function
all_supported_constructs_generate
()
src/tests/robustness_tests.rs:60
Function
all_supported_constructs_generate_all_profiles
()
src/tests/integration_tests.rs:4227
Method
annotate
(self, location: T)
static/error.rs:77
Function
array_opt_fields
()
tests/core/tests.rs:580
Function
array_opt_fields
()
tests/preserve-encodings/tests.rs:930
Function
assert_json_reject
Negative half of the wrapper tests above (which never feed one invalid input): each reject is asserted on an error-message SUBSTRING, not bare is_err(
tests/json/tests.rs:131
Function
bar
()
tests/rust-wasm-split/tests.rs:33
Function
bar
()
tests/core/tests.rs:288
Function
bareword_and_quoted_keys_converge
()
src/tests/robustness_tests.rs:251
Function
bareword_keyword_field_name_rejects_gracefully
()
src/tests/robustness_tests.rs:683
Method
before_str
(&self, is_result: bool)
src/generation.rs:458
Function
bounds
()
tests/core/tests.rs:648
Function
bounds
()
tests/preserve-encodings/tests.rs:1001
Function
build_array_key
A bareword array key → same field-identifier landing as the map key, different rep.
src/tests/identifier_hazard_tests.rs:95
Function
build_group_name
A plain group name referenced from another rule → the group registers as a struct whose name is the camel-cased hazard (the sole-use plain-group regis
src/tests/identifier_hazard_tests.rs:100
Function
build_map_key
A bareword map key → the emitted (snake_cased) struct FIELD identifier is the hazard.
src/tests/identifier_hazard_tests.rs:91
Function
build_name_directive
The `@name` directive value on a keyed field → renames the emitted field to the hazard (the CBOR wire key stays the integer `0`). The comment must sit
src/tests/identifier_hazard_tests.rs:105
Function
build_rule_name
The rule name of a composite rule, RECORD-STRUCT shape → the emitted struct name is the camel-cased hazard. A struct's serialize body never names its
src/tests/identifier_hazard_tests.rs:79
Function
build_rule_name_enum
The rule name of a type-choice rule, ENUM shape → the emitted `pub enum` name is the camel-cased hazard, and BOTH serialize and deserialize bodies nam
src/tests/identifier_hazard_tests.rs:87
Function
bytes_wrapper
()
tests/json/tests.rs:8
Method
can_embed_fields
(types: &IntermediateTypes, ty: &ConceptualRustType)
src/intermediate.rs:2576
Function
canonical_param
(cli: &Cli)
src/generation.rs:3845
Method
capture_all
(&self)
src/generation.rs:7400
Method
capture_ignore_all
(&self)
src/generation.rs:7408
Method
capture_ignore_encodings
(&self)
src/generation.rs:7416
Function
cargo_manifest_disk_round_trip
()
src/tests/integration_tests.rs:1563
Function
cargo_manifest_rejects_unparseable_existing
()
src/tests/integration_tests.rs:2264
Function
cargo_toml_matrix
()
src/tests/snapshot_tests.rs:285
Function
casing_test
()
tests/core/tests.rs:941
Function
cbor_in_cbor
()
tests/canonical/tests.rs:485
Function
cbor_in_cbor
()
tests/core/tests.rs:410
Function
cbor_in_cbor
()
tests/preserve-encodings/tests.rs:796
Function
cbor_read_len_ctor
How to construct a `CBORReadLen` from the freshly-read `len`. In preserve mode `len` is a `cbor_event::LenSz`, matching `CBORReadLen::new`. In non-pre
src/generation.rs:7250
Function
cddl_crate_conformance
()
tests/preserve-encodings/tests.rs:26
Function
cddl_oracle_dep_rev_matches_cargo_toml
()
src/tests/integration_tests.rs:2714
Function
check
(schema: schemars::Schema, value: serde_json::Value, label: &str)
tests/json/tests.rs:182
Function
check_rejects
(schema: schemars::Schema, value: serde_json::Value, label: &str)
tests/json/tests.rs:222
Method
check_used_as_key
( ty: &ConceptualRustType, types: &IntermediateTypes<'_>, used_as_key: &mu
src/intermediate.rs:731
Function
checkout_hash
If you have multiple tests that use the same directory, please use different export_suffix for each one or else the tests will be flaky as they are ru
src/tests/integration_tests.rs:13
Function
checkout_hash
Per-checkout scratch discriminator (concurrent runs from different checkouts must not share a path).
src/tests/identifier_hazard_tests.rs:291
Function
chunk_strings
(b: &[u8])
static/emit_tests_encoding_fidelity.rs:305
Function
comment_dsl
()
src/tests/integration_tests.rs:2695
Method
common_import_rust
(&self)
src/cli.rs:138
Method
common_import_wasm
(&self)
src/cli.rs:147
Method
constructor
(public raw: string)
cddl-matrix/project_golden_hex.ts:38
Function
core_no_wasm
()
src/tests/integration_tests.rs:2631
Function
core_with_wasm
()
src/tests/integration_tests.rs:2608
Function
corpus_exclusive_range_upper_bound
()
src/tests/integration_tests.rs:2431
Function
corpus_group_choice_map_key_written_and_verified
()
src/tests/integration_tests.rs:2565
Function
corpus_inline_group_members_kept
()
src/tests/integration_tests.rs:2533
Function
corpus_occurrence_bounds_enforced
()
src/tests/integration_tests.rs:2456
Function
corpus_special_map_key_supported
()
src/tests/integration_tests.rs:2490
Function
create_serialize_impl
( ident: &RustIdent, rep: Option<Representation>, tag: Option<usize>, definite_len: &str,
src/generation.rs:4510
Function
cross_module_bar
()
tests/multifile/tests.rs:127
Function
cross_module_everything
()
tests/multifile/tests.rs:149
Function
custom_serialization
()
tests/core/tests.rs:954
Function
custom_serialization
()
tests/preserve-encodings/tests.rs:1429
Function
custom_serialization_fresh_value_hex_boundary_len
()
tests/preserve-encodings/tests.rs:1481
Function
custom_serialization_rejects_wrong_tag
()
tests/preserve-encodings/tests.rs:1457
Function
custom_wrapper
()
tests/json/tests.rs:85
Function
decode_conformance_replay
()
src/tests/integration_tests.rs:4672
Function
deeply_nested
()
tests/canonical/tests.rs:254
Function
deeply_nested
()
tests/preserve-encodings/tests.rs:269
Method
default
()
static/serialization_preserve.rs:88
Method
default
()
static/ordered_hash_map.rs:14
Method
default
()
src/intermediate.rs:160
Method
default
()
tests/extern-dep-crate/src/serialization.rs:110
Function
defaults
()
tests/core/tests.rs:434
Function
defaults
()
tests/preserve-encodings/tests.rs:886
Method
deref
(&self)
static/ordered_hash_map.rs:22
Method
deref
(&self)
src/intermediate.rs:1357
Method
deref
(&self)
tests/extern-dep-crate/src/ordered_hash_map.rs:14
Method
deref_mut
(&mut self)
static/ordered_hash_map.rs:28
Method
deref_mut
(&mut self)
tests/extern-dep-crate/src/ordered_hash_map.rs:23
Function
derived_header
(log_name: &str)
src/cargo_manifest.rs:512
Function
derived_template_has_header_and_live_keys_only
()
src/cargo_manifest.rs:1129
Function
describe
Describe an outcome for a failure message.
src/tests/dsl_position_tests.rs:480
Method
deserialize
(raw: &mut Deserializer<R>)
static/serialization.rs:20
Method
deserialize
(deserializer: D)
static/ordered_hash_map_json.rs:14
Method
deserialize
(raw: &mut Deserializer<R>)
tests/extern-dep-crate/src/serialization.rs:17
Function
deserialize_depth_limit_guards_recursion
()
src/tests/integration_tests.rs:4100
Function
directory_input_skips_non_cddl_files
()
src/api.rs:273
Function
docs
()
tests/core/tests.rs:1034
Method
drop
(&mut self)
static/serialization_depth_guard.rs:34
Function
dsl_directive_position_sweep
()
src/tests/dsl_position_tests.rs:492
Function
emit_tests_execute
()
src/tests/integration_tests.rs:2758
Function
emit_wasm_tests_execute
()
src/tests/integration_tests.rs:2830
Method
enc_conversion
(&self, expr: &str)
src/generation.rs:5113
Function
encoding_mutator_self_check
()
static/emit_tests_encoding_fidelity.rs:385
← previous
next →
601–700 of 1,061, ranked by callers