rlbot-flatbuffers 0.18.5__tar.gz → 0.18.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/Cargo.lock +69 -95
  2. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/Cargo.toml +2 -2
  3. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/PKG-INFO +1 -1
  4. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/enums.rs +4 -4
  5. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/pyi.rs +26 -6
  6. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/table.rs +1 -1
  7. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/src/lib.rs +1 -1
  8. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/LICENSE +0 -0
  9. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/README.md +0 -0
  10. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/class_inject.rs +0 -0
  11. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/main.rs +0 -0
  12. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/structs.rs +0 -0
  13. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/codegen/unions.rs +0 -0
  14. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/color.fbs +0 -0
  15. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/comms.fbs +0 -0
  16. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/corepacket.fbs +0 -0
  17. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/gamedata.fbs +0 -0
  18. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/gamestatemanip.fbs +0 -0
  19. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/interfacepacket.fbs +0 -0
  20. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/matchconfig.fbs +0 -0
  21. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/misc.fbs +0 -0
  22. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/rendering.fbs +0 -0
  23. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/rlbot.fbs +0 -0
  24. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/flatbuffers-schema/schema/vector.fbs +0 -0
  25. {rlbot_flatbuffers-0.18.5 → rlbot_flatbuffers-0.18.6}/pyproject.toml +0 -0
@@ -153,9 +153,9 @@ dependencies = [
153
153
 
154
154
  [[package]]
155
155
  name = "convert_case"
156
- version = "0.7.1"
156
+ version = "0.10.0"
157
157
  source = "registry+https://github.com/rust-lang/crates.io-index"
158
- checksum = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7"
158
+ checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
159
159
  dependencies = [
160
160
  "unicode-segmentation",
161
161
  ]
@@ -171,9 +171,9 @@ dependencies = [
171
171
 
172
172
  [[package]]
173
173
  name = "crypto-common"
174
- version = "0.1.6"
174
+ version = "0.1.7"
175
175
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
176
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
177
177
  dependencies = [
178
178
  "generic-array",
179
179
  "typenum",
@@ -181,22 +181,23 @@ dependencies = [
181
181
 
182
182
  [[package]]
183
183
  name = "derive_more"
184
- version = "2.0.1"
184
+ version = "2.1.1"
185
185
  source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678"
186
+ checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
187
187
  dependencies = [
188
188
  "derive_more-impl",
189
189
  ]
190
190
 
191
191
  [[package]]
192
192
  name = "derive_more-impl"
193
- version = "2.0.1"
193
+ version = "2.1.1"
194
194
  source = "registry+https://github.com/rust-lang/crates.io-index"
195
- checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3"
195
+ checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
196
196
  dependencies = [
197
197
  "convert_case",
198
198
  "proc-macro2",
199
199
  "quote",
200
+ "rustc_version",
200
201
  "syn",
201
202
  ]
202
203
 
@@ -261,9 +262,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
261
262
 
262
263
  [[package]]
263
264
  name = "generic-array"
264
- version = "0.14.9"
265
+ version = "0.14.7"
265
266
  source = "registry+https://github.com/rust-lang/crates.io-index"
266
- checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
267
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
267
268
  dependencies = [
268
269
  "typenum",
269
270
  "version_check",
@@ -294,9 +295,9 @@ dependencies = [
294
295
 
295
296
  [[package]]
296
297
  name = "hashbrown"
297
- version = "0.16.0"
298
+ version = "0.16.1"
298
299
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
300
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
300
301
 
301
302
  [[package]]
302
303
  name = "heck"
@@ -321,21 +322,12 @@ checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5"
321
322
 
322
323
  [[package]]
323
324
  name = "indexmap"
324
- version = "2.12.0"
325
+ version = "2.13.0"
325
326
  source = "registry+https://github.com/rust-lang/crates.io-index"
326
- checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f"
327
+ checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
327
328
  dependencies = [
328
329
  "equivalent",
329
- "hashbrown 0.16.0",
330
- ]
331
-
332
- [[package]]
333
- name = "indoc"
334
- version = "2.0.7"
335
- source = "registry+https://github.com/rust-lang/crates.io-index"
336
- checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
337
- dependencies = [
338
- "rustversion",
330
+ "hashbrown 0.16.1",
339
331
  ]
340
332
 
341
333
  [[package]]
@@ -396,15 +388,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
396
388
 
397
389
  [[package]]
398
390
  name = "libc"
399
- version = "0.2.177"
391
+ version = "0.2.180"
400
392
  source = "registry+https://github.com/rust-lang/crates.io-index"
401
- checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
393
+ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
402
394
 
403
395
  [[package]]
404
396
  name = "libm"
405
- version = "0.2.15"
397
+ version = "0.2.16"
406
398
  source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
399
+ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
408
400
 
409
401
  [[package]]
410
402
  name = "lock_api"
@@ -417,9 +409,9 @@ dependencies = [
417
409
 
418
410
  [[package]]
419
411
  name = "log"
420
- version = "0.4.28"
412
+ version = "0.4.29"
421
413
  source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
414
+ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
423
415
 
424
416
  [[package]]
425
417
  name = "logos"
@@ -461,15 +453,6 @@ version = "2.7.6"
461
453
  source = "registry+https://github.com/rust-lang/crates.io-index"
462
454
  checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
463
455
 
464
- [[package]]
465
- name = "memoffset"
466
- version = "0.9.1"
467
- source = "registry+https://github.com/rust-lang/crates.io-index"
468
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
469
- dependencies = [
470
- "autocfg",
471
- ]
472
-
473
456
  [[package]]
474
457
  name = "mime"
475
458
  version = "0.3.17"
@@ -641,9 +624,9 @@ dependencies = [
641
624
 
642
625
  [[package]]
643
626
  name = "portable-atomic"
644
- version = "1.11.1"
627
+ version = "1.13.1"
645
628
  source = "registry+https://github.com/rust-lang/crates.io-index"
646
- checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
629
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
647
630
 
648
631
  [[package]]
649
632
  name = "ppv-lite86"
@@ -662,44 +645,41 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
662
645
 
663
646
  [[package]]
664
647
  name = "proc-macro2"
665
- version = "1.0.103"
648
+ version = "1.0.106"
666
649
  source = "registry+https://github.com/rust-lang/crates.io-index"
667
- checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
650
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
668
651
  dependencies = [
669
652
  "unicode-ident",
670
653
  ]
671
654
 
672
655
  [[package]]
673
656
  name = "pyo3"
674
- version = "0.27.1"
657
+ version = "0.28.0"
675
658
  source = "registry+https://github.com/rust-lang/crates.io-index"
676
- checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
659
+ checksum = "fcf3ccafdf54c050be48a3a086d372f77ba6615f5057211607cd30e5ac5cec6d"
677
660
  dependencies = [
678
- "indoc",
679
661
  "libc",
680
- "memoffset",
681
662
  "once_cell",
682
663
  "portable-atomic",
683
664
  "pyo3-build-config",
684
665
  "pyo3-ffi",
685
666
  "pyo3-macros",
686
- "unindent",
687
667
  ]
688
668
 
689
669
  [[package]]
690
670
  name = "pyo3-build-config"
691
- version = "0.27.1"
671
+ version = "0.28.0"
692
672
  source = "registry+https://github.com/rust-lang/crates.io-index"
693
- checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
673
+ checksum = "972720a441c91fd9c49f212a1d2d74c6e3803b231ebc8d66c51efbd7ccab11c8"
694
674
  dependencies = [
695
675
  "target-lexicon",
696
676
  ]
697
677
 
698
678
  [[package]]
699
679
  name = "pyo3-ffi"
700
- version = "0.27.1"
680
+ version = "0.28.0"
701
681
  source = "registry+https://github.com/rust-lang/crates.io-index"
702
- checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
682
+ checksum = "5994456d9dab8934d600d3867571b6410f24fbd6002570ad56356733eb54859b"
703
683
  dependencies = [
704
684
  "libc",
705
685
  "pyo3-build-config",
@@ -707,9 +687,9 @@ dependencies = [
707
687
 
708
688
  [[package]]
709
689
  name = "pyo3-macros"
710
- version = "0.27.1"
690
+ version = "0.28.0"
711
691
  source = "registry+https://github.com/rust-lang/crates.io-index"
712
- checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
692
+ checksum = "11ce9cc8d81b3c4969748807604d92b4eef363c5bb82b1a1bdb34ec6f1093a18"
713
693
  dependencies = [
714
694
  "proc-macro2",
715
695
  "pyo3-macros-backend",
@@ -719,9 +699,9 @@ dependencies = [
719
699
 
720
700
  [[package]]
721
701
  name = "pyo3-macros-backend"
722
- version = "0.27.1"
702
+ version = "0.28.0"
723
703
  source = "registry+https://github.com/rust-lang/crates.io-index"
724
- checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
704
+ checksum = "eaf4b60036a154d23282679b658e3cc7d88d3b8c9a40b43824785f232d2e1b98"
725
705
  dependencies = [
726
706
  "heck",
727
707
  "proc-macro2",
@@ -732,9 +712,9 @@ dependencies = [
732
712
 
733
713
  [[package]]
734
714
  name = "quote"
735
- version = "1.0.41"
715
+ version = "1.0.44"
736
716
  source = "registry+https://github.com/rust-lang/crates.io-index"
737
- checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
717
+ checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
738
718
  dependencies = [
739
719
  "proc-macro2",
740
720
  ]
@@ -767,9 +747,9 @@ dependencies = [
767
747
 
768
748
  [[package]]
769
749
  name = "rand_core"
770
- version = "0.9.3"
750
+ version = "0.9.5"
771
751
  source = "registry+https://github.com/rust-lang/crates.io-index"
772
- checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
752
+ checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
773
753
  dependencies = [
774
754
  "getrandom",
775
755
  ]
@@ -794,9 +774,9 @@ dependencies = [
794
774
 
795
775
  [[package]]
796
776
  name = "regex"
797
- version = "1.12.2"
777
+ version = "1.12.3"
798
778
  source = "registry+https://github.com/rust-lang/crates.io-index"
799
- checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
779
+ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
800
780
  dependencies = [
801
781
  "aho-corasick",
802
782
  "memchr",
@@ -806,9 +786,9 @@ dependencies = [
806
786
 
807
787
  [[package]]
808
788
  name = "regex-automata"
809
- version = "0.4.13"
789
+ version = "0.4.14"
810
790
  source = "registry+https://github.com/rust-lang/crates.io-index"
811
- checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
791
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
812
792
  dependencies = [
813
793
  "aho-corasick",
814
794
  "memchr",
@@ -817,13 +797,13 @@ dependencies = [
817
797
 
818
798
  [[package]]
819
799
  name = "regex-syntax"
820
- version = "0.8.8"
800
+ version = "0.8.9"
821
801
  source = "registry+https://github.com/rust-lang/crates.io-index"
822
- checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
802
+ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c"
823
803
 
824
804
  [[package]]
825
805
  name = "rlbot_flatbuffers"
826
- version = "0.18.5"
806
+ version = "0.18.6"
827
807
  dependencies = [
828
808
  "eyre",
829
809
  "indexmap",
@@ -912,9 +892,9 @@ dependencies = [
912
892
 
913
893
  [[package]]
914
894
  name = "siphasher"
915
- version = "1.0.1"
895
+ version = "1.0.2"
916
896
  source = "registry+https://github.com/rust-lang/crates.io-index"
917
- checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
897
+ checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e"
918
898
 
919
899
  [[package]]
920
900
  name = "smallvec"
@@ -946,9 +926,9 @@ dependencies = [
946
926
 
947
927
  [[package]]
948
928
  name = "syn"
949
- version = "2.0.108"
929
+ version = "2.0.114"
950
930
  source = "registry+https://github.com/rust-lang/crates.io-index"
951
- checksum = "da58917d35242480a05c2897064da0a80589a2a0476c9a3f2fdc83b53502e917"
931
+ checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
952
932
  dependencies = [
953
933
  "proc-macro2",
954
934
  "quote",
@@ -957,15 +937,15 @@ dependencies = [
957
937
 
958
938
  [[package]]
959
939
  name = "target-lexicon"
960
- version = "0.13.3"
940
+ version = "0.13.4"
961
941
  source = "registry+https://github.com/rust-lang/crates.io-index"
962
- checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
942
+ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
963
943
 
964
944
  [[package]]
965
945
  name = "term"
966
- version = "1.2.0"
946
+ version = "1.2.1"
967
947
  source = "registry+https://github.com/rust-lang/crates.io-index"
968
- checksum = "2111ef44dae28680ae9752bb89409e7310ca33a8c621ebe7b106cf5c928b3ac0"
948
+ checksum = "d8c27177b12a6399ffc08b98f76f7c9a1f4fe9fc967c784c5a071fa8d93cf7e1"
969
949
  dependencies = [
970
950
  "windows-sys",
971
951
  ]
@@ -981,18 +961,18 @@ dependencies = [
981
961
 
982
962
  [[package]]
983
963
  name = "thiserror"
984
- version = "2.0.17"
964
+ version = "2.0.18"
985
965
  source = "registry+https://github.com/rust-lang/crates.io-index"
986
- checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
966
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
987
967
  dependencies = [
988
968
  "thiserror-impl",
989
969
  ]
990
970
 
991
971
  [[package]]
992
972
  name = "thiserror-impl"
993
- version = "2.0.17"
973
+ version = "2.0.18"
994
974
  source = "registry+https://github.com/rust-lang/crates.io-index"
995
- checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
975
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
996
976
  dependencies = [
997
977
  "proc-macro2",
998
978
  "quote",
@@ -1007,9 +987,9 @@ checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
1007
987
 
1008
988
  [[package]]
1009
989
  name = "unicase"
1010
- version = "2.8.1"
990
+ version = "2.9.0"
1011
991
  source = "registry+https://github.com/rust-lang/crates.io-index"
1012
- checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
992
+ checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
1013
993
 
1014
994
  [[package]]
1015
995
  name = "unicode-ident"
@@ -1035,12 +1015,6 @@ version = "0.2.6"
1035
1015
  source = "registry+https://github.com/rust-lang/crates.io-index"
1036
1016
  checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
1037
1017
 
1038
- [[package]]
1039
- name = "unindent"
1040
- version = "0.2.4"
1041
- source = "registry+https://github.com/rust-lang/crates.io-index"
1042
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
1043
-
1044
1018
  [[package]]
1045
1019
  name = "vec_map"
1046
1020
  version = "0.8.2"
@@ -1065,9 +1039,9 @@ dependencies = [
1065
1039
 
1066
1040
  [[package]]
1067
1041
  name = "wasip2"
1068
- version = "1.0.1+wasi-0.2.4"
1042
+ version = "1.0.2+wasi-0.2.9"
1069
1043
  source = "registry+https://github.com/rust-lang/crates.io-index"
1070
- checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
1044
+ checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
1071
1045
  dependencies = [
1072
1046
  "wit-bindgen",
1073
1047
  ]
@@ -1098,24 +1072,24 @@ dependencies = [
1098
1072
 
1099
1073
  [[package]]
1100
1074
  name = "wit-bindgen"
1101
- version = "0.46.0"
1075
+ version = "0.51.0"
1102
1076
  source = "registry+https://github.com/rust-lang/crates.io-index"
1103
- checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
1077
+ checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
1104
1078
 
1105
1079
  [[package]]
1106
1080
  name = "zerocopy"
1107
- version = "0.8.27"
1081
+ version = "0.8.38"
1108
1082
  source = "registry+https://github.com/rust-lang/crates.io-index"
1109
- checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
1083
+ checksum = "57cf3aa6855b23711ee9852dfc97dfaa51c45feaba5b645d0c777414d494a961"
1110
1084
  dependencies = [
1111
1085
  "zerocopy-derive",
1112
1086
  ]
1113
1087
 
1114
1088
  [[package]]
1115
1089
  name = "zerocopy-derive"
1116
- version = "0.8.27"
1090
+ version = "0.8.38"
1117
1091
  source = "registry+https://github.com/rust-lang/crates.io-index"
1118
- checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
1092
+ checksum = "8a616990af1a287837c4fe6596ad77ef57948f787e46ce28e166facc0cc1cb75"
1119
1093
  dependencies = [
1120
1094
  "proc-macro2",
1121
1095
  "quote",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rlbot_flatbuffers"
3
- version = "0.18.5"
3
+ version = "0.18.6"
4
4
  edition = "2024"
5
5
  description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
6
6
  repository = "https://github.com/RLBot/flatbuffers-python"
@@ -18,7 +18,7 @@ all = "warn"
18
18
  crate-type = ["cdylib"]
19
19
 
20
20
  [dependencies]
21
- pyo3 = "0.27.0"
21
+ pyo3 = "0.28.0"
22
22
  planus = { git = "https://github.com/swz-git/planus", rev = "a0b1fbf" }
23
23
 
24
24
  [build-dependencies]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlbot_flatbuffers
3
- Version: 0.18.5
3
+ Version: 0.18.6
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -98,11 +98,11 @@ impl<'a> EnumBindGenerator<'a> {
98
98
  fn generate_definition(&mut self) {
99
99
  write_str!(
100
100
  self,
101
- "#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Hash)]"
101
+ "#[derive(Debug, Default, Clone, PartialEq, Eq, Hash)]"
102
102
  );
103
103
  write_str!(
104
104
  self,
105
- "#[pyclass(module = \"rlbot_flatbuffers\", frozen, hash, eq, eq_int)]"
105
+ "#[pyclass(module = \"rlbot_flatbuffers\", from_py_object, frozen, hash, eq, eq_int)]"
106
106
  );
107
107
  write_fmt!(self, "pub enum {} {{", self.name);
108
108
  write_str!(self, " #[default]");
@@ -136,8 +136,8 @@ impl<'a> EnumBindGenerator<'a> {
136
136
  }
137
137
 
138
138
  fn generate_to_flat_impls(&mut self) {
139
- write_fmt!(self, "impl From<{}> for flat::{} {{", self.name, self.name);
140
- write_fmt!(self, " fn from(py_type: {}) -> Self {{", self.name);
139
+ write_fmt!(self, "impl From<&{}> for flat::{} {{", self.name, self.name);
140
+ write_fmt!(self, " fn from(py_type: &{}) -> Self {{", self.name);
141
141
  write_str!(self, " match py_type {");
142
142
 
143
143
  for var_info in self.variants.values() {
@@ -154,7 +154,10 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
154
154
  write_str!(file, " )");
155
155
  write_str!(file, "");
156
156
 
157
- let inits = [("new", "cls", type_name.as_str()), ("init", "self", "None")];
157
+ let inits = [
158
+ ("new", "cls", type_name.as_str(), " ..."),
159
+ ("init", "self", "None", ""),
160
+ ];
158
161
 
159
162
  let default_overrides: Vec<_> = DEFAULT_OVERRIDES
160
163
  .into_iter()
@@ -167,7 +170,7 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
167
170
  })
168
171
  .collect();
169
172
 
170
- for (func, first_arg, ret_type) in inits {
173
+ for (func, first_arg, ret_type, end_str) in inits {
171
174
  write_fmt!(file, " def __{func}__(");
172
175
  write_fmt!(file, " {first_arg},");
173
176
 
@@ -211,8 +214,15 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
211
214
  );
212
215
  }
213
216
 
214
- write_fmt!(file, " ) -> {ret_type}: ...");
217
+ write_fmt!(file, " ) -> {ret_type}:{end_str}");
215
218
  }
219
+
220
+ write_str!(file, " \"\"\"");
221
+ write_str!(
222
+ file,
223
+ " NOTE: All field initialization before `__init__`, inside of `__new__`."
224
+ );
225
+ write_str!(file, " \"\"\"");
216
226
  }
217
227
  DeclarationKind::Table(info) => {
218
228
  for (field_name, field_info) in &info.fields {
@@ -307,9 +317,12 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
307
317
  write_str!(file, " )");
308
318
  write_str!(file, "");
309
319
 
310
- let inits = [("new", "cls", type_name.as_str()), ("init", "self", "None")];
320
+ let inits = [
321
+ ("new", "cls", type_name.as_str(), " ..."),
322
+ ("init", "self", "None", ""),
323
+ ];
311
324
 
312
- for (func, first_arg, ret_type) in inits {
325
+ for (func, first_arg, ret_type, end_str) in inits {
313
326
  write_fmt!(file, " def __{func}__(");
314
327
  write_fmt!(file, " {first_arg},");
315
328
 
@@ -430,9 +443,16 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
430
443
  );
431
444
  }
432
445
 
433
- write_fmt!(file, " ) -> {ret_type}: ...");
446
+ write_fmt!(file, " ) -> {ret_type}:{end_str}");
434
447
  }
435
448
 
449
+ write_str!(file, " \"\"\"");
450
+ write_str!(
451
+ file,
452
+ " NOTE: All field initialization before `__init__`, inside of `__new__`."
453
+ );
454
+ write_str!(file, " \"\"\"");
455
+
436
456
  write_str!(file, " def pack(self) -> bytes:");
437
457
  write_str!(file, " \"\"\"");
438
458
  write_str!(file, " Serializes this instance into a byte array");
@@ -319,7 +319,7 @@ impl<'a> TableBindGenerator<'a> {
319
319
  }
320
320
  },
321
321
  SimpleType::Enum(_) => {
322
- format!("py_type.{field_name}.into()")
322
+ format!("(&py_type.{field_name}).into()")
323
323
  }
324
324
  },
325
325
  TypeKind::String => match field_info.assign_mode {
@@ -144,7 +144,7 @@ pub fn pydefault_string(py: Python) -> Py<PyString> {
144
144
  macro_rules! pynamedmodule {
145
145
  (doc: $doc:literal, name: $name:tt, classes: [$($class_name:ident),*], vars: [$(($var_name:literal, $value:expr)),*], exceptions: [$($except:expr),*]) => {
146
146
  #[doc = $doc]
147
- #[pymodule(gil_used = false)]
147
+ #[pymodule]
148
148
  #[allow(redundant_semicolons)]
149
149
  fn $name(py: Python, m: Bound<PyModule>) -> PyResult<()> {
150
150
  $(m.add_class::<$class_name>()?);*;