Skip to content
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

feat(HookExt): Add extended hook functionality with custom deny lists #190

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

baoyachi
Copy link
Owner

  • Added HookExt trait to provide extended hook functionality.
  • Implemented HookExt for functions, tuples, and ShadowHook struct.
  • Each implementation provides methods to return the default deny list and the inner hook function.

This change allows more flexible handling of hooks and deny lists, enabling better customization and control over the hook behavior.

- Added `HookExt` trait to provide extended hook functionality.
- Implemented `HookExt` for functions, tuples, and `ShadowHook` struct.
- Each implementation provides methods to return the default deny list and the inner hook function.

This change allows more flexible handling of hooks and deny lists, enabling better customization and control over the hook behavior.
@baoyachi baoyachi merged commit 909510e into master Nov 14, 2024
16 of 18 checks passed
@baoyachi baoyachi deleted the hook_ext branch November 14, 2024 02:11
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.

1 participant