mvniekerk / tokio-cron-scheduler

Schedule tasks on Tokio using cron-like annotation
Apache License 2.0
453 stars 54 forks source link

There is no way to define and use customized job store #26

Closed gy0801151351 closed 2 years ago

gy0801151351 commented 2 years ago

The trait "MetaDataStorage", "NotificationStore" are not public to outer crates, and I cannot define my customized store.

mvniekerk commented 2 years ago

Hi @gy0801151351 Kindly update to 0.7.4. It should be made public now.

gy0801151351 commented 2 years ago

I am sorry about that, the super traits of "MetaDataStorage", "NotificationStore" are not public in version 0.7.4. Because I want to use your crate in my project, but I use neither postgresql nor nats to persist job store. Please help me makeing all of the related structs and traits public, thanks. I wish your crate support 3rd-party persistent solutions.