[PR #1360] [MERGED] [Rust] Add few commands and refactor the code #2133

Open
opened 2026-01-29 17:20:28 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1360
Author: @PunitLodha
Created: 7/7/2021
Status: Merged
Merged: 7/10/2021
Merged by: @cfsmp3

Base: masterHead: rust_updates


📝 Commits (5)

  • fb7f73e add handlers for CLW, HDW, TGW, DLW, and CR
  • 5a2c973 refactor rust code
  • 3b40731 fix clippy warnings
  • aeb2a5b add ccxr_ prefix to rust functions
  • cb76fef Add SPA, SPC, SPL and CWx commands

📊 Changes

9 files changed (+844 additions, -255 deletions)

View changed files

📝 src/lib_ccx/ccx_decoders_common.c (+6 -6)
📝 src/lib_ccx/params.c (+2 -2)
📝 src/rust/build.rs (+26 -4)
📝 src/rust/src/decoder/commands.rs (+1 -1)
📝 src/rust/src/decoder/mod.rs (+95 -238)
src/rust/src/decoder/service_decoder.rs (+609 -0)
src/rust/src/decoder/window.rs (+13 -0)
📝 src/rust/src/lib.rs (+88 -3)
📝 src/rust/wrapper.h (+4 -1)

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

Added handlers for CLW, HDW, TGW, DLW, and CR, and did some refactoring


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1360 **Author:** [@PunitLodha](https://github.com/PunitLodha) **Created:** 7/7/2021 **Status:** ✅ Merged **Merged:** 7/10/2021 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `rust_updates` --- ### 📝 Commits (5) - [`fb7f73e`](https://github.com/CCExtractor/ccextractor/commit/fb7f73e9ecc1525708a65454419ec8dc85e450fa) add handlers for CLW, HDW, TGW, DLW, and CR - [`5a2c973`](https://github.com/CCExtractor/ccextractor/commit/5a2c9734931f2d130d14886b06ce796dd60655ae) refactor rust code - [`3b40731`](https://github.com/CCExtractor/ccextractor/commit/3b407318da783b4d490eb477f82d2400f97896c1) fix clippy warnings - [`aeb2a5b`](https://github.com/CCExtractor/ccextractor/commit/aeb2a5bca895a630cd9d575b95b2bc8c2f55ca3e) add ccxr_ prefix to rust functions - [`cb76fef`](https://github.com/CCExtractor/ccextractor/commit/cb76feff7e8ec22f504e237baa25320f98b244bc) Add SPA, SPC, SPL and CWx commands ### 📊 Changes **9 files changed** (+844 additions, -255 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_decoders_common.c` (+6 -6) 📝 `src/lib_ccx/params.c` (+2 -2) 📝 `src/rust/build.rs` (+26 -4) 📝 `src/rust/src/decoder/commands.rs` (+1 -1) 📝 `src/rust/src/decoder/mod.rs` (+95 -238) ➕ `src/rust/src/decoder/service_decoder.rs` (+609 -0) ➕ `src/rust/src/decoder/window.rs` (+13 -0) 📝 `src/rust/src/lib.rs` (+88 -3) 📝 `src/rust/wrapper.h` (+4 -1) </details> ### 📄 Description <!-- Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. --> **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [ ] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [ ] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [x] I am an active contributor to CCExtractor. Added handlers for CLW, HDW, TGW, DLW, and CR, and did some refactoring --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:20:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2133