mockall
A powerful mock object library for Rust (by asomers)
serverless-rust-demo
Sample serverless application written in Rust (by aws-samples)
mockall | serverless-rust-demo | |
---|---|---|
3 | 7 | |
1,354 | 242 | |
- | 0.0% | |
7.8 | 0.0 | |
12 days ago | about 2 years ago | |
Rust | Rust | |
Apache License 2.0 | MIT No Attribution |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mockall
Posts with mentions or reviews of mockall.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-17.
-
Iterating on Testing in Rust
I use the mockall crate myself, which works rather well. It does however mean that you need to generally write your code as traits, and pass them around as traits.
https://github.com/asomers/mockall
-
AMA with Bastian Gruber: Ask your questions!
- Mocking: Have a look at mockall: https://github.com/asomers/mockall
-
Rust - 6 months and counting
Fortunately for me, there is an excellent crate Mockall maintained by angels and with the owner Alan Somers pretty active in helping the community when a question arises.
serverless-rust-demo
Posts with mentions or reviews of serverless-rust-demo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-31.
- Rust on AWS Lambda project structure
-
Rust - 6 months and counting
Rust
- My Method for Deploying Rust Lambdas
- How do you deploy your Rust Lambdas in AWS?
- What is your deployment scheme for Rust Lambdas?
-
Misadventures Playing in Rust on AWS Lambda
During all of this I had an AWS Solutions Architect guided me through my pitfalls. Nicolas Moutschen has a fully realized version of what I was prototyping sitting in a pull request to the AWS SAM CLI, and a much larger and more comprehensive Rust application available here.
- My Ideal DX for Rust on AWS Lambda
What are some alternatives?
When comparing mockall and serverless-rust-demo you can also consider the following projects:
serverless-python-demo - Sample serverless application written in Python
aws-sam-cli-app-templates
serverless-groovy-demo
cargo-zigbuild - Compile Cargo project with zig as linker
serverless-kotlin-demo
serverless-go-demo - Sample serverless application written in Golang
serverless-graalvm-demo - Sample serverless application written in Java compiled with GraalVM native-image
yam-rs
aws-lambda-rust-runtime - A Rust runtime for AWS Lambda
mockall vs serverless-python-demo
serverless-rust-demo vs aws-sam-cli-app-templates
mockall vs serverless-groovy-demo
serverless-rust-demo vs cargo-zigbuild
mockall vs serverless-kotlin-demo
serverless-rust-demo vs serverless-python-demo
mockall vs serverless-go-demo
serverless-rust-demo vs serverless-kotlin-demo
mockall vs serverless-graalvm-demo
serverless-rust-demo vs serverless-go-demo
mockall vs yam-rs
serverless-rust-demo vs aws-lambda-rust-runtime