struct-frame 0.0.28__tar.gz → 0.0.30__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.

Potentially problematic release.


This version of struct-frame might be problematic. Click here for more details.

Files changed (33) hide show
  1. {struct_frame-0.0.28 → struct_frame-0.0.30}/.gitignore +1 -0
  2. {struct_frame-0.0.28 → struct_frame-0.0.30}/PKG-INFO +1 -1
  3. {struct_frame-0.0.28 → struct_frame-0.0.30}/pyproject.toml +2 -2
  4. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/c_gen.py +2 -2
  5. {struct_frame-0.0.28 → struct_frame-0.0.30}/.clang-format +0 -0
  6. {struct_frame-0.0.28 → struct_frame-0.0.30}/.github/copilot-instructions.md +0 -0
  7. {struct_frame-0.0.28 → struct_frame-0.0.30}/AI_TESTING_GUIDE.md +0 -0
  8. {struct_frame-0.0.28 → struct_frame-0.0.30}/DEVGUIDE.md +0 -0
  9. {struct_frame-0.0.28 → struct_frame-0.0.30}/LICENSE +0 -0
  10. {struct_frame-0.0.28 → struct_frame-0.0.30}/README.md +0 -0
  11. {struct_frame-0.0.28 → struct_frame-0.0.30}/TODO +0 -0
  12. {struct_frame-0.0.28 → struct_frame-0.0.30}/examples/array_test.proto +0 -0
  13. {struct_frame-0.0.28 → struct_frame-0.0.30}/examples/generic_robot.proto +0 -0
  14. {struct_frame-0.0.28 → struct_frame-0.0.30}/examples/index.ts +0 -0
  15. {struct_frame-0.0.28 → struct_frame-0.0.30}/examples/main.c +0 -0
  16. {struct_frame-0.0.28 → struct_frame-0.0.30}/package-lock.json +0 -0
  17. {struct_frame-0.0.28 → struct_frame-0.0.30}/package.json +0 -0
  18. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/main.py +0 -0
  19. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/__init__.py +0 -0
  20. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/__main__.py +0 -0
  21. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/base.py +0 -0
  22. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/generate.py +0 -0
  23. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/gql_gen.py +0 -0
  24. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/py_gen.py +0 -0
  25. {struct_frame-0.0.28 → struct_frame-0.0.30}/src/struct_frame/ts_gen.py +0 -0
  26. {struct_frame-0.0.28 → struct_frame-0.0.30}/test_all.py +0 -0
  27. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/README.md +0 -0
  28. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/proto/basic_types.proto +0 -0
  29. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/proto/comprehensive_arrays.proto +0 -0
  30. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/proto/nested_messages.proto +0 -0
  31. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/proto/serialization_test.proto +0 -0
  32. {struct_frame-0.0.28 → struct_frame-0.0.30}/tests/run_tests.py +0 -0
  33. {struct_frame-0.0.28 → struct_frame-0.0.30}/tsconfig.json +0 -0
@@ -29,6 +29,7 @@ debug*.exe
29
29
  error.txt
30
30
  *.log
31
31
  InstallationLog.txt
32
+ simple_test.c
32
33
 
33
34
  # IDE and OS files
34
35
  .DS_Store
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: struct-frame
3
- Version: 0.0.28
3
+ Version: 0.0.30
4
4
  Summary: A framework for serializing data with headers
5
5
  Project-URL: Homepage, https://github.com/mylonics/struct-frame
6
6
  Project-URL: Issues, https://github.com/mylonics/struct-frame/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "struct-frame"
7
- version = "0.0.28"
7
+ version = "0.0.30"
8
8
  authors = [
9
9
  { name="Rijesh Augustine", email="rijesh@mylonics.com" },
10
10
  ]
@@ -32,4 +32,4 @@ only-include = ["src/struct_frame"]
32
32
 
33
33
  [tool.hatch.build.targets.wheel.sources]
34
34
  "src" = ""
35
- "boilerplate" = "src/struct_frame/boilerplate"
35
+ "src/boilerplate" = "src/struct_frame/boilerplate"
@@ -61,7 +61,7 @@ class EnumCGen():
61
61
  result += ' %s;\n' % (enumName)
62
62
 
63
63
  result += 'typedef uint8_t %s_t;' % (enumName)
64
-
64
+
65
65
  # Add module-prefixed enum constants for compatibility
66
66
  result += '\n\n/* Enum constants with module prefix */\n'
67
67
  module_prefix = CamelToSnakeCase(field.package).upper()
@@ -70,7 +70,7 @@ class EnumCGen():
70
70
  enum_constant = f"{CamelToSnakeCase(field.name).upper()}_{StyleC.enum_entry(d)}"
71
71
  module_constant = f"{module_prefix}_{enum_constant}"
72
72
  result += f'#define {module_constant:<35} {enum_constant}\n'
73
-
73
+
74
74
  return result
75
75
 
76
76
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes