We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add feature of injecting all modules in a crate with a single line of code in root module: #![inject_mocks] Blocked: rust-lang/rust#41430
#![inject_mocks]
The text was updated successfully, but these errors were encountered:
rust-lang/rust#41430 is said to be solved, not fully or very elegant yet, but enough for Mocktopus. Unfortunately rust-lang/rust#47075 makes it unusable.
Sorry, something went wrong.
rust-lang/rust#47075 is solved, but some sub-issues of rust-lang/rust#41430 still block it, Syn panics during parsing.
This solution won't work because of #29. The only thing that could save this functionality would be some build.rs or Cargo tool.
build.rs
No branches or pull requests
Add feature of injecting all modules in a crate with a single line of code in root module:
#![inject_mocks]
Blocked: rust-lang/rust#41430
The text was updated successfully, but these errors were encountered: