Upgrade dependencies and refactor serialization in build.rs

- Updated `bincode` to version 2.0.1, modifying serialization calls to use the new API with `serde` support.
- Added new dependencies in `Cargo.lock`, including `alloca`, `atomic-waker`, and `aws-lc-rs`, ensuring compatibility with the latest features.
- Refactored file creation and serialization logic in `build.rs` for improved clarity and performance.
- Updated various dependencies in `Cargo.toml` to their latest versions, enhancing overall project stability and functionality.
This commit is contained in:
Joe 2026-02-06 18:57:29 -06:00
parent 0a4496a6c9
commit 71ea25fe0e
47 changed files with 933 additions and 517 deletions

View file

@ -1,7 +1,6 @@
---
source: tests/tests/serve.rs
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
id-2:
@ -14,7 +13,6 @@ instances:
Parent: "00000000000000000000000000000000"
Properties:
Source:
String: "-- Edited contents"
"!String": "-- Edited contents"
messageCursor: 1
sessionId: id-1

View file

@ -13,6 +13,6 @@ instances:
Parent: "00000000000000000000000000000000"
Properties:
Source:
String: "-- Original contents"
"!String": "-- Original contents"
messageCursor: 0
sessionId: id-1

View file

@ -13,7 +13,7 @@ body:
changedName: ~
changedProperties:
Source:
String: "-- Edited contents"
"!String": "-- Edited contents"
id: id-2
packetType: messages
sessionId: id-1

View file

@ -23,6 +23,6 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
messageCursor: 1
sessionId: id-1

View file

@ -16,7 +16,7 @@ body:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
removed: []
updated: []
packetType: messages

View file

@ -25,7 +25,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: ObjectValue
@ -36,9 +36,9 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 9893f640faccb9150197026b0ca91712
id-5:
Children: []
ClassName: MeshPart
@ -49,8 +49,8 @@ instances:
Parent: id-3
Properties:
MeshId:
ContentId: "rbxasset://fonts/sword.mesh"
"!ContentId": "rbxasset://fonts/sword.mesh"
TextureID:
ContentId: "rbxasset://textures/SwordTexture.png"
"!ContentId": "rbxasset://textures/SwordTexture.png"
messageCursor: 0
sessionId: id-1

View file

@ -26,7 +26,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: Model
@ -37,7 +37,7 @@ instances:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-5:
Children: []
ClassName: Tool
@ -48,7 +48,7 @@ instances:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-6:
Children: []
ClassName: Actor
@ -59,6 +59,6 @@ instances:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
messageCursor: 1
sessionId: id-1

View file

@ -16,7 +16,7 @@ body:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
removed: []
updated:
- changedClassName: ~

View file

@ -1,7 +1,6 @@
---
source: tests/tests/serve.rs
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
id-10:
@ -14,7 +13,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #6"
"!String": "File #6"
id-11:
Children: []
ClassName: StringValue
@ -25,7 +24,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #7"
"!String": "File #7"
id-12:
Children: []
ClassName: StringValue
@ -36,7 +35,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #8"
"!String": "File #8"
id-13:
Children: []
ClassName: StringValue
@ -47,7 +46,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #9"
"!String": "File #9"
id-2:
Children:
- id-3
@ -87,7 +86,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #0"
"!String": "File #0"
id-5:
Children: []
ClassName: StringValue
@ -98,7 +97,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #1"
"!String": "File #1"
id-6:
Children: []
ClassName: StringValue
@ -109,7 +108,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #2"
"!String": "File #2"
id-7:
Children: []
ClassName: StringValue
@ -120,7 +119,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #3"
"!String": "File #3"
id-8:
Children: []
ClassName: StringValue
@ -131,7 +130,7 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #4"
"!String": "File #4"
id-9:
Children: []
ClassName: StringValue
@ -142,7 +141,6 @@ instances:
Parent: id-3
Properties:
Value:
String: "File #5"
"!String": "File #5"
messageCursor: 1
sessionId: id-1

View file

@ -16,7 +16,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #6"
"!String": "File #6"
id-11:
Children: []
ClassName: StringValue
@ -27,7 +27,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #7"
"!String": "File #7"
id-12:
Children: []
ClassName: StringValue
@ -38,7 +38,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #8"
"!String": "File #8"
id-13:
Children: []
ClassName: StringValue
@ -49,7 +49,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #9"
"!String": "File #9"
id-3:
Children:
- id-4
@ -79,7 +79,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #0"
"!String": "File #0"
id-5:
Children: []
ClassName: StringValue
@ -90,7 +90,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #1"
"!String": "File #1"
id-6:
Children: []
ClassName: StringValue
@ -101,7 +101,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #2"
"!String": "File #2"
id-7:
Children: []
ClassName: StringValue
@ -112,7 +112,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #3"
"!String": "File #3"
id-8:
Children: []
ClassName: StringValue
@ -123,7 +123,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #4"
"!String": "File #4"
id-9:
Children: []
ClassName: StringValue
@ -134,7 +134,7 @@ body:
Parent: id-3
Properties:
Value:
String: "File #5"
"!String": "File #5"
removed: []
updated: []
packetType: messages

View file

@ -33,7 +33,6 @@ instances:
Parent: id-3
Properties:
Value:
Int64: 1337
"!Int64": 1337
messageCursor: 0
sessionId: id-1

View file

@ -1,6 +1,5 @@
---
source: tests/tests/serve.rs
assertion_line: 338
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
@ -34,7 +33,6 @@ instances:
Parent: id-3
Properties:
Value:
Bool: true
"!Bool": true
messageCursor: 0
sessionId: id-1

View file

@ -1,6 +1,5 @@
---
source: tests/tests/serve.rs
assertion_line: 370
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
@ -14,6 +13,6 @@ instances:
Parent: "00000000000000000000000000000000"
Properties:
Value:
String: "If this isn't named `no_name_top_level_project`, something went wrong!"
"!String": "If this isn't named `no_name_top_level_project`, something went wrong!"
messageCursor: 0
sessionId: id-1

View file

@ -1,6 +1,5 @@
---
source: tests/tests/serve.rs
assertion_line: 357
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
@ -14,7 +13,6 @@ instances:
Parent: "00000000000000000000000000000000"
Properties:
Value:
String: "If this isn't named `no_name_top_level_project`, something went wrong!"
"!String": "If this isn't named `no_name_top_level_project`, something went wrong!"
messageCursor: 0
sessionId: id-1

View file

@ -25,7 +25,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: Model
@ -36,7 +36,7 @@ instances:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-5:
Children: []
ClassName: Tool
@ -47,6 +47,6 @@ instances:
Parent: id-3
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
messageCursor: 0
sessionId: id-1

View file

@ -13,9 +13,9 @@ instances:
Parent: id-9
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-9
"!Ref": a014b12bf90014847f564374c73a5f38
id-11:
Children: []
ClassName: Model
@ -26,11 +26,11 @@ instances:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-9
"!Ref": a014b12bf90014847f564374c73a5f38
id-2:
Children:
- id-3
@ -55,7 +55,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: ObjectValue
@ -66,9 +66,9 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
id-5:
Children:
- id-6
@ -89,9 +89,9 @@ instances:
Parent: id-5
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
id-7:
Children:
- id-8
@ -104,7 +104,7 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
id-8:
Children: []
ClassName: Model
@ -115,11 +115,11 @@ instances:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-7
"!Ref": 4536e7ddde75409951458987be6ccfb5
id-9:
Children:
- id-10

View file

@ -13,9 +13,9 @@ instances:
Parent: id-9
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-9
"!Ref": a014b12bf90014847f564374c73a5f38
id-2:
Children:
- id-3
@ -40,7 +40,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: ObjectValue
@ -51,9 +51,9 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
id-5:
Children:
- id-6
@ -74,9 +74,9 @@ instances:
Parent: id-5
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
id-7:
Children:
- id-8
@ -97,11 +97,11 @@ instances:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-7
"!Ref": 4536e7ddde75409951458987be6ccfb5
id-9:
Children:
- id-10

View file

@ -13,9 +13,9 @@ instances:
Parent: id-9
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-9
"!Ref": a2c2197b7d6e19e64b8991926744f3a6
id-2:
Children:
- id-3
@ -40,7 +40,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: ObjectValue
@ -51,9 +51,9 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
id-5:
Children:
- id-6
@ -74,9 +74,9 @@ instances:
Parent: id-5
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
id-7:
Children:
- id-8
@ -97,13 +97,13 @@ instances:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-7
"!Ref": 103b2053eb8c4ea0a65500d5c20bd84f
Scale:
Float32: 1
"!Float32": 1
id-9:
Children:
- id-10

View file

@ -13,9 +13,9 @@ instances:
Parent: id-9
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-9
"!Ref": a2c2197b7d6e19e64b8991926744f3a6
id-2:
Children:
- id-3
@ -40,7 +40,7 @@ instances:
Parent: id-2
Properties:
NeedsPivotMigration:
Bool: false
"!Bool": false
id-4:
Children: []
ClassName: ObjectValue
@ -51,9 +51,9 @@ instances:
Parent: id-3
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
id-5:
Children:
- id-6
@ -74,9 +74,9 @@ instances:
Parent: id-5
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-5
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
id-7:
Children:
- id-8
@ -97,11 +97,11 @@ instances:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-7
"!Ref": 103b2053eb8c4ea0a65500d5c20bd84f
id-9:
Children:
- id-10

View file

@ -13,11 +13,11 @@ body:
changedName: ~
changedProperties:
Attributes:
Attributes:
"!Attributes":
Rojo_Target_PrimaryPart:
String: model target
"!String": model target
Scale:
Float32: 1
"!Float32": 1
id: id-8
packetType: messages
sessionId: id-1

View file

@ -23,8 +23,8 @@ instances:
Parent: id-2
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-4
"!Ref": ca113df936e8659c00936176b40b02ae
messageCursor: 1
sessionId: id-1

View file

@ -24,9 +24,9 @@ instances:
Parent: id-2
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
Value:
Ref: id-4
"!Ref": ca113df936e8659c00936176b40b02ae
id-4:
Children: []
ClassName: ObjectValue
@ -37,6 +37,6 @@ instances:
Parent: id-2
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
messageCursor: 0
sessionId: id-1

View file

@ -16,11 +16,11 @@ body:
Parent: id-7
Properties:
Attributes:
Attributes: {}
"!Attributes": {}
NeedsPivotMigration:
Bool: false
"!Bool": false
PrimaryPart:
Ref: id-9
"!Ref": a014b12bf90014847f564374c73a5f38
removed: []
updated:
- changedClassName: ~
@ -29,18 +29,18 @@ body:
changedName: ~
changedProperties:
Attributes:
Attributes:
"!Attributes":
Rojo_Id:
String: model target 2
"!String": model target 2
id: id-7
- changedClassName: ~
changedMetadata: ~
changedName: ~
changedProperties:
Attributes:
Attributes:
"!Attributes":
Rojo_Target_PrimaryPart:
String: model target 2
"!String": model target 2
PrimaryPart: ~
id: id-8
packetType: messages

View file

@ -1,7 +1,6 @@
---
source: tests/tests/serve.rs
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
id-2:
@ -24,7 +23,6 @@ instances:
Parent: id-2
Properties:
Value:
String: This file will be removed!
"!String": This file will be removed!
messageCursor: 0
sessionId: id-1

View file

@ -24,9 +24,9 @@ instances:
Parent: id-2
Properties:
RunContext:
Enum: 1
"!Enum": 1
Source:
String: "-- Hello, from bar!"
"!String": "-- Hello, from bar!"
id-4:
Children: []
ClassName: ModuleScript
@ -37,6 +37,6 @@ instances:
Parent: id-2
Properties:
Source:
String: Updated foo!
"!String": Updated foo!
messageCursor: 1
sessionId: id-1

View file

@ -24,9 +24,9 @@ instances:
Parent: id-2
Properties:
RunContext:
Enum: 1
"!Enum": 1
Source:
String: "-- Hello, from bar!"
"!String": "-- Hello, from bar!"
id-4:
Children: []
ClassName: ModuleScript
@ -37,6 +37,6 @@ instances:
Parent: id-2
Properties:
Source:
String: "-- Hello, from foo!"
"!String": "-- Hello, from foo!"
messageCursor: 0
sessionId: id-1

View file

@ -13,7 +13,7 @@ body:
changedName: ~
changedProperties:
Source:
String: Updated foo!
"!String": Updated foo!
id: id-4
packetType: messages
sessionId: id-1

View file

@ -23,6 +23,6 @@ instances:
Parent: id-2
Properties:
Value:
String: "Hello, world!"
"!String": "Hello, world!"
messageCursor: 0
sessionId: id-1

View file

@ -27,9 +27,9 @@ instances:
Parent: id-2
Properties:
RunContext:
Enum: 1
"!Enum": 1
Source:
String: "-- Hello, from bar (a Script)!"
"!String": "-- Hello, from bar (a Script)!"
id-4:
Children: []
ClassName: Script
@ -40,9 +40,9 @@ instances:
Parent: id-2
Properties:
RunContext:
Enum: 2
"!Enum": 2
Source:
String: "-- Hello, from baz (a LocalScript)!"
"!String": "-- Hello, from baz (a LocalScript)!"
id-5:
Children: []
ClassName: StringValue
@ -53,7 +53,7 @@ instances:
Parent: id-2
Properties:
Value:
String: "Hello, from cat (a StringValue)!"
"!String": "Hello, from cat (a StringValue)!"
id-6:
Children: []
ClassName: ModuleScript
@ -64,7 +64,7 @@ instances:
Parent: id-2
Properties:
Source:
String: "-- Hello, from foo (a ModuleScript)!"
"!String": "-- Hello, from foo (a ModuleScript)!"
id-7:
Children: []
ClassName: StringValue
@ -75,6 +75,6 @@ instances:
Parent: id-2
Properties:
Value:
String: "Hello, from qux (a .rojo file that's turned into a StringValue)!"
"!String": "Hello, from qux (a .rojo file that's turned into a StringValue)!"
messageCursor: 0
sessionId: id-1

View file

@ -1,6 +1,5 @@
---
source: tests/tests/serve.rs
assertion_line: 303
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
@ -24,7 +23,6 @@ instances:
Parent: id-2
Properties:
Source:
String: "return {\"This file has no extension but should be a ModuleScript named `no_extension`\"}"
"!String": "return {\"This file has no extension but should be a ModuleScript named `no_extension`\"}"
messageCursor: 0
sessionId: id-1

View file

@ -1,6 +1,5 @@
---
source: tests/tests/serve.rs
assertion_line: 389
expression: "read_response.intern_and_redact(&mut redactions, root_id)"
---
instances:
@ -15,7 +14,7 @@ instances:
Parent: "00000000000000000000000000000000"
Properties:
Value:
String: "This should be named `sync_rule_no_name_project` and have a child at `src/not_a_project`"
"!String": "This should be named `sync_rule_no_name_project` and have a child at `src/not_a_project`"
id-3:
Children:
- id-4
@ -36,6 +35,6 @@ instances:
Parent: id-3
Properties:
Value:
String: "If this isn't named `not_a_project`, something has gone wrong!"
"!String": "If this isn't named `not_a_project`, something has gone wrong!"
messageCursor: 0
sessionId: id-1