Skip to content

Hide rust module#321

Merged
javiermtorres merged 3 commits intomainfrom
298-module-structure
Mar 11, 2026
Merged

Hide rust module#321
javiermtorres merged 3 commits intomainfrom
298-module-structure

Conversation

@javiermtorres
Copy link
Contributor

The rust module has a hidden (_) name under the top module encoderfile. Furthermore, after importing the definitions the submodule entry is deleted. The pytest and stubtest tests both pass. @besaleli Wdyt?

Closes #298

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@besaleli besaleli self-requested a review March 11, 2026 13:19
Copy link
Member

@besaleli besaleli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i love it + works on my end!! light preference that we name the rust module _core (typical of pyo3 projects at least a couple years ago) and don't del at the end

@javiermtorres javiermtorres merged commit f91b7f6 into main Mar 11, 2026
3 checks passed
@javiermtorres javiermtorres deleted the 298-module-structure branch March 11, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up module structure

3 participants