pymbusparser 0.4.1__tar.gz → 0.4.2__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 (51) hide show
  1. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.github/workflows/rust.yml +5 -0
  2. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/CHANGELOG.md +15 -0
  3. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/Cargo.lock +62 -62
  4. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/Cargo.toml +1 -1
  5. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/PKG-INFO +1 -1
  6. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/README.md +24 -0
  7. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/docs/m_bus_parser_wasm_pack.js +299 -297
  8. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/docs/m_bus_parser_wasm_pack_bg.wasm +0 -0
  9. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/Cargo.toml +2 -2
  10. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/src/lib.rs +3 -11
  11. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/tests/test_bindings.py +5 -1
  12. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/annotate.rs +7 -2
  13. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/lib.rs +3 -2
  14. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/mbus_data.rs +7 -7
  15. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/output.rs +238 -61
  16. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.github/dependabot.yml +0 -0
  17. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.github/workflows/python.yml +0 -0
  18. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.gitignore +0 -0
  19. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.vscode/launch.json +0 -0
  20. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/.vscode/settings.json +0 -0
  21. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/CONTRIBUTING.md +0 -0
  22. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/LICENSE +0 -0
  23. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/README_python.md +0 -0
  24. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/benches/bench.rs +0 -0
  25. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/.gitignore +0 -0
  26. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/Cargo.toml +0 -0
  27. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/README.md +0 -0
  28. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/examples/parse_data_records.rs +0 -0
  29. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/data_information.rs +0 -0
  30. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/data_record.rs +0 -0
  31. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/extended_link_layer.rs +0 -0
  32. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/lib.rs +0 -0
  33. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/value_information.rs +0 -0
  34. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-application-layer/src/variable_user_data.rs +0 -0
  35. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-core/Cargo.toml +0 -0
  36. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-core/src/decryption.rs +0 -0
  37. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/m-bus-core/src/lib.rs +0 -0
  38. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/wired-mbus-link-layer/Cargo.toml +0 -0
  39. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/wired-mbus-link-layer/src/lib.rs +0 -0
  40. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/wireless-mbus-link-layer/Cargo.toml +0 -0
  41. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/crates/wireless-mbus-link-layer/src/lib.rs +0 -0
  42. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/docs/index.html +0 -0
  43. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/docs/m_bus_parser_wasm_pack_bg.js +0 -0
  44. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/docs/meter.png +0 -0
  45. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/pyproject.toml +0 -0
  46. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/.gitignore +0 -0
  47. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/README_python.md +0 -0
  48. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/py.typed +0 -0
  49. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/python/pymbusparser.pyi +0 -0
  50. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/manufacturers.rs +0 -0
  51. {pymbusparser-0.4.1 → pymbusparser-0.4.2}/src/rscada_xml.rs +0 -0
@@ -240,6 +240,11 @@ jobs:
240
240
  run: |
241
241
  cd wasm
242
242
  wasm-pack build --target bundler
243
+ - uses: actions/setup-node@v6
244
+ with:
245
+ node-version: '24'
246
+ registry-url: 'https://registry.npmjs.org'
247
+ package-manager-cache: false
243
248
  - name: Publish WASM package
244
249
  run: wasm-pack publish --access public wasm
245
250
  - name: Create new artifacts for website
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.2] - 2026-08-10
11
+
12
+ ### Changed
13
+
14
+ - Simplified canonical record units to a single `unit` string. It contains the
15
+ standardized representation when available, without exposing a technical
16
+ `ucum` label, and falls back to the human-readable symbol for units without a
17
+ standard mapping. This change advances the canonical output schema to
18
+ version 2.
19
+ - Aligned canonical frame functions, record functions, quantities, and data
20
+ coding names with M-Bus terminology (`RSP_UD`, `Instantaneous value`,
21
+ `Volume flow`, `6-digit BCD`) across JSON, YAML, CSV, tables, Mermaid, Python,
22
+ and WebAssembly. Annotation identifiers now use `snake_case`, and standalone
23
+ application-record decoding now uses the same canonical record contract.
24
+
10
25
  ## [0.4.1]
11
26
 
12
27
  ### Changed
@@ -138,9 +138,9 @@ dependencies = [
138
138
 
139
139
  [[package]]
140
140
  name = "async-trait"
141
- version = "0.1.91"
141
+ version = "0.1.92"
142
142
  source = "registry+https://github.com/rust-lang/crates.io-index"
143
- checksum = "ae36dc4177970ef04fde5178d3e2429882def40e57a451f919c098f72baa6cec"
143
+ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
144
144
  dependencies = [
145
145
  "proc-macro2",
146
146
  "quote",
@@ -253,9 +253,9 @@ dependencies = [
253
253
 
254
254
  [[package]]
255
255
  name = "cc"
256
- version = "1.4.0"
256
+ version = "1.4.2"
257
257
  source = "registry+https://github.com/rust-lang/crates.io-index"
258
- checksum = "5add81bb678e6cb321aff7fa0dc7689ad82b112dbc032cea19f91d6b8e3582b9"
258
+ checksum = "5d262e149917187838d5b42777c8253bcb64500067342904e7d429499a6f277e"
259
259
  dependencies = [
260
260
  "find-msvc-tools",
261
261
  "shlex 2.0.1",
@@ -349,9 +349,9 @@ dependencies = [
349
349
 
350
350
  [[package]]
351
351
  name = "clap"
352
- version = "4.6.5"
352
+ version = "4.6.6"
353
353
  source = "registry+https://github.com/rust-lang/crates.io-index"
354
- checksum = "301b56658598e48f3648647ac6fc887be7e7108eddfa4e9b63fcf3ec58c0cadf"
354
+ checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca"
355
355
  dependencies = [
356
356
  "clap_builder",
357
357
  "clap_derive",
@@ -359,9 +359,9 @@ dependencies = [
359
359
 
360
360
  [[package]]
361
361
  name = "clap_builder"
362
- version = "4.6.5"
362
+ version = "4.6.6"
363
363
  source = "registry+https://github.com/rust-lang/crates.io-index"
364
- checksum = "94a65403d1a1bd28f7dc68eb8506e8874808ee5eecb59298de588e2e1407a078"
364
+ checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889"
365
365
  dependencies = [
366
366
  "anstream",
367
367
  "anstyle",
@@ -600,7 +600,7 @@ version = "1.0.0"
600
600
  source = "registry+https://github.com/rust-lang/crates.io-index"
601
601
  checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
602
602
  dependencies = [
603
- "thiserror 2.0.19",
603
+ "thiserror 2.0.20",
604
604
  ]
605
605
 
606
606
  [[package]]
@@ -665,9 +665,9 @@ dependencies = [
665
665
 
666
666
  [[package]]
667
667
  name = "find-msvc-tools"
668
- version = "0.1.9"
668
+ version = "0.1.10"
669
669
  source = "registry+https://github.com/rust-lang/crates.io-index"
670
- checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
670
+ checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de"
671
671
 
672
672
  [[package]]
673
673
  name = "flate2"
@@ -852,9 +852,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
852
852
 
853
853
  [[package]]
854
854
  name = "js-sys"
855
- version = "0.3.103"
855
+ version = "0.3.104"
856
856
  source = "registry+https://github.com/rust-lang/crates.io-index"
857
- checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102"
857
+ checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
858
858
  dependencies = [
859
859
  "cfg-if",
860
860
  "futures-util",
@@ -934,7 +934,7 @@ dependencies = [
934
934
 
935
935
  [[package]]
936
936
  name = "m-bus-parser"
937
- version = "0.4.1"
937
+ version = "0.4.2"
938
938
  dependencies = [
939
939
  "aes",
940
940
  "aes-gcm",
@@ -963,7 +963,7 @@ dependencies = [
963
963
 
964
964
  [[package]]
965
965
  name = "m-bus-parser-cli"
966
- version = "0.4.1"
966
+ version = "0.4.2"
967
967
  dependencies = [
968
968
  "clap",
969
969
  "hex",
@@ -973,7 +973,7 @@ dependencies = [
973
973
 
974
974
  [[package]]
975
975
  name = "m-bus-parser-wasm-pack"
976
- version = "0.4.1"
976
+ version = "0.4.2"
977
977
  dependencies = [
978
978
  "console_error_panic_hook",
979
979
  "js-sys",
@@ -1122,9 +1122,9 @@ dependencies = [
1122
1122
 
1123
1123
  [[package]]
1124
1124
  name = "portable-atomic"
1125
- version = "1.14.0"
1125
+ version = "1.15.0"
1126
1126
  source = "registry+https://github.com/rust-lang/crates.io-index"
1127
- checksum = "3d20d5497ef88037a52ff98267d066e7f11fcc5e99bbfbd58a42336193aacec3"
1127
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
1128
1128
 
1129
1129
  [[package]]
1130
1130
  name = "prettyplease"
@@ -1161,7 +1161,7 @@ dependencies = [
1161
1161
 
1162
1162
  [[package]]
1163
1163
  name = "pymbusparser"
1164
- version = "0.4.1"
1164
+ version = "0.4.2"
1165
1165
  dependencies = [
1166
1166
  "hex",
1167
1167
  "m-bus-parser",
@@ -1171,9 +1171,9 @@ dependencies = [
1171
1171
 
1172
1172
  [[package]]
1173
1173
  name = "pyo3"
1174
- version = "0.29.1"
1174
+ version = "0.29.2"
1175
1175
  source = "registry+https://github.com/rust-lang/crates.io-index"
1176
- checksum = "fc153f5fd745cc038b5eed86622125969f8a39834a57bc96beaaf2512b1da729"
1176
+ checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
1177
1177
  dependencies = [
1178
1178
  "libc",
1179
1179
  "once_cell",
@@ -1185,18 +1185,18 @@ dependencies = [
1185
1185
 
1186
1186
  [[package]]
1187
1187
  name = "pyo3-build-config"
1188
- version = "0.29.1"
1188
+ version = "0.29.2"
1189
1189
  source = "registry+https://github.com/rust-lang/crates.io-index"
1190
- checksum = "bb77d9aa6d647507b55c69ee714d266d84c526c78ff0bc6dd8757f58591e64d1"
1190
+ checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
1191
1191
  dependencies = [
1192
1192
  "target-lexicon",
1193
1193
  ]
1194
1194
 
1195
1195
  [[package]]
1196
1196
  name = "pyo3-ffi"
1197
- version = "0.29.1"
1197
+ version = "0.29.2"
1198
1198
  source = "registry+https://github.com/rust-lang/crates.io-index"
1199
- checksum = "3160087aa5733bce7d9a729f8c55f85a2a53b74742a09613178eeebff0722253"
1199
+ checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
1200
1200
  dependencies = [
1201
1201
  "libc",
1202
1202
  "pyo3-build-config",
@@ -1204,9 +1204,9 @@ dependencies = [
1204
1204
 
1205
1205
  [[package]]
1206
1206
  name = "pyo3-macros"
1207
- version = "0.29.1"
1207
+ version = "0.29.2"
1208
1208
  source = "registry+https://github.com/rust-lang/crates.io-index"
1209
- checksum = "91f9d455db760a9a0b0ddeaac25f1390b8a36ba73dfbda9f127cac6fc340d4d5"
1209
+ checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
1210
1210
  dependencies = [
1211
1211
  "proc-macro2",
1212
1212
  "pyo3-macros-backend",
@@ -1216,9 +1216,9 @@ dependencies = [
1216
1216
 
1217
1217
  [[package]]
1218
1218
  name = "pyo3-macros-backend"
1219
- version = "0.29.1"
1219
+ version = "0.29.2"
1220
1220
  source = "registry+https://github.com/rust-lang/crates.io-index"
1221
- checksum = "e343bcec300ff262f5806a33a4e51b6d097a8a46435f512fcb83e95592581625"
1221
+ checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
1222
1222
  dependencies = [
1223
1223
  "heck",
1224
1224
  "proc-macro2",
@@ -1280,9 +1280,9 @@ dependencies = [
1280
1280
 
1281
1281
  [[package]]
1282
1282
  name = "regex-automata"
1283
- version = "0.4.16"
1283
+ version = "0.4.18"
1284
1284
  source = "registry+https://github.com/rust-lang/crates.io-index"
1285
- checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad"
1285
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
1286
1286
  dependencies = [
1287
1287
  "aho-corasick",
1288
1288
  "memchr",
@@ -1364,7 +1364,7 @@ checksum = "cc2215ce3e6a77550b80a1c37251b7d294febaf42e36e21b7b411e0bf54d540d"
1364
1364
  dependencies = [
1365
1365
  "log",
1366
1366
  "serde",
1367
- "thiserror 2.0.19",
1367
+ "thiserror 2.0.20",
1368
1368
  "xml",
1369
1369
  ]
1370
1370
 
@@ -1486,7 +1486,7 @@ dependencies = [
1486
1486
  "regex-syntax",
1487
1487
  "serde",
1488
1488
  "serde_derive",
1489
- "thiserror 2.0.19",
1489
+ "thiserror 2.0.20",
1490
1490
  "walkdir",
1491
1491
  ]
1492
1492
 
@@ -1528,11 +1528,11 @@ dependencies = [
1528
1528
 
1529
1529
  [[package]]
1530
1530
  name = "thiserror"
1531
- version = "2.0.19"
1531
+ version = "2.0.20"
1532
1532
  source = "registry+https://github.com/rust-lang/crates.io-index"
1533
- checksum = "09a43598840e33d5b0331f38c5e30d13bb11c11210a4b58f0d9b18a5a5eefcd9"
1533
+ checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
1534
1534
  dependencies = [
1535
- "thiserror-impl 2.0.19",
1535
+ "thiserror-impl 2.0.20",
1536
1536
  ]
1537
1537
 
1538
1538
  [[package]]
@@ -1548,9 +1548,9 @@ dependencies = [
1548
1548
 
1549
1549
  [[package]]
1550
1550
  name = "thiserror-impl"
1551
- version = "2.0.19"
1551
+ version = "2.0.20"
1552
1552
  source = "registry+https://github.com/rust-lang/crates.io-index"
1553
- checksum = "43cbfe0cf76104d42a574802844187e84a305e531ed54455f11fbde0f10541cd"
1553
+ checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
1554
1554
  dependencies = [
1555
1555
  "proc-macro2",
1556
1556
  "quote",
@@ -1637,9 +1637,9 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1637
1637
 
1638
1638
  [[package]]
1639
1639
  name = "wasm-bindgen"
1640
- version = "0.2.126"
1640
+ version = "0.2.127"
1641
1641
  source = "registry+https://github.com/rust-lang/crates.io-index"
1642
- checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4"
1642
+ checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
1643
1643
  dependencies = [
1644
1644
  "cfg-if",
1645
1645
  "once_cell",
@@ -1650,9 +1650,9 @@ dependencies = [
1650
1650
 
1651
1651
  [[package]]
1652
1652
  name = "wasm-bindgen-futures"
1653
- version = "0.4.76"
1653
+ version = "0.4.77"
1654
1654
  source = "registry+https://github.com/rust-lang/crates.io-index"
1655
- checksum = "c62df1340f32221cb9c54d6a27b030e3dba64361d4a95bed55f9aacb44da291d"
1655
+ checksum = "6b7777d5cc23d0e91404e53ce2d5e8ec7acae3026b16233dba62cd3246457950"
1656
1656
  dependencies = [
1657
1657
  "js-sys",
1658
1658
  "wasm-bindgen",
@@ -1660,9 +1660,9 @@ dependencies = [
1660
1660
 
1661
1661
  [[package]]
1662
1662
  name = "wasm-bindgen-macro"
1663
- version = "0.2.126"
1663
+ version = "0.2.127"
1664
1664
  source = "registry+https://github.com/rust-lang/crates.io-index"
1665
- checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1"
1665
+ checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
1666
1666
  dependencies = [
1667
1667
  "quote",
1668
1668
  "wasm-bindgen-macro-support",
@@ -1670,9 +1670,9 @@ dependencies = [
1670
1670
 
1671
1671
  [[package]]
1672
1672
  name = "wasm-bindgen-macro-support"
1673
- version = "0.2.126"
1673
+ version = "0.2.127"
1674
1674
  source = "registry+https://github.com/rust-lang/crates.io-index"
1675
- checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e"
1675
+ checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
1676
1676
  dependencies = [
1677
1677
  "bumpalo",
1678
1678
  "proc-macro2",
@@ -1683,18 +1683,18 @@ dependencies = [
1683
1683
 
1684
1684
  [[package]]
1685
1685
  name = "wasm-bindgen-shared"
1686
- version = "0.2.126"
1686
+ version = "0.2.127"
1687
1687
  source = "registry+https://github.com/rust-lang/crates.io-index"
1688
- checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24"
1688
+ checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
1689
1689
  dependencies = [
1690
1690
  "unicode-ident",
1691
1691
  ]
1692
1692
 
1693
1693
  [[package]]
1694
1694
  name = "wasm-bindgen-test"
1695
- version = "0.3.76"
1695
+ version = "0.3.77"
1696
1696
  source = "registry+https://github.com/rust-lang/crates.io-index"
1697
- checksum = "2a0d555ca874445df8d314f94f5c948a4e74e5418f332c89f660a3d8310a96f4"
1697
+ checksum = "895a2607575412a4eda1df892084a375ea10dfeadc4d7d2ab87b854e4ddc7ba1"
1698
1698
  dependencies = [
1699
1699
  "async-trait",
1700
1700
  "cast",
@@ -1714,9 +1714,9 @@ dependencies = [
1714
1714
 
1715
1715
  [[package]]
1716
1716
  name = "wasm-bindgen-test-macro"
1717
- version = "0.3.76"
1717
+ version = "0.3.77"
1718
1718
  source = "registry+https://github.com/rust-lang/crates.io-index"
1719
- checksum = "94eb68555b95bcea5e8cf4abe280b529049479fa995bfc23734af96a6aedc120"
1719
+ checksum = "4288cb0ebe215033bf949ae1fd046726daa4c32a157f24b9dc6ac387a52aa759"
1720
1720
  dependencies = [
1721
1721
  "proc-macro2",
1722
1722
  "quote",
@@ -1725,15 +1725,15 @@ dependencies = [
1725
1725
 
1726
1726
  [[package]]
1727
1727
  name = "wasm-bindgen-test-shared"
1728
- version = "0.2.126"
1728
+ version = "0.2.127"
1729
1729
  source = "registry+https://github.com/rust-lang/crates.io-index"
1730
- checksum = "c31d56021e873866c968588ed85ccdf56db5c426e44afdb4618c39895104b920"
1730
+ checksum = "33ff1c1b360982e93b6d8ea9c04836f71dba0817a16f91e229cf3a51bdd9d987"
1731
1731
 
1732
1732
  [[package]]
1733
1733
  name = "web-sys"
1734
- version = "0.3.103"
1734
+ version = "0.3.104"
1735
1735
  source = "registry+https://github.com/rust-lang/crates.io-index"
1736
- checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141"
1736
+ checksum = "c435338968042f4f59a557f690a253676d47ce13ceb55d70100e7facf6620a30"
1737
1737
  dependencies = [
1738
1738
  "js-sys",
1739
1739
  "wasm-bindgen",
@@ -1806,24 +1806,24 @@ dependencies = [
1806
1806
 
1807
1807
  [[package]]
1808
1808
  name = "xml"
1809
- version = "1.3.0"
1809
+ version = "1.4.0"
1810
1810
  source = "registry+https://github.com/rust-lang/crates.io-index"
1811
- checksum = "636f85e5ca6488e96401b61eb7de54f4e44755c988af0f52cf90230c312a1a89"
1811
+ checksum = "2f45bb2c13fec6a6cb4c0f76a7e94839e110a14ec803ec2940777a94c347bc52"
1812
1812
 
1813
1813
  [[package]]
1814
1814
  name = "zerocopy"
1815
- version = "0.8.55"
1815
+ version = "0.8.56"
1816
1816
  source = "registry+https://github.com/rust-lang/crates.io-index"
1817
- checksum = "b5a105cd7b140f6eeec8acff2ea38135d3cab283ada58540f629fe51e46696eb"
1817
+ checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb"
1818
1818
  dependencies = [
1819
1819
  "zerocopy-derive",
1820
1820
  ]
1821
1821
 
1822
1822
  [[package]]
1823
1823
  name = "zerocopy-derive"
1824
- version = "0.8.55"
1824
+ version = "0.8.56"
1825
1825
  source = "registry+https://github.com/rust-lang/crates.io-index"
1826
- checksum = "0fe976fb70c78cd64cccfe3a6fc142244e8a77b70959b30faf9d0ac37ee228eb"
1826
+ checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1"
1827
1827
  dependencies = [
1828
1828
  "proc-macro2",
1829
1829
  "quote",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "m-bus-parser"
3
- version = "0.4.1"
3
+ version = "0.4.2"
4
4
  edition = "2021"
5
5
  description = "A library for parsing M-Bus frames"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymbusparser
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Rust
@@ -222,6 +222,30 @@ An embedded example (Cortex-M) is in [`examples/cortex-m/`](./examples/cortex-m)
222
222
  | `annotated` | `-t annotated` | Byte-segment annotation envelope |
223
223
  | `annotated-text`| `-t annotated-text` | Human-readable byte annotations |
224
224
 
225
+ ### Naming and interoperability
226
+
227
+ The canonical JSON, YAML, CSV, table, Mermaid, Python, and WebAssembly outputs
228
+ share one vocabulary:
229
+
230
+ - JSON/YAML member names and annotation identifiers use `snake_case`.
231
+ - Link-layer functions use the M-Bus mnemonics (`RSP_UD`, `REQ_UD2`,
232
+ `SND_NKE`). Record functions, quantities, and data codings use the terms from
233
+ the M-Bus application-layer tables, such as `Instantaneous value`,
234
+ `Volume flow`, and `6-digit BCD`.
235
+ - `unit` is a single case-sensitive [UCUM](https://ucum.org/ucum) expression
236
+ when one is available, such as `W`, `Cel`, or `m3.h-1`.
237
+ - Complete temporal values use ISO 8601 notation. The parser does not invent a
238
+ timezone when a meter does not transmit one.
239
+ - Raw binary values use uppercase hexadecimal and fields containing them end
240
+ in `_hex`.
241
+
242
+ There is no common JSON schema shared by M-Bus parsers. These rules retain the
243
+ protocol vocabulary used by [M-Bus](https://m-bus.com/documentation-wired/06-application-layer)
244
+ and libmbus while keeping the structured formats predictable. The `xml` format
245
+ deliberately retains libmbus's established XML vocabulary and unit symbols for
246
+ compatibility. Formats whose names end in `-legacy` retain their historical
247
+ contracts.
248
+
225
249
  ---
226
250
 
227
251
  ## Protocol Coverage