Skip to content

Add macros that can sort arbitrary types - #78

Merged
JSorngard merged 28 commits into
mainfrom
macro_sort
Sep 6, 2026
Merged

Add macros that can sort arbitrary types#78
JSorngard merged 28 commits into
mainfrom
macro_sort

Conversation

@JSorngard

@JSorngard JSorngard commented Sep 3, 2026

Copy link
Copy Markdown
Owner

These macros make a user of the crate able to sort arrays and slices of any type.

@JSorngard JSorngard added the enhancement New feature or request label Sep 3, 2026
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.79447% with 227 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.94%. Comparing base (1d16379) to head (4d95f34).

Files with missing lines Patch % Lines
src/primitives.rs 74.05% 123 Missing ⚠️
src/lib.rs 0.95% 104 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #78       +/-   ##
===========================================
- Coverage   74.89%   54.94%   -19.96%     
===========================================
  Files           1        2        +1     
  Lines         490      668      +178     
===========================================
  Hits          367      367               
- Misses        123      301      +178     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@JSorngard JSorngard changed the title Implement the first version of the const_sort_array! macro Implement the first version of the const_sort_*_by! macros Sep 3, 2026
@JSorngard JSorngard changed the title Implement the first version of the const_sort_*_by! macros Implement the const_sort_*_by! macros Sep 3, 2026
@JSorngard JSorngard changed the title Implement the const_sort_*_by! macros Add macros that can sort arbitrary types Sep 4, 2026
@JSorngard
JSorngard marked this pull request as ready for review September 5, 2026 12:30
@JSorngard
JSorngard merged commit 5aaa24d into main Sep 6, 2026
19 of 21 checks passed
@JSorngard
JSorngard deleted the macro_sort branch September 6, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant