mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-29 01:21:04 +00:00
[PR #1607] [MERGED] [FEATURE] Port 708 decoder encoding module to RUST #2319
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1607
Author: @IshanGrover2004
Created: 4/19/2024
Status: ✅ Merged
Merged: 5/29/2024
Merged by: @PunitLodha
Base:
master← Head:feature/708-decoder-encoding-module📝 Commits (8)
0e0a001feat: Adddecoder/encodingnew modulefc39970feat: Add encoding functions0d42f3efeat: Add conditional compilation to include Rust functionsb89cde1Merge branch 'CCExtractor:master' into feature/708-decoder-encoding-module37c74f2fix: conditional compilation logicb8a7fd6refactor: Use of match statement instead of if-else031ac7dfix: Calling C function for rustd79087efeat: Enablederive_defaultfeature📊 Changes
5 files changed (+60 additions, -1 deletions)
View changed files
📝
src/lib_ccx/ccx_decoders_708_encoding.c(+4 -0)📝
src/lib_ccx/ccx_decoders_708_encoding.h(+8 -1)📝
src/rust/build.rs(+2 -0)➕
src/rust/src/decoder/encoding.rs(+45 -0)📝
src/rust/src/decoder/mod.rs(+1 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
I have migrated the logic and functions from the lib_ccx/ccx_decoder_708_encoding.c file to Rust, located in decoder/encoding.rs. This conversion maintains the same functionality that was originally written in C, now implemented in Rust.
To know more See ccx_decoder_708_encoding.c and compare with File Changed in PR, they are both same
Background & Testing
cargo testis just seeing the rust code only.-without-rustthen only C code will work or else Rust code will build. And Yes I have manually tested that when compiling with rust src files, rust code is being used and giving the same result.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.