Skip to content

Async support#153

Draft
sinder38 wants to merge 3 commits intojprochazk:mainfrom
sinder38:main
Draft

Async support#153
sinder38 wants to merge 3 commits intojprochazk:mainfrom
sinder38:main

Conversation

@sinder38
Copy link

Work in Progress: Experimental Async Support

Async validation was deemed out of scope by the maintainer (see #83). This PR is an experimental async implementation.

Status

  • Early stage; minimal testing so far.
  • Some core functional (inner) is not supported

Notes

  • Inner does not currently work with async.

  • Implementation either relies on generics or duplicates parts of the sync validation logic, which may introduce maintenance issues.

  • The sync implementation is essentially unchanged; only the parent function now uses the ParentFn type.

  • Removed unused code:

    #[allow(dead_code)]
    pub options: Options,

Feedback would be helpful.

@sinder38 sinder38 marked this pull request as draft November 20, 2025 15:16
Remove unused module
Explanation: You are not using Validate::options with type Options field you are using Options struct itself
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