diff --git a/documentation/dev/src/explore/design/overview.md b/documentation/dev/src/explore/design/overview.md index 9e6d419774..936529521e 100644 --- a/documentation/dev/src/explore/design/overview.md +++ b/documentation/dev/src/explore/design/overview.md @@ -8,3 +8,15 @@ The Rust crates internal dependency graph: ![crates](./overview/crates.svg "crates") [Diagram on Excalidraw](https://excalidraw.com/#room=e32fc914de750ed4f5e4,6CWRFjnmCoiFR4BQ6i9K4g) + +## Graph for root workspace + +![Workspace dependency graph](./overview/root-workspace-cargo-udeps.png "Workspace dependency graph") + +Generated with: + +```shell +# Uses https://crates.io/crates/cargo-depgraph +# From root dir: +cargo depgraph --workspace-only --dedup-transitive-deps --dev-deps | dot -Tpng > documentation/dev/src/explore/design/root-workspace-cargo-udeps.png +``` diff --git a/documentation/dev/src/explore/design/overview/crates.excalidraw b/documentation/dev/src/explore/design/overview/crates.excalidraw index e305dfa088..bfe54c6199 100644 --- a/documentation/dev/src/explore/design/overview/crates.excalidraw +++ b/documentation/dev/src/explore/design/overview/crates.excalidraw @@ -5,8 +5,8 @@ "elements": [ { "type": "arrow", - "version": 940, - "versionNonce": 1634924291, + "version": 1755, + "versionNonce": 948744878, "isDeleted": false, "id": "XW8p0b2UGBcU4qhuM50S5", "fillStyle": "hachure", @@ -15,26 +15,28 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 234.4292897735185, - "y": 27.074492275773665, + "x": 371.50540630660794, + "y": -65.3168707300475, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 46.74897051875004, - "height": 31.84747245633222, + "width": 98.62862494125517, + "height": 133.51589623592426, "seed": 244640995, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978981591, + "updated": 1667837597361, + "link": null, + "locked": false, "startBinding": { "elementId": "TPinNTC84gdo4Heiyfrcl", - "gap": 7.842259549321174, - "focus": -0.23457593568181878 + "gap": 4.184665686509593, + "focus": -0.24051015553247612 }, "endBinding": { - "elementId": "Vv4I15UDLDULEN3MM7cWR", - "gap": 6.876060164133929, - "focus": 0.014193953434318363 + "elementId": "sXto6tFtVz5VWUddCdZEa", + "gap": 2.0846931092448173, + "focus": -0.6672657348088921 }, "lastCommittedPoint": null, "startArrowhead": null, @@ -45,15 +47,15 @@ 0 ], [ - -46.74897051875004, - -31.84747245633222 + -98.62862494125517, + -133.51589623592426 ] ] }, { "type": "text", - "version": 562, - "versionNonce": 1411527693, + "version": 598, + "versionNonce": 1489948718, "isDeleted": false, "id": "lZbFKRT7NFNBN-N0PEGt4", "fillStyle": "hachure", @@ -62,8 +64,8 @@ "roughness": 1, "opacity": 100, "angle": 0, - "x": 282.7198361155589, - "y": 168.66666666666663, + "x": 388.15489582721045, + "y": 125.41125755419421, "strokeColor": "#0008", "backgroundColor": "transparent", "width": 225, @@ -89,7 +91,9 @@ "id": "j6R5PVZmpe0pg3dobMg_R" } ], - "updated": 1638978994165, + "updated": 1668096815149, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "sdk\n(generated by the node) \nnot yet implemented", @@ -97,12 +101,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "sdk\n(generated by the node) \nnot yet implemented" }, { "type": "arrow", - "version": 762, - "versionNonce": 1801214061, + "version": 763, + "versionNonce": 234761454, "isDeleted": false, "id": "N3WOXF2nAY4GBP26E12jj", "fillStyle": "hachure", @@ -121,7 +125,9 @@ "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645308, + "updated": 1667837597361, + "link": null, + "locked": false, "startBinding": { "elementId": "XCGaurOdV80qWvLWgvMKA", "focus": -0.3858314613263561, @@ -148,8 +154,8 @@ }, { "type": "rectangle", - "version": 118, - "versionNonce": 1233481955, + "version": 119, + "versionNonce": 2046419186, "isDeleted": false, "id": "XCGaurOdV80qWvLWgvMKA", "fillStyle": "hachure", @@ -173,12 +179,14 @@ "id": "N3WOXF2nAY4GBP26E12jj" } ], - "updated": 1638978645308 + "updated": 1667837597361, + "link": null, + "locked": false }, { "type": "text", - "version": 288, - "versionNonce": 275825357, + "version": 289, + "versionNonce": 600203054, "isDeleted": false, "id": "2Uv1LCKqBFINap90QX39G", "fillStyle": "hachure", @@ -206,7 +214,9 @@ "id": "N3WOXF2nAY4GBP26E12jj" } ], - "updated": 1638978645308, + "updated": 1667837597361, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "apps \n(node/client/broadcaster)", @@ -214,12 +224,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "apps \n(node/client/broadcaster)" }, { "type": "text", - "version": 430, - "versionNonce": 2114673795, + "version": 467, + "versionNonce": 699724466, "isDeleted": false, "id": "q1u2GL7wVw4Exe4X5PaPJ", "fillStyle": "hachure", @@ -228,12 +238,12 @@ "roughness": 1, "opacity": 100, "angle": 0, - "x": -30, - "y": -61, + "x": -44.449427927178476, + "y": -22.73741825201381, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 328, - "height": 39, + "width": 58, + "height": 20, "seed": 1199188794, "groupIds": [], "strokeSharpness": "sharp", @@ -243,20 +253,22 @@ "id": "XW8p0b2UGBcU4qhuM50S5" } ], - "updated": 1638978645308, + "updated": 1667837597361, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, - "text": "shared\n(has to be able to compile to wasm)", - "baseline": 35, + "text": "shared", + "baseline": 16, "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "shared" }, { "type": "text", - "version": 380, - "versionNonce": 1078518061, + "version": 382, + "versionNonce": 776882542, "isDeleted": false, "id": "iXim05PslRfMMcHgO5M77", "fillStyle": "hachure", @@ -265,7 +277,7 @@ "roughness": 1, "opacity": 100, "angle": 0, - "x": 262.28822012513956, + "x": 263.5595295334808, "y": 409.9572198364548, "strokeColor": "#000000", "backgroundColor": "transparent", @@ -284,7 +296,9 @@ "id": "vjztA9aT9wXo-Mz6v8PpC" } ], - "updated": 1638978645308, + "updated": 1667837597361, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "wasm\n(tx/vp/mm/mm_filter)", @@ -292,12 +306,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "wasm\n(tx/vp/mm/mm_filter)" }, { "type": "text", - "version": 392, - "versionNonce": 1880902221, + "version": 472, + "versionNonce": 1537723506, "isDeleted": false, "id": "7hkmbpKqpRG1mw7i72ETt", "fillStyle": "hachure", @@ -306,8 +320,8 @@ "roughness": 1, "opacity": 100, "angle": 0, - "x": 250.93816429817616, - "y": 43.98982838512771, + "x": 347.7305845731653, + "y": -51.493336313717776, "strokeColor": "#000000", "backgroundColor": "transparent", "width": 131, @@ -321,7 +335,9 @@ "id": "qGwRshNFhRxZVbc_9XoOK" } ], - "updated": 1638978958291, + "updated": 1667837597362, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "vm_env\n(wasm imports)", @@ -329,12 +345,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "vm_env\n(wasm imports)" }, { "type": "arrow", - "version": 1508, - "versionNonce": 1553870509, + "version": 1575, + "versionNonce": 267273010, "isDeleted": false, "id": "qGwRshNFhRxZVbc_9XoOK", "fillStyle": "hachure", @@ -343,17 +359,19 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 262.5545524579702, - "y": 396.8364074603423, + "x": 264.4192089775041, + "y": 396.83640746034223, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 31.03570718753258, - "height": 149.5928584864882, + "width": 110.76901556861083, + "height": 190.05066613958203, "seed": 1454454153, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978981591, + "updated": 1668096811050, + "link": null, + "locked": false, "startBinding": { "elementId": "Wzbm5P1iAViA47cEtf8fo", "gap": 2.0964817197048013, @@ -373,15 +391,15 @@ 0 ], [ - 31.03570718753258, - -149.5928584864882 + 110.76901556861083, + -190.05066613958203 ] ] }, { "type": "arrow", - "version": 1768, - "versionNonce": 1721966243, + "version": 2121, + "versionNonce": 1563640178, "isDeleted": false, "id": "vjztA9aT9wXo-Mz6v8PpC", "fillStyle": "hachure", @@ -390,26 +408,28 @@ "roughness": 0, "opacity": 100, "angle": 5.789250827564958, - "x": 321.9782879333155, - "y": 154.088665021562, + "x": 421.4883473764835, + "y": 112.31311341902148, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 1.9590387446170325, - "height": 60.524866420498, + "width": 41.19080273092942, + "height": 106.34212703358264, "seed": 2120846791, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978981592, + "updated": 1668096811050, + "link": null, + "locked": false, "startBinding": { "elementId": "ar_8ezfEs1dcv1WTLbxpz", - "focus": -0.20986675637201763, - "gap": 7.748380459840945 + "focus": -0.3542919748085393, + "gap": 3.7621189181977 }, "endBinding": { "elementId": "TPinNTC84gdo4Heiyfrcl", - "focus": 0.2559196066333591, - "gap": 3.3655914385186065 + "focus": -0.11786163970350894, + "gap": 4.694345285733192 }, "lastCommittedPoint": null, "startArrowhead": null, @@ -420,15 +440,15 @@ 0 ], [ - 1.9590387446170325, - -60.524866420498 + 41.19080273092942, + -106.34212703358264 ] ] }, { "type": "text", - "version": 429, - "versionNonce": 297558701, + "version": 430, + "versionNonce": 1302414830, "isDeleted": false, "id": "5P-9jtz0VpZvFi_qlrfFI", "fillStyle": "hachure", @@ -460,7 +480,9 @@ "id": "N3WOXF2nAY4GBP26E12jj" } ], - "updated": 1638978645308, + "updated": 1667837597362, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "apps lib", @@ -468,12 +490,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "apps lib" }, { "type": "arrow", - "version": 772, - "versionNonce": 1085418147, + "version": 948, + "versionNonce": 1282463730, "isDeleted": false, "id": "lLOOrmC-Vjj7oIfMlYSb8", "fillStyle": "hachure", @@ -482,26 +504,28 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": -28.858815305624397, - "y": 93.34045003053473, + "x": -38.54189360985094, + "y": 103.78123845818921, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 27.182921232842055, - "height": 99.9429435430508, + "width": 7.177806850155868, + "height": 90.8090017075307, "seed": 959014413, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645308, + "updated": 1667837597362, + "link": null, + "locked": false, "startBinding": { "elementId": "EbkJ-mbPprZhdzO3Ukel2", - "gap": 10.542003765397801, - "focus": -0.28644471223848134 + "focus": -0.30160028144413814, + "gap": 1 }, "endBinding": { "elementId": "Vv4I15UDLDULEN3MM7cWR", - "gap": 5.046546832176402, - "focus": 0.7161156739729357 + "focus": 0.7145906691885945, + "gap": 3.8928697489783417 }, "lastCommittedPoint": null, "startArrowhead": null, @@ -512,15 +536,15 @@ 0 ], [ - 27.182921232842055, - -99.9429435430508 + -7.177806850155868, + -90.8090017075307 ] ] }, { "type": "rectangle", - "version": 194, - "versionNonce": 489430499, + "version": 250, + "versionNonce": 295589934, "isDeleted": false, "id": "Vv4I15UDLDULEN3MM7cWR", "fillStyle": "hachure", @@ -529,12 +553,12 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": -35.64597821935695, - "y": -70.64904034469248, + "x": -60.88566731675917, + "y": -36.43280653554018, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 346, - "height": 59, + "width": 100.52155837741054, + "height": 45.51217353722035, "seed": 479498130, "groupIds": [], "strokeSharpness": "sharp", @@ -550,14 +574,20 @@ { "type": "arrow", "id": "gjvzsG78lEToLfHSwix2l" + }, + { + "id": "1PrWlfvRp8Ry560A9Glzp", + "type": "arrow" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "rectangle", - "version": 97, - "versionNonce": 832005581, + "version": 99, + "versionNonce": 540346802, "isDeleted": false, "id": "EbkJ-mbPprZhdzO3Ukel2", "fillStyle": "hachure", @@ -589,12 +619,14 @@ "id": "Q-Lc8vIaRv7dEQF96Es40" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "rectangle", - "version": 186, - "versionNonce": 1802791885, + "version": 290, + "versionNonce": 1891574382, "isDeleted": false, "id": "TPinNTC84gdo4Heiyfrcl", "fillStyle": "hachure", @@ -603,8 +635,8 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 237.35402178064305, - "y": 34.35095965530752, + "x": 340.870326487958, + "y": -61.13220504353791, "strokeColor": "#000000", "backgroundColor": "transparent", "width": 160.00000000000003, @@ -630,12 +662,14 @@ "id": "VyqgKewhv649Rl_VgfMCi" } ], - "updated": 1638978965417 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "rectangle", - "version": 260, - "versionNonce": 1071718765, + "version": 285, + "versionNonce": 1738723890, "isDeleted": false, "id": "ar_8ezfEs1dcv1WTLbxpz", "fillStyle": "hachure", @@ -644,8 +678,8 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 270.4373551139763, - "y": 158.68429298864083, + "x": 379.9276094299221, + "y": 119.48407848046276, "strokeColor": "#0008", "backgroundColor": "transparent", "width": 237, @@ -679,12 +713,14 @@ "id": "i1YmU9V2mNKEn1n-x42MI" } ], - "updated": 1638978965416 + "updated": 1668096819675, + "link": null, + "locked": false }, { "type": "rectangle", - "version": 258, - "versionNonce": 1605517603, + "version": 259, + "versionNonce": 1036821678, "isDeleted": false, "id": "Wzbm5P1iAViA47cEtf8fo", "fillStyle": "hachure", @@ -712,12 +748,14 @@ "id": "qTCZ_7N0fuYegT9jZLwYS" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "text", - "version": 560, - "versionNonce": 1068083432, + "version": 750, + "versionNonce": 1312802098, "isDeleted": false, "id": "3K5BlHfHmWQqJECqYjhrw", "fillStyle": "hachure", @@ -726,11 +764,11 @@ "roughness": 1, "opacity": 100, "angle": 0, - "x": 327.6412405007913, - "y": -61.5, + "x": 343.82663225612686, + "y": -242.2368746012472, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 179, + "width": 180, "height": 39, "seed": 1395949267, "groupIds": [], @@ -739,9 +777,15 @@ { "type": "arrow", "id": "XW8p0b2UGBcU4qhuM50S5" + }, + { + "id": "aFB1JfXdwInJtc3gPYN7J", + "type": "arrow" } ], - "updated": 1640603531311, + "updated": 1667837597362, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "macros\n(procedural macros)", @@ -753,8 +797,8 @@ }, { "type": "rectangle", - "version": 278, - "versionNonce": 246686915, + "version": 505, + "versionNonce": 175103726, "isDeleted": false, "id": "NsweUiJ4jKgjdA0qcz00O", "fillStyle": "hachure", @@ -763,8 +807,8 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 321.99526228143435, - "y": -71.14904034469248, + "x": 339.54946548211154, + "y": -252.67389121843763, "strokeColor": "#000000", "backgroundColor": "transparent", "width": 186.00000000000003, @@ -786,12 +830,14 @@ "id": "aFB1JfXdwInJtc3gPYN7J" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "arrow", - "version": 1011, - "versionNonce": 482577251, + "version": 1973, + "versionNonce": 2083802866, "isDeleted": false, "id": "aFB1JfXdwInJtc3gPYN7J", "fillStyle": "hachure", @@ -800,26 +846,28 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 349.1354167882846, - "y": 23.491799798579976, + "x": 445.0792502855618, + "y": -63.670865022407355, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 46.682726805305435, - "height": 28.281680286544898, + "width": 3.2579955879015756, + "height": 129.00302619603028, "seed": 190431859, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978958370, + "updated": 1667837597362, + "link": null, + "locked": false, "startBinding": { "elementId": "TPinNTC84gdo4Heiyfrcl", - "focus": -0.2707765433519321, - "gap": 10.859159856727544 + "focus": 0.3098397968260942, + "gap": 2.5386599788694326 }, "endBinding": { "elementId": "NsweUiJ4jKgjdA0qcz00O", - "focus": -0.2940419127098849, - "gap": 7.359159856727558 + "focus": -0.09068754025912654, + "gap": 1 }, "lastCommittedPoint": null, "startArrowhead": null, @@ -830,15 +878,15 @@ 0 ], [ - 46.682726805305435, - -28.281680286544898 + -3.2579955879015756, + -129.00302619603028 ] ] }, { "type": "rectangle", - "version": 127, - "versionNonce": 922260579, + "version": 128, + "versionNonce": 1261556014, "isDeleted": false, "id": "4VBZ0MkHPtewJl2Z2t0Bg", "fillStyle": "hachure", @@ -874,12 +922,14 @@ "id": "_2-3bn8mf08UmbZ6BXIFS" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "text", - "version": 142, - "versionNonce": 1104385869, + "version": 144, + "versionNonce": 376545458, "isDeleted": false, "id": "rBCHOnrbLb_daQkqQR3iM", "fillStyle": "hachure", @@ -901,9 +951,15 @@ { "type": "arrow", "id": "_2-3bn8mf08UmbZ6BXIFS" + }, + { + "id": "VyqgKewhv649Rl_VgfMCi", + "type": "arrow" } ], - "updated": 1638978645309, + "updated": 1667837597362, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 2, "text": "tests\n(integration tests &\nwasm test helpers)", @@ -911,12 +967,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "tests\n(integration tests &\nwasm test helpers)" }, { "type": "arrow", - "version": 309, - "versionNonce": 676204547, + "version": 472, + "versionNonce": 2071690094, "isDeleted": false, "id": "gjvzsG78lEToLfHSwix2l", "fillStyle": "hachure", @@ -925,25 +981,27 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 121.80008801370579, - "y": 137.1918687462166, + "x": 94.57792085663155, + "y": 138.77133686820622, "strokeColor": "#2b8a3e", "backgroundColor": "transparent", - "width": 31.75599726538033, - "height": 135.45454545454544, + "width": 99.6640019562013, + "height": 119.36582571651728, "seed": 789434278, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645309, + "updated": 1667837597362, + "link": null, + "locked": false, "startBinding": { "elementId": "4VBZ0MkHPtewJl2Z2t0Bg", - "gap": 6.909090909090908, + "gap": 5.329622787101304, "focus": -0.06885109912899212 }, "endBinding": { "elementId": "Vv4I15UDLDULEN3MM7cWR", - "gap": 13.386363636363635, + "gap": 10.326144150008776, "focus": 0.31883892934573677 }, "lastCommittedPoint": null, @@ -955,15 +1013,15 @@ 0 ], [ - -31.75599726538033, - -135.45454545454544 + -99.6640019562013, + -119.36582571651728 ] ] }, { "type": "arrow", - "version": 359, - "versionNonce": 664938243, + "version": 619, + "versionNonce": 681491058, "isDeleted": false, "id": "VyqgKewhv649Rl_VgfMCi", "fillStyle": "hachure", @@ -972,26 +1030,28 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 217.6291874855842, - "y": 152.50812625104635, + "x": 190.98928227815566, + "y": 146.14641420076202, "strokeColor": "#2b8a3e", "backgroundColor": "transparent", - "width": 50.95431878398884, - "height": 57.42989386846611, + "width": 178.9705519462201, + "height": 146.55134651702718, "seed": 1052874982, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978958370, + "updated": 1667837597362, + "link": null, + "locked": false, "startBinding": { - "elementId": "4VBZ0MkHPtewJl2Z2t0Bg", - "gap": 3.454545454545454, - "focus": 0.48484848484848486 + "elementId": "rBCHOnrbLb_daQkqQR3iM", + "focus": 0.0748046726595633, + "gap": 11.454545454545496 }, "endBinding": { "elementId": "TPinNTC84gdo4Heiyfrcl", - "gap": 1.727272727272727, - "focus": 0.1983948188896127 + "focus": 0.11010748617593992, + "gap": 1.727272727272748 }, "lastCommittedPoint": null, "startArrowhead": null, @@ -1002,15 +1062,15 @@ 0 ], [ - 50.95431878398884, - -57.42989386846611 + 178.9705519462201, + -146.55134651702718 ] ] }, { "type": "rectangle", - "version": 213, - "versionNonce": 1969612813, + "version": 214, + "versionNonce": 1100340654, "isDeleted": false, "id": "5bb86M_XNHtgqUWdz-kf-", "fillStyle": "hachure", @@ -1038,12 +1098,14 @@ "id": "j6R5PVZmpe0pg3dobMg_R" } ], - "updated": 1638978645309 + "updated": 1667837597362, + "link": null, + "locked": false }, { "type": "text", - "version": 189, - "versionNonce": 1784032067, + "version": 190, + "versionNonce": 830643250, "isDeleted": false, "id": "8rk_Ui9gDtaE7NNb8u2Ir", "fillStyle": "hachure", @@ -1067,7 +1129,9 @@ "id": "_2-3bn8mf08UmbZ6BXIFS" } ], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 2, "text": "wasm tests", @@ -1075,12 +1139,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "wasm tests" }, { "type": "arrow", - "version": 692, - "versionNonce": 770137709, + "version": 693, + "versionNonce": 313128942, "isDeleted": false, "id": "_2-3bn8mf08UmbZ6BXIFS", "fillStyle": "hachure", @@ -1099,7 +1163,9 @@ "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "startBinding": { "elementId": "8rk_Ui9gDtaE7NNb8u2Ir", "gap": 15, @@ -1126,8 +1192,8 @@ }, { "type": "rectangle", - "version": 491, - "versionNonce": 227920611, + "version": 492, + "versionNonce": 1057244658, "isDeleted": false, "id": "c9FTgvEkL5qGqshm1XkEc", "fillStyle": "hachure", @@ -1171,12 +1237,14 @@ "id": "6kR5qmpuk9pmD6Oi1l544" } ], - "updated": 1638978645309 + "updated": 1667837597363, + "link": null, + "locked": false }, { "type": "text", - "version": 441, - "versionNonce": 397084877, + "version": 442, + "versionNonce": 1455475246, "isDeleted": false, "id": "CTPEGHIc-rJMuCSTtfFbf", "fillStyle": "hachure", @@ -1200,7 +1268,9 @@ "id": "j6R5PVZmpe0pg3dobMg_R" } ], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 2, "text": "wasm_for_tests\n(pre-build scripts\nused for testing)", @@ -1208,12 +1278,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "wasm_for_tests\n(pre-build scripts\nused for testing)" }, { "type": "arrow", - "version": 1118, - "versionNonce": 530436365, + "version": 1185, + "versionNonce": 1063455986, "isDeleted": false, "id": "j6R5PVZmpe0pg3dobMg_R", "fillStyle": "hachure", @@ -1222,17 +1292,19 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 547.2189008950138, + "x": 566.5341925316106, "y": 396.7891966896191, "strokeColor": "#2b8a3e", "backgroundColor": "transparent", - "width": 45.12760305424797, - "height": 156.0355604263109, + "width": 22.78354967823168, + "height": 195.23577493448897, "seed": 1559261453, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978981592, + "updated": 1668096811050, + "link": null, + "locked": false, "startBinding": { "elementId": "c9FTgvEkL5qGqshm1XkEc", "gap": 8.020096299021654, @@ -1252,15 +1324,15 @@ 0 ], [ - -45.12760305424797, - -156.0355604263109 + 22.78354967823168, + -195.23577493448897 ] ] }, { "type": "text", - "version": 550, - "versionNonce": 1498721827, + "version": 551, + "versionNonce": 214127726, "isDeleted": false, "id": "dqZ0GfpvY8Ewz9AEmMCWa", "fillStyle": "hachure", @@ -1300,7 +1372,9 @@ "id": "qTCZ_7N0fuYegT9jZLwYS" } ], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "fontSize": 16, "fontFamily": 3, "text": "tx/vp_prelude", @@ -1308,12 +1382,12 @@ "textAlign": "left", "verticalAlign": "top", "containerId": null, - "originalText": "" + "originalText": "tx/vp_prelude" }, { "type": "rectangle", - "version": 281, - "versionNonce": 372177293, + "version": 284, + "versionNonce": 1565813998, "isDeleted": false, "id": "fjybklv3t7WGXd-_o4IGU", "fillStyle": "hachure", @@ -1359,14 +1433,20 @@ { "type": "arrow", "id": "i1YmU9V2mNKEn1n-x42MI" + }, + { + "id": "Mj92y8jQAhAp2FAk2eDPa", + "type": "arrow" } ], - "updated": 1638978645309 + "updated": 1668096821612, + "link": null, + "locked": false }, { "type": "arrow", - "version": 1483, - "versionNonce": 1386463587, + "version": 1484, + "versionNonce": 1853527726, "isDeleted": false, "id": "qTCZ_7N0fuYegT9jZLwYS", "fillStyle": "hachure", @@ -1385,7 +1465,9 @@ "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "startBinding": { "elementId": "Wzbm5P1iAViA47cEtf8fo", "focus": -0.9194768569701585, @@ -1412,8 +1494,8 @@ }, { "type": "arrow", - "version": 1662, - "versionNonce": 1619056269, + "version": 1729, + "versionNonce": 1092132530, "isDeleted": false, "id": "ZIRL-fdZPjVJvZGV2ldOy", "fillStyle": "hachure", @@ -1422,17 +1504,19 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 381.5826013057739, - "y": 292.4896723063988, + "x": 404.23462696568436, + "y": 292.48967230639886, "strokeColor": "#000000", "backgroundColor": "transparent", - "width": 27.405787418156137, - "height": 51.49682634384905, + "width": 27.550876861996244, + "height": 90.69704085202719, "seed": 349033581, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978962317, + "updated": 1668096811051, + "link": null, + "locked": false, "startBinding": { "elementId": "fjybklv3t7WGXd-_o4IGU", "gap": 4.902954015575294, @@ -1452,15 +1536,15 @@ 0 ], [ - -27.405787418156137, - -51.49682634384905 + 27.550876861996244, + -90.69704085202719 ] ] }, { "type": "arrow", - "version": 1085, - "versionNonce": 1611373827, + "version": 1086, + "versionNonce": 344953070, "isDeleted": false, "id": "6kR5qmpuk9pmD6Oi1l544", "fillStyle": "hachure", @@ -1479,7 +1563,9 @@ "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978645309, + "updated": 1667837597363, + "link": null, + "locked": false, "startBinding": { "elementId": "c9FTgvEkL5qGqshm1XkEc", "focus": 0.08731195893821785, @@ -1506,8 +1592,8 @@ }, { "type": "arrow", - "version": 1222, - "versionNonce": 77626605, + "version": 1289, + "versionNonce": 565573746, "isDeleted": false, "id": "i1YmU9V2mNKEn1n-x42MI", "fillStyle": "hachure", @@ -1516,17 +1602,19 @@ "roughness": 0, "opacity": 100, "angle": 0, - "x": 436.8729532949412, - "y": 295.6281799726297, + "x": 453.9052924435333, + "y": 295.62817997262965, "strokeColor": "#2b8a3e", "backgroundColor": "transparent", - "width": 32.396136366778364, - "height": 56.23087292631101, + "width": 116.88603369223176, + "height": 95.43108743448903, "seed": 1441329475, "groupIds": [], "strokeSharpness": "round", "boundElements": [], - "updated": 1638978962317, + "updated": 1668096811051, + "link": null, + "locked": false, "startBinding": { "elementId": "fjybklv3t7WGXd-_o4IGU", "gap": 1.7644463493444311, @@ -1546,8 +1634,377 @@ 0 ], [ - 32.396136366778364, - -56.23087292631101 + 116.88603369223176, + -95.43108743448903 + ] + ] + }, + { + "type": "text", + "version": 3, + "versionNonce": 445334318, + "isDeleted": false, + "id": "snE5rQoYffGo1nNrkicz7", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 72.68099857250752, + "y": 104.64262632197415, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 11, + "height": 25, + "seed": 107469989, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElements": [], + "updated": 1667837597363, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "", + "baseline": 18, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "" + }, + { + "type": "text", + "version": 580, + "versionNonce": 421547698, + "isDeleted": false, + "id": "rXDjoawThAsgINC3dYskv", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -66.20111453872039, + "y": -142.01868555754857, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 133, + "height": 20, + "seed": 1686954135, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElements": [ + { + "type": "arrow", + "id": "XW8p0b2UGBcU4qhuM50S5" + }, + { + "id": "RSaOI_j676g1pzgh68PGT", + "type": "arrow" + }, + { + "id": "1PrWlfvRp8Ry560A9Glzp", + "type": "arrow" + } + ], + "updated": 1667837597363, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 3, + "text": "proof_of_stake", + "baseline": 16, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "proof_of_stake" + }, + { + "type": "rectangle", + "version": 344, + "versionNonce": 1081994798, + "isDeleted": false, + "id": "BTWJfUkextn5AFNkxH0zw", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -77.14160994875033, + "y": -151.5204673069046, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 151, + "height": 40, + "seed": 530602073, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElements": [ + { + "type": "arrow", + "id": "lLOOrmC-Vjj7oIfMlYSb8" + }, + { + "type": "arrow", + "id": "XW8p0b2UGBcU4qhuM50S5" + }, + { + "type": "arrow", + "id": "gjvzsG78lEToLfHSwix2l" + }, + { + "id": "1PrWlfvRp8Ry560A9Glzp", + "type": "arrow" + }, + { + "id": "RSaOI_j676g1pzgh68PGT", + "type": "arrow" + }, + { + "id": "Mj92y8jQAhAp2FAk2eDPa", + "type": "arrow" + } + ], + "updated": 1668096823718, + "link": null, + "locked": false + }, + { + "type": "arrow", + "version": 1316, + "versionNonce": 2101848178, + "isDeleted": false, + "id": "1PrWlfvRp8Ry560A9Glzp", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -34.83434658237711, + "y": -37.43280653554018, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 3.545409484342265, + "height": 70.05629000440024, + "seed": 1540235929, + "groupIds": [], + "strokeSharpness": "round", + "boundElements": [], + "updated": 1667837597363, + "link": null, + "locked": false, + "startBinding": { + "elementId": "Vv4I15UDLDULEN3MM7cWR", + "focus": -0.4475029650922005, + "gap": 1 + }, + "endBinding": { + "elementId": "BTWJfUkextn5AFNkxH0zw", + "focus": 0.4960561286307573, + "gap": 4.031370766964187 + }, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + -3.545409484342265, + -70.05629000440024 + ] + ] + }, + { + "type": "text", + "version": 679, + "versionNonce": 448450478, + "isDeleted": false, + "id": "HCnc-kGdrOmv66h53nUVE", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -67.30268218444724, + "y": -246.60346391844524, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 349, + "height": 39, + "seed": 1355025177, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElements": [ + { + "type": "arrow", + "id": "XW8p0b2UGBcU4qhuM50S5" + }, + { + "id": "RSaOI_j676g1pzgh68PGT", + "type": "arrow" + } + ], + "updated": 1667837597363, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 3, + "text": "core\n(basic types, storage, tx and VP api)", + "baseline": 35, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "core\n(basic types, storage, tx and VP api)" + }, + { + "type": "rectangle", + "version": 435, + "versionNonce": 517851698, + "isDeleted": false, + "id": "sXto6tFtVz5VWUddCdZEa", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -79.89486434732021, + "y": -251.87740247708948, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 383.6822949125378, + "height": 50.95994240187291, + "seed": 363368183, + "groupIds": [], + "strokeSharpness": "sharp", + "boundElements": [ + { + "type": "arrow", + "id": "lLOOrmC-Vjj7oIfMlYSb8" + }, + { + "type": "arrow", + "id": "XW8p0b2UGBcU4qhuM50S5" + }, + { + "type": "arrow", + "id": "gjvzsG78lEToLfHSwix2l" + }, + { + "id": "1PrWlfvRp8Ry560A9Glzp", + "type": "arrow" + }, + { + "id": "RSaOI_j676g1pzgh68PGT", + "type": "arrow" + } + ], + "updated": 1667837597363, + "link": null, + "locked": false + }, + { + "type": "arrow", + "version": 1716, + "versionNonce": 2030577454, + "isDeleted": false, + "id": "RSaOI_j676g1pzgh68PGT", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": -36.723031505650525, + "y": -150.96698192339844, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 0.9289040894322254, + "height": 50.09773674715467, + "seed": 540356215, + "groupIds": [], + "strokeSharpness": "round", + "boundElements": [], + "updated": 1667837599964, + "link": null, + "locked": false, + "startBinding": { + "elementId": "rXDjoawThAsgINC3dYskv", + "focus": -0.5604411595305062, + "gap": 8.94829636584987 + }, + "endBinding": { + "elementId": "HCnc-kGdrOmv66h53nUVE", + "focus": 0.8149797719982349, + "gap": 6.5387452478921375 + }, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + 0.9289040894322254, + -50.09773674715467 + ] + ] + }, + { + "type": "arrow", + "version": 1836, + "versionNonce": 908201778, + "isDeleted": false, + "id": "Mj92y8jQAhAp2FAk2eDPa", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "angle": 0, + "x": 363.10096424865014, + "y": 291.4865667122689, + "strokeColor": "#000000", + "backgroundColor": "transparent", + "width": 329.30624831590114, + "height": 396.18836770886367, + "seed": 1218382706, + "groupIds": [], + "strokeSharpness": "round", + "boundElements": [], + "updated": 1668096824328, + "link": null, + "locked": false, + "startBinding": { + "elementId": "fjybklv3t7WGXd-_o4IGU", + "focus": -0.2598321416788019, + "gap": 5.906059609705238 + }, + "endBinding": { + "elementId": "BTWJfUkextn5AFNkxH0zw", + "focus": -0.14268881162945926, + "gap": 6.818666310309823 + }, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + -329.30624831590114, + -396.18836770886367 ] ] } diff --git a/documentation/dev/src/explore/design/overview/crates.svg b/documentation/dev/src/explore/design/overview/crates.svg index 49f36fd6bc..c08993547b 100644 --- a/documentation/dev/src/explore/design/overview/crates.svg +++ b/documentation/dev/src/explore/design/overview/crates.svg @@ -1,4 +1,4 @@ - + @@ -13,4 +13,4 @@ } - sdk(generated by the node) not yet implementedapps (node/client/broadcaster)shared(has to be able to compile to wasm)wasm(tx/vp/mm/mm_filter)vm_env(wasm imports)apps libmacros(procedural macros)tests(integration tests &wasm test helpers)wasm testswasm_for_tests(pre-build scriptsused for testing)tx/vp_prelude \ No newline at end of file + sdk(generated by the node) not yet implementedapps (node/client/broadcaster)sharedwasm(tx/vp/mm/mm_filter)vm_env(wasm imports)apps libmacros(procedural macros)tests(integration tests &wasm test helpers)wasm testswasm_for_tests(pre-build scriptsused for testing)tx/vp_preludeproof_of_stakecore(basic types, storage, tx and VP api) \ No newline at end of file diff --git a/documentation/dev/src/explore/design/overview/root-workspace-cargo-udeps.png b/documentation/dev/src/explore/design/overview/root-workspace-cargo-udeps.png new file mode 100644 index 0000000000..6eef3287eb Binary files /dev/null and b/documentation/dev/src/explore/design/overview/root-workspace-cargo-udeps.png differ