Skip to content

Comments

Introduce exposed API check#64

Merged
tcharding merged 2 commits intorust-bitcoin:masterfrom
nyonson:introduce-api-check
Feb 17, 2026
Merged

Introduce exposed API check#64
tcharding merged 2 commits intorust-bitcoin:masterfrom
nyonson:introduce-api-check

Conversation

@nyonson
Copy link
Collaborator

@nyonson nyonson commented Feb 12, 2026

I've appreciated this check over in rust-bitcoin and think it can help here as well. Initialing the api files in the first commit by running cargo rbmt api. Added the check to CI by extending the existing Lint job, I don't think we need to go testing the 20 parallel jobs limit anytime soon since these are all pretty quick. Bet let me know if there is a preferred job breakdown.

@nyonson nyonson force-pushed the introduce-api-check branch from f062253 to f5faebb Compare February 12, 2026 22:55
@tcharding
Copy link
Member

Why put it in the lint job instead of separately?

@tcharding tcharding mentioned this pull request Feb 16, 2026
@nyonson nyonson force-pushed the introduce-api-check branch from f5faebb to f7eca39 Compare February 17, 2026 00:19
@nyonson
Copy link
Collaborator Author

nyonson commented Feb 17, 2026

f7eca39: broke out the task into its own job following the pattern discussed in #65

justfile Outdated

# Update the exposed API files in api/.
[group('tools')]
update-api-files: _install-rbmt
Copy link
Member

Choose a reason for hiding this comment

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

In rust-bitcoin this is just check-api. Do you think its better like this? If so can we have an alias just uaf that matches just ulf

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hm, should probably just match rust-bitcoin huh? I was following the pattern in update-lock-files, but doesn't feel as strong a reason.

@nyonson nyonson force-pushed the introduce-api-check branch from f7eca39 to 6b70a27 Compare February 17, 2026 02:13
@nyonson
Copy link
Collaborator Author

nyonson commented Feb 17, 2026

6b70a27: rename to check-api to match rust-bitcoin convention

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 6b70a27

@tcharding tcharding merged commit c12a81b into rust-bitcoin:master Feb 17, 2026
12 checks passed
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.

2 participants