Closed vkill closed 2 years ago
Hi @vkill Thank you for the contribution. If you don't mind, I'm going to hold off on this PR up until 0.6 beta 2 is released and chat with you about it then?
Hi @vkill 0.6 beta 2 has been updated. Can you kindly update your PR please?
Hi @vkill 0.6 beta 2 has been updated. Can you kindly update your PR please?
But I cannot test it now.
Compiling tokio-cron-scheduler v0.6.0-beta.2 (/path/tokio-cron-scheduler)
error[E0601]: `main` function not found in crate `lib`
--> examples/lib.rs:1:1
|
1 | / use std::time::Duration;
2 | | use tokio_cron_scheduler::{Job, JobScheduler};
3 | | use tracing::{error, info};
4 | |
... |
141 | | sched.shutdown();
142 | | }
| |_^ consider adding a `main` function to `examples/lib.rs`
And I have updated based on 0.6 beta 2.
Thank you @vkill
Hi @mvniekerk
Please ref BoxFuture
Please review it. thank you.