rlbot-flatbuffers 0.18.3__tar.gz → 0.18.5__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.3 → rlbot_flatbuffers-0.18.5}/Cargo.lock +72 -143
  2. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/Cargo.toml +2 -2
  3. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/PKG-INFO +1 -1
  4. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/pyi.rs +29 -12
  5. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/structs.rs +2 -2
  6. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/table.rs +7 -10
  7. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/corepacket.fbs +6 -0
  8. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/interfacepacket.fbs +6 -0
  9. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/misc.fbs +6 -0
  10. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/src/lib.rs +4 -2
  11. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/LICENSE +0 -0
  12. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/README.md +0 -0
  13. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/class_inject.rs +0 -0
  14. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/enums.rs +0 -0
  15. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/main.rs +0 -0
  16. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/codegen/unions.rs +0 -0
  17. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/color.fbs +0 -0
  18. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/comms.fbs +0 -0
  19. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/gamedata.fbs +0 -0
  20. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/gamestatemanip.fbs +0 -0
  21. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/matchconfig.fbs +0 -0
  22. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/rendering.fbs +0 -0
  23. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/rlbot.fbs +0 -0
  24. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/vector.fbs +0 -0
  25. {rlbot_flatbuffers-0.18.3 → rlbot_flatbuffers-0.18.5}/pyproject.toml +0 -0
@@ -4,9 +4,9 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "aho-corasick"
7
- version = "1.1.3"
7
+ version = "1.1.4"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
10
  dependencies = [
11
11
  "memchr",
12
12
  ]
@@ -113,9 +113,9 @@ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
113
113
 
114
114
  [[package]]
115
115
  name = "bitflags"
116
- version = "2.9.4"
116
+ version = "2.10.0"
117
117
  source = "registry+https://github.com/rust-lang/crates.io-index"
118
- checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
118
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
119
119
 
120
120
  [[package]]
121
121
  name = "block-buffer"
@@ -128,9 +128,9 @@ dependencies = [
128
128
 
129
129
  [[package]]
130
130
  name = "cfg-if"
131
- version = "1.0.3"
131
+ version = "1.0.4"
132
132
  source = "registry+https://github.com/rust-lang/crates.io-index"
133
- checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
133
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
134
134
 
135
135
  [[package]]
136
136
  name = "codespan"
@@ -261,9 +261,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
261
261
 
262
262
  [[package]]
263
263
  name = "generic-array"
264
- version = "0.14.7"
264
+ version = "0.14.9"
265
265
  source = "registry+https://github.com/rust-lang/crates.io-index"
266
- checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
266
+ checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
267
267
  dependencies = [
268
268
  "typenum",
269
269
  "version_check",
@@ -271,14 +271,14 @@ dependencies = [
271
271
 
272
272
  [[package]]
273
273
  name = "getrandom"
274
- version = "0.3.3"
274
+ version = "0.3.4"
275
275
  source = "registry+https://github.com/rust-lang/crates.io-index"
276
- checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
276
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
277
277
  dependencies = [
278
278
  "cfg-if",
279
279
  "libc",
280
280
  "r-efi",
281
- "wasi",
281
+ "wasip2",
282
282
  ]
283
283
 
284
284
  [[package]]
@@ -321,9 +321,9 @@ checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5"
321
321
 
322
322
  [[package]]
323
323
  name = "indexmap"
324
- version = "2.11.4"
324
+ version = "2.12.0"
325
325
  source = "registry+https://github.com/rust-lang/crates.io-index"
326
- checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
326
+ checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f"
327
327
  dependencies = [
328
328
  "equivalent",
329
329
  "hashbrown 0.16.0",
@@ -331,9 +331,12 @@ dependencies = [
331
331
 
332
332
  [[package]]
333
333
  name = "indoc"
334
- version = "2.0.6"
334
+ version = "2.0.7"
335
335
  source = "registry+https://github.com/rust-lang/crates.io-index"
336
- checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
336
+ checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
337
+ dependencies = [
338
+ "rustversion",
339
+ ]
337
340
 
338
341
  [[package]]
339
342
  name = "itertools"
@@ -393,9 +396,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
393
396
 
394
397
  [[package]]
395
398
  name = "libc"
396
- version = "0.2.175"
399
+ version = "0.2.177"
397
400
  source = "registry+https://github.com/rust-lang/crates.io-index"
398
- checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
401
+ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
399
402
 
400
403
  [[package]]
401
404
  name = "libm"
@@ -405,11 +408,10 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
405
408
 
406
409
  [[package]]
407
410
  name = "lock_api"
408
- version = "0.4.13"
411
+ version = "0.4.14"
409
412
  source = "registry+https://github.com/rust-lang/crates.io-index"
410
- checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
413
+ checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
411
414
  dependencies = [
412
- "autocfg",
413
415
  "scopeguard",
414
416
  ]
415
417
 
@@ -455,9 +457,9 @@ dependencies = [
455
457
 
456
458
  [[package]]
457
459
  name = "memchr"
458
- version = "2.7.5"
460
+ version = "2.7.6"
459
461
  source = "registry+https://github.com/rust-lang/crates.io-index"
460
- checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
462
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
461
463
 
462
464
  [[package]]
463
465
  name = "memoffset"
@@ -523,9 +525,9 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
523
525
 
524
526
  [[package]]
525
527
  name = "parking_lot"
526
- version = "0.12.4"
528
+ version = "0.12.5"
527
529
  source = "registry+https://github.com/rust-lang/crates.io-index"
528
- checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
530
+ checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
529
531
  dependencies = [
530
532
  "lock_api",
531
533
  "parking_lot_core",
@@ -533,15 +535,15 @@ dependencies = [
533
535
 
534
536
  [[package]]
535
537
  name = "parking_lot_core"
536
- version = "0.9.11"
538
+ version = "0.9.12"
537
539
  source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
540
+ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
539
541
  dependencies = [
540
542
  "cfg-if",
541
543
  "libc",
542
544
  "redox_syscall",
543
545
  "smallvec",
544
- "windows-targets",
546
+ "windows-link",
545
547
  ]
546
548
 
547
549
  [[package]]
@@ -660,18 +662,18 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
660
662
 
661
663
  [[package]]
662
664
  name = "proc-macro2"
663
- version = "1.0.101"
665
+ version = "1.0.103"
664
666
  source = "registry+https://github.com/rust-lang/crates.io-index"
665
- checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
667
+ checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
666
668
  dependencies = [
667
669
  "unicode-ident",
668
670
  ]
669
671
 
670
672
  [[package]]
671
673
  name = "pyo3"
672
- version = "0.26.0"
674
+ version = "0.27.1"
673
675
  source = "registry+https://github.com/rust-lang/crates.io-index"
674
- checksum = "7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383"
676
+ checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
675
677
  dependencies = [
676
678
  "indoc",
677
679
  "libc",
@@ -686,18 +688,18 @@ dependencies = [
686
688
 
687
689
  [[package]]
688
690
  name = "pyo3-build-config"
689
- version = "0.26.0"
691
+ version = "0.27.1"
690
692
  source = "registry+https://github.com/rust-lang/crates.io-index"
691
- checksum = "4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f"
693
+ checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
692
694
  dependencies = [
693
695
  "target-lexicon",
694
696
  ]
695
697
 
696
698
  [[package]]
697
699
  name = "pyo3-ffi"
698
- version = "0.26.0"
700
+ version = "0.27.1"
699
701
  source = "registry+https://github.com/rust-lang/crates.io-index"
700
- checksum = "025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105"
702
+ checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
701
703
  dependencies = [
702
704
  "libc",
703
705
  "pyo3-build-config",
@@ -705,9 +707,9 @@ dependencies = [
705
707
 
706
708
  [[package]]
707
709
  name = "pyo3-macros"
708
- version = "0.26.0"
710
+ version = "0.27.1"
709
711
  source = "registry+https://github.com/rust-lang/crates.io-index"
710
- checksum = "2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded"
712
+ checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
711
713
  dependencies = [
712
714
  "proc-macro2",
713
715
  "pyo3-macros-backend",
@@ -717,9 +719,9 @@ dependencies = [
717
719
 
718
720
  [[package]]
719
721
  name = "pyo3-macros-backend"
720
- version = "0.26.0"
722
+ version = "0.27.1"
721
723
  source = "registry+https://github.com/rust-lang/crates.io-index"
722
- checksum = "100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf"
724
+ checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
723
725
  dependencies = [
724
726
  "heck",
725
727
  "proc-macro2",
@@ -730,9 +732,9 @@ dependencies = [
730
732
 
731
733
  [[package]]
732
734
  name = "quote"
733
- version = "1.0.40"
735
+ version = "1.0.41"
734
736
  source = "registry+https://github.com/rust-lang/crates.io-index"
735
- checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
737
+ checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
736
738
  dependencies = [
737
739
  "proc-macro2",
738
740
  ]
@@ -783,18 +785,18 @@ dependencies = [
783
785
 
784
786
  [[package]]
785
787
  name = "redox_syscall"
786
- version = "0.5.17"
788
+ version = "0.5.18"
787
789
  source = "registry+https://github.com/rust-lang/crates.io-index"
788
- checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
790
+ checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
789
791
  dependencies = [
790
792
  "bitflags",
791
793
  ]
792
794
 
793
795
  [[package]]
794
796
  name = "regex"
795
- version = "1.11.2"
797
+ version = "1.12.2"
796
798
  source = "registry+https://github.com/rust-lang/crates.io-index"
797
- checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
799
+ checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
798
800
  dependencies = [
799
801
  "aho-corasick",
800
802
  "memchr",
@@ -804,9 +806,9 @@ dependencies = [
804
806
 
805
807
  [[package]]
806
808
  name = "regex-automata"
807
- version = "0.4.10"
809
+ version = "0.4.13"
808
810
  source = "registry+https://github.com/rust-lang/crates.io-index"
809
- checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
811
+ checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
810
812
  dependencies = [
811
813
  "aho-corasick",
812
814
  "memchr",
@@ -815,13 +817,13 @@ dependencies = [
815
817
 
816
818
  [[package]]
817
819
  name = "regex-syntax"
818
- version = "0.8.6"
820
+ version = "0.8.8"
819
821
  source = "registry+https://github.com/rust-lang/crates.io-index"
820
- checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
822
+ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
821
823
 
822
824
  [[package]]
823
825
  name = "rlbot_flatbuffers"
824
- version = "0.18.3"
826
+ version = "0.18.5"
825
827
  dependencies = [
826
828
  "eyre",
827
829
  "indexmap",
@@ -870,9 +872,9 @@ checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
870
872
 
871
873
  [[package]]
872
874
  name = "serde"
873
- version = "1.0.226"
875
+ version = "1.0.228"
874
876
  source = "registry+https://github.com/rust-lang/crates.io-index"
875
- checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd"
877
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
876
878
  dependencies = [
877
879
  "serde_core",
878
880
  "serde_derive",
@@ -880,18 +882,18 @@ dependencies = [
880
882
 
881
883
  [[package]]
882
884
  name = "serde_core"
883
- version = "1.0.226"
885
+ version = "1.0.228"
884
886
  source = "registry+https://github.com/rust-lang/crates.io-index"
885
- checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4"
887
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
886
888
  dependencies = [
887
889
  "serde_derive",
888
890
  ]
889
891
 
890
892
  [[package]]
891
893
  name = "serde_derive"
892
- version = "1.0.226"
894
+ version = "1.0.228"
893
895
  source = "registry+https://github.com/rust-lang/crates.io-index"
894
- checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33"
896
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
895
897
  dependencies = [
896
898
  "proc-macro2",
897
899
  "quote",
@@ -944,9 +946,9 @@ dependencies = [
944
946
 
945
947
  [[package]]
946
948
  name = "syn"
947
- version = "2.0.106"
949
+ version = "2.0.108"
948
950
  source = "registry+https://github.com/rust-lang/crates.io-index"
949
- checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
951
+ checksum = "da58917d35242480a05c2897064da0a80589a2a0476c9a3f2fdc83b53502e917"
950
952
  dependencies = [
951
953
  "proc-macro2",
952
954
  "quote",
@@ -979,18 +981,18 @@ dependencies = [
979
981
 
980
982
  [[package]]
981
983
  name = "thiserror"
982
- version = "2.0.16"
984
+ version = "2.0.17"
983
985
  source = "registry+https://github.com/rust-lang/crates.io-index"
984
- checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
986
+ checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
985
987
  dependencies = [
986
988
  "thiserror-impl",
987
989
  ]
988
990
 
989
991
  [[package]]
990
992
  name = "thiserror-impl"
991
- version = "2.0.16"
993
+ version = "2.0.17"
992
994
  source = "registry+https://github.com/rust-lang/crates.io-index"
993
- checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
995
+ checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
994
996
  dependencies = [
995
997
  "proc-macro2",
996
998
  "quote",
@@ -999,9 +1001,9 @@ dependencies = [
999
1001
 
1000
1002
  [[package]]
1001
1003
  name = "typenum"
1002
- version = "1.18.0"
1004
+ version = "1.19.0"
1003
1005
  source = "registry+https://github.com/rust-lang/crates.io-index"
1004
- checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
1006
+ checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
1005
1007
 
1006
1008
  [[package]]
1007
1009
  name = "unicase"
@@ -1011,9 +1013,9 @@ checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
1011
1013
 
1012
1014
  [[package]]
1013
1015
  name = "unicode-ident"
1014
- version = "1.0.19"
1016
+ version = "1.0.22"
1015
1017
  source = "registry+https://github.com/rust-lang/crates.io-index"
1016
- checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
1018
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
1017
1019
 
1018
1020
  [[package]]
1019
1021
  name = "unicode-segmentation"
@@ -1061,15 +1063,6 @@ dependencies = [
1061
1063
  "winapi-util",
1062
1064
  ]
1063
1065
 
1064
- [[package]]
1065
- name = "wasi"
1066
- version = "0.14.7+wasi-0.2.4"
1067
- source = "registry+https://github.com/rust-lang/crates.io-index"
1068
- checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c"
1069
- dependencies = [
1070
- "wasip2",
1071
- ]
1072
-
1073
1066
  [[package]]
1074
1067
  name = "wasip2"
1075
1068
  version = "1.0.1+wasi-0.2.4"
@@ -1090,83 +1083,19 @@ dependencies = [
1090
1083
 
1091
1084
  [[package]]
1092
1085
  name = "windows-link"
1093
- version = "0.2.0"
1086
+ version = "0.2.1"
1094
1087
  source = "registry+https://github.com/rust-lang/crates.io-index"
1095
- checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
1088
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1096
1089
 
1097
1090
  [[package]]
1098
1091
  name = "windows-sys"
1099
- version = "0.61.0"
1092
+ version = "0.61.2"
1100
1093
  source = "registry+https://github.com/rust-lang/crates.io-index"
1101
- checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa"
1094
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1102
1095
  dependencies = [
1103
1096
  "windows-link",
1104
1097
  ]
1105
1098
 
1106
- [[package]]
1107
- name = "windows-targets"
1108
- version = "0.52.6"
1109
- source = "registry+https://github.com/rust-lang/crates.io-index"
1110
- checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1111
- dependencies = [
1112
- "windows_aarch64_gnullvm",
1113
- "windows_aarch64_msvc",
1114
- "windows_i686_gnu",
1115
- "windows_i686_gnullvm",
1116
- "windows_i686_msvc",
1117
- "windows_x86_64_gnu",
1118
- "windows_x86_64_gnullvm",
1119
- "windows_x86_64_msvc",
1120
- ]
1121
-
1122
- [[package]]
1123
- name = "windows_aarch64_gnullvm"
1124
- version = "0.52.6"
1125
- source = "registry+https://github.com/rust-lang/crates.io-index"
1126
- checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1127
-
1128
- [[package]]
1129
- name = "windows_aarch64_msvc"
1130
- version = "0.52.6"
1131
- source = "registry+https://github.com/rust-lang/crates.io-index"
1132
- checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1133
-
1134
- [[package]]
1135
- name = "windows_i686_gnu"
1136
- version = "0.52.6"
1137
- source = "registry+https://github.com/rust-lang/crates.io-index"
1138
- checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1139
-
1140
- [[package]]
1141
- name = "windows_i686_gnullvm"
1142
- version = "0.52.6"
1143
- source = "registry+https://github.com/rust-lang/crates.io-index"
1144
- checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1145
-
1146
- [[package]]
1147
- name = "windows_i686_msvc"
1148
- version = "0.52.6"
1149
- source = "registry+https://github.com/rust-lang/crates.io-index"
1150
- checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1151
-
1152
- [[package]]
1153
- name = "windows_x86_64_gnu"
1154
- version = "0.52.6"
1155
- source = "registry+https://github.com/rust-lang/crates.io-index"
1156
- checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1157
-
1158
- [[package]]
1159
- name = "windows_x86_64_gnullvm"
1160
- version = "0.52.6"
1161
- source = "registry+https://github.com/rust-lang/crates.io-index"
1162
- checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1163
-
1164
- [[package]]
1165
- name = "windows_x86_64_msvc"
1166
- version = "0.52.6"
1167
- source = "registry+https://github.com/rust-lang/crates.io-index"
1168
- checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
1169
-
1170
1099
  [[package]]
1171
1100
  name = "wit-bindgen"
1172
1101
  version = "0.46.0"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rlbot_flatbuffers"
3
- version = "0.18.3"
3
+ version = "0.18.5"
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.26.0"
21
+ pyo3 = "0.27.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.3
3
+ Version: 0.18.5
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,5 +1,4 @@
1
1
  use crate::{enums::normalize_caps, structs::DEFAULT_OVERRIDES};
2
- use indexmap::IndexSet;
3
2
  use planus_types::{
4
3
  ast::IntegerType,
5
4
  intermediate::{AssignMode, DeclarationKind, Declarations, SimpleType, TypeKind},
@@ -31,15 +30,29 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
31
30
  Cow::Borrowed(""),
32
31
  ];
33
32
 
34
- let sorted_types: IndexSet<usize> = type_data
35
- .children
36
- .iter()
37
- .chain(&type_data.parents)
38
- .flat_map(|v| v.iter().map(|ty| ty.0))
39
- .collect();
40
-
41
- for idx in sorted_types {
42
- let (full_type_name, item) = type_data.declarations.get_index(idx).unwrap();
33
+ let mut sorted_types: Vec<_> = type_data.iter_declarations().collect();
34
+ sorted_types.sort_by_cached_key(|(idx, full_type_name, item)| match &item.kind {
35
+ DeclarationKind::Enum(_) => (0, 0, 0, 0, full_type_name.0.last().unwrap().as_str()),
36
+ DeclarationKind::Struct(item) => (
37
+ 1,
38
+ item.fields
39
+ .iter()
40
+ .any(|(_, item)| matches!(item.type_, SimpleType::Struct(_))) as usize,
41
+ 0,
42
+ 0,
43
+ full_type_name.0.last().unwrap().as_str(),
44
+ ),
45
+ DeclarationKind::Table(_) | DeclarationKind::Union(_) => (
46
+ 2,
47
+ 0,
48
+ usize::MAX - type_data.parents[idx.0].len(),
49
+ type_data.children[idx.0].len(),
50
+ full_type_name.0.last().unwrap().as_str(),
51
+ ),
52
+ _ => unreachable!(),
53
+ });
54
+
55
+ for (_, full_type_name, item) in sorted_types {
43
56
  if matches!(item.kind, DeclarationKind::Union(_)) {
44
57
  continue;
45
58
  }
@@ -61,10 +74,14 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
61
74
  match &item.kind {
62
75
  DeclarationKind::Enum(info) => {
63
76
  for (var_val, var_info) in &info.variants {
64
- write_fmt!(file, " {}: {type_name}", normalize_caps(&var_info.name));
77
+ let field_name = normalize_caps(&var_info.name);
78
+ write_fmt!(file, " {field_name}: {type_name}");
65
79
 
66
80
  write_str!(file, " \"\"\"");
67
- write_fmt!(file, " self.value = {var_val}");
81
+ write_fmt!(
82
+ file,
83
+ " `assert int({type_name}.{field_name}) == {var_val}`"
84
+ );
68
85
 
69
86
  if !var_info.docstrings.docstrings.is_empty() {
70
87
  write_str!(file, "");
@@ -131,7 +131,7 @@ impl<'a> StructBindGenerator<'a> {
131
131
  if self.fields.is_empty() {
132
132
  write_fmt!(self, "impl From<{impl_type}> for {} {{", self.name);
133
133
  write_fmt!(self, " fn from(_: {impl_type}) -> Self {{");
134
- write_fmt!(self, " {} {{}}", self.name);
134
+ write_str!(self, " Self {}");
135
135
  write_str!(self, " }");
136
136
  write_str!(self, "}");
137
137
  write_str!(self, "");
@@ -145,7 +145,7 @@ impl<'a> StructBindGenerator<'a> {
145
145
  self,
146
146
  " fn from_gil(py: Python, flat_t: {impl_type}) -> Self {{"
147
147
  );
148
- write_fmt!(self, " {} {{", self.name);
148
+ write_str!(self, " Self {");
149
149
 
150
150
  for (field_name, field_info) in self.fields {
151
151
  match &field_info.type_ {
@@ -363,12 +363,12 @@ impl<'a> TableBindGenerator<'a> {
363
363
  match field_info.assign_mode {
364
364
  AssignMode::Optional => {
365
365
  format!(
366
- "py_type.{field_name}.as_ref().map(|x| super::{name}::from_py_object_bound(x.bind_borrowed(py)).as_ref().unwrap().into_gil(py))"
366
+ "py_type.{field_name}.as_ref().map(|x| super::{name}::extract(x.bind_borrowed(py)).as_ref().unwrap().into_gil(py))"
367
367
  )
368
368
  }
369
369
  _ => {
370
370
  format!(
371
- "super::{name}::from_py_object_bound(py_type.{field_name}.bind_borrowed(py)).as_ref().unwrap().into_gil(py)"
371
+ "super::{name}::extract(py_type.{field_name}.bind_borrowed(py)).as_ref().unwrap().into_gil(py)"
372
372
  )
373
373
  }
374
374
  }
@@ -727,7 +727,7 @@ impl<'a> TableBindGenerator<'a> {
727
727
  );
728
728
  write_fmt!(
729
729
  self,
730
- " super::{name}::from_py_object_bound(i.bind_borrowed(py))"
730
+ " super::{name}::extract(i.bind_borrowed(py))"
731
731
  );
732
732
  write_str!(self, " .unwrap().__repr__(py)");
733
733
  write_str!(self, " }),");
@@ -735,7 +735,7 @@ impl<'a> TableBindGenerator<'a> {
735
735
  _ => {
736
736
  write_fmt!(
737
737
  self,
738
- " super::{name}::from_py_object_bound(self.{field_name}.bind_borrowed(py))"
738
+ " super::{name}::extract(self.{field_name}.bind_borrowed(py))"
739
739
  );
740
740
  write_str!(self, " .unwrap().__repr__(py),");
741
741
  }
@@ -758,7 +758,7 @@ impl<'a> TableBindGenerator<'a> {
758
758
  write_str!(self, " .iter()");
759
759
  write_fmt!(
760
760
  self,
761
- " .map(|x| x.downcast_into::<super::{name}>().unwrap().borrow().__repr__(py))"
761
+ " .map(|x| x.cast_into::<super::{name}>().unwrap().borrow().__repr__(py))"
762
762
  );
763
763
  }
764
764
  _ => {
@@ -781,7 +781,7 @@ impl<'a> TableBindGenerator<'a> {
781
781
  write_str!(self, " .iter()");
782
782
  write_fmt!(
783
783
  self,
784
- " .map(|x| x.downcast_into::<super::{name}>().unwrap().borrow().__repr__(py))"
784
+ " .map(|x| x.cast_into::<super::{name}>().unwrap().borrow().__repr__(py))"
785
785
  );
786
786
  }
787
787
  _ => continue,
@@ -912,10 +912,7 @@ impl<'a> TableBindGenerator<'a> {
912
912
  }));
913
913
 
914
914
  write_str!(self, "use planus::{Builder, ReadAsRoot};");
915
- write_str!(
916
- self,
917
- "use pyo3::{conversion::FromPyObjectBound, prelude::*, types::*};"
918
- );
915
+ write_str!(self, "use pyo3::{prelude::*, types::*};");
919
916
  write_str!(self, "");
920
917
 
921
918
  self.generate_definition();
@@ -28,6 +28,12 @@ union CoreMessage {
28
28
 
29
29
  /// An agent had its ability to render changed
30
30
  RenderingStatus,
31
+
32
+ /// Requests for client to send a PingResponse asap for measuring latency
33
+ PingRequest,
34
+
35
+ /// Response to PingRequest for measuring latency
36
+ PingResponse,
31
37
  }
32
38
 
33
39
  /// Packet containing a CoreMessage
@@ -51,6 +51,12 @@ union InterfaceMessage {
51
51
  /// This changed will then be broadcasted to all current connections.
52
52
  /// Does nothing if rendering has been completely disabled.
53
53
  RenderingStatus,
54
+
55
+ /// Requests for server to send a PingResponse asap for measuring latency
56
+ PingRequest,
57
+
58
+ /// Response to PingRequest for measuring latency
59
+ PingResponse,
54
60
  }
55
61
 
56
62
  /// Packet containing a InterfaceMessage
@@ -91,3 +91,9 @@ table RenderingStatus {
91
91
  /// If rendering is now enabled or disabled for the specific agent
92
92
  status: bool;
93
93
  }
94
+
95
+ /// Ping request message
96
+ table PingRequest {}
97
+
98
+ /// Ping response message
99
+ table PingResponse {}
@@ -73,7 +73,7 @@ where
73
73
  T: PyClass,
74
74
  U: for<'a> FromGil<&'a T>,
75
75
  {
76
- (&*obj.downcast_into::<T>().unwrap().borrow()).into_gil(py)
76
+ (&*obj.cast_into::<T>().unwrap().borrow()).into_gil(py)
77
77
  }
78
78
 
79
79
  fn into_pystringlist_from(py: Python, obj: Vec<String>) -> Py<PyList> {
@@ -83,7 +83,7 @@ fn into_pystringlist_from(py: Python, obj: Vec<String>) -> Py<PyList> {
83
83
  }
84
84
 
85
85
  fn from_pystring_into(obj: Bound<PyAny>) -> String {
86
- obj.downcast_into::<PyString>()
86
+ obj.cast_into::<PyString>()
87
87
  .unwrap()
88
88
  .to_str()
89
89
  .unwrap()
@@ -225,6 +225,8 @@ pynamedmodule! {
225
225
  NormalGoalScoreMutator,
226
226
  OvertimeMutator,
227
227
  Physics,
228
+ PingRequest,
229
+ PingResponse,
228
230
  PlayerConfiguration,
229
231
  PlayerInfo,
230
232
  PlayerInput,