The Rust Programming Language Forum
Setup database before running any of the test
help
alice
March 12, 2023, 9:58am
11
Tokio provides a synchronization primitive for this:
tokio::sync::OnceCell
5 Likes
Is it okay to use Mutex<bool>?
show post in topic
Related topics
Topic
Replies
Views
Activity
Test async function?
help
9
6997
July 16, 2021
How to run async from sync code?
help
3
2808
April 3, 2024
Using unsafe to set a DB pool reference
help
4
703
September 21, 2021
Testing Diesel Code
1
846
January 12, 2023
Noob needs help with an async closure problem ;)
help
7
804
August 7, 2022