-
Notifications
You must be signed in to change notification settings - Fork 513
2730 rust refactor pii_filter to own crate #2737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
836db0d to
fccb1ed
Compare
fccb1ed to
65b0313
Compare
Signed-off-by: lucarlig <[email protected]>
65b0313 to
57fc5e8
Compare
|
Excellent refactoring work, @lucarlig! The workspace structuring is clean — proper metadata inheritance, backward-compatible re-export, and the PyO3 0.28 migration is consistently applied. The let-chain refactoring using Rust 2024 edition features improves readability nicely. One question: the subcrate's Minor: small typo in the Makefile help output — trailing period and space after |
57fc5e8 to
1abac4d
Compare
Signed-off-by: lucarlig <[email protected]>
1abac4d to
0ddcda8
Compare
Signed-off-by: lucarlig <[email protected]>
|
@crivetimihai thanks for review, i removed outdated/broken integration tests, there is issue #2730 for rewriting in python and this will allow me start setting up the CI as well. cleaned up unnecessary files now should be better, completely removed the |
fb5290c to
7fd28d5
Compare
Signed-off-by: lucarlig <[email protected]>
c90fb6f to
5cbac8d
Compare
Signed-off-by: lucarlig <[email protected]>
5cbac8d to
86ffd39
Compare
|
@crivetimihai should be all good now, final review and merge, I also fixed the CI. |
🔗 Related Issue
#2730 (partial close - first checklist item)
📝 Summary
Refactored
pii_filterfrom a module within theplugins_rustcrate into a standalone workspace subcrate. This improves modularity, enables independent versioning, and simplifies the build process for the PII filter plugin.Changes:
pii_filtermodule toplugins_rust/pii_filter/as a workspace memberCargo.tomlandMakefilefor the subcrateCargo.tomlandMakefileto reference the new subcratetrim_left_matches→trim_start_matches,trim_right_matches→trim_end_matches)downcast,blackbox🏷️ Type of Change
🧪 Verification
make lintmake testmake coverage✅ Checklist
make black isort pre-commit)📓 Notes
This PR completes the first item of issue #2730: "move pii_filter to a subcrate including fixing Makefiles etc". The subcrate now has its own build configuration and can be developed/tested independently while remaining part of the workspace.
The refactor maintains all existing functionality while improving the project structure for better maintainability and future extensibility.
Coverage for
pii_filterneed to be handled in a new pr for #1620 where also performance improvements can be investigated.The integration tests was broken and needs to be rewritten using new version of pyo3 this can be done together with the second task of #2730 once the bridge is ready.