Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

cre8-app-view-tsx view cargo crate

TSX -> ViewNode bridge: JSX templates evaluated by CRE8VM into portable view IR. Split out of cre8-app-view-lib so the SSR layer does not link the VM engine.

crates/cre8-app-view-tsx · level 8 · 2,103 lines (1,677 code) · 3 files · 110 fns (40 tests) · cyclomatic Σ 182

2workspace deps
4direct dependents
12transitive dependents
11calls out
11calls in
128call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 110 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
tsx_to_view_nodesrc/lib.rs:562fn311928.5
tsx_to_view_artifactsrc/lib.rs:574fn31515
tsx_to_view_artifact_with_entrysrc/lib.rs:579fn71234.9
TsxRenderOptions::defaultsrc/lib.rs:260trait impl811304.8
TsxRenderArtifact::into_treesrc/lib.rs:315method31204.3
tsx_to_portable_view_ir_with_entrysrc/lib.rs:464fn131363.8
tsx_to_view_artifact_with_optionssrc/lib.rs:588fn115201283.3
vm_value_to_jsonsrc/lib.rs:898fn31523.2
json_to_vm_valuesrc/lib.rs:839fn93423
tsx_to_portable_view_irsrc/lib.rs:455fn81612.8
TsxRenderOptions::with_entrysrc/lib.rs:277method41302.6
TsxRenderOptions::with_proof_policysrc/lib.rs:282method411102.3
view_render_error_with_diagnosticssrc/lib.rs:535fn201212.1
vm_non_null_scalar_to_jsonsrc/lib.rs:909fn31132.1
json_non_null_scalar_to_vm_valuesrc/lib.rs:856fn51132
vm_scalar_to_jsonsrc/lib.rs:902fn62111.8
vm_non_scalar_to_jsonsrc/lib.rs:913fn61131.8
json_scalar_to_vm_valuesrc/lib.rs:849fn62111.8
json_object_to_vm_valuesrc/lib.rs:878fn51111.8
install_bridgesrc/lib.rs:412fn31421.8
tsx_to_portable_view_ir_with_optionssrc/lib.rs:481fn496371.7
TsxProofPolicy::from_wire_namesrc/lib.rs:225method84301.7
view_render_errorsrc/lib.rs:531fn31311.6
vm_number_to_json_valuesrc/lib.rs:972fn105101.4
json_number_to_vm_valuesrc/lib.rs:874fn31101.4
vm_object_to_json_mapsrc/lib.rs:983fn72131.4
proof_binds_normalized_outputsrc/lib.rs:822fn73601.4
TsxRenderOptions::untrustedsrc/lib.rs:273method31411.3
is_renderable_childsrc/lib.rs:1019fn31101.2
bridge_entrysrc/lib.rs:416fn81111.2
TsxRenderArtifact::execution_envelopesrc/lib.rs:324method151401.1
vm_bool_to_jsonsrc/lib.rs:920fn62101.1
vm_number_to_jsonsrc/lib.rs:927fn62111.1
vm_string_to_jsonsrc/lib.rs:934fn62101.1
json_bool_to_vm_valuesrc/lib.rs:862fn31101.1
json_number_scalar_to_vm_valuesrc/lib.rs:866fn31111.1
json_string_to_vm_valuesrc/lib.rs:870fn31101.1
tsx_wrapper_prefix_linessrc/lib.rs:365fn31201
vm_array_to_jsonsrc/lib.rs:941fn62111
vm_object_value_to_jsonsrc/lib.rs:948fn62111

Outside the workspace

anyhow cre8-vm serde serde_json