Cargo Features

TokioCronScheduler has no features set by default.

[dependencies]
tokio-cron-scheduler = { version = "0.10.2", features = ["signal", "has_bytes", "nats_storage", "postgres_storage", "postgres_native_tls", "postgres_openssl", "log", "tracing-subscriber"] }
signal

Enables signal of tokio

has_bytes nats_storage? postgres_storage? = prost, prost-build

Affects job::job_data_prost

nats_storage = has_bytes, nats
postgres_storage postgres_native_tls? postgres_openssl? = has_bytes, tokio-postgres
postgres_native_tls = postgres-native-tls, postgres_storage
postgres_openssl = postgres-openssl, postgres_storage
log

Enables log and log-always of tracing

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

prost has_bytes?

Enables prost ^0.11

tracing-subscriber implicit feature

Enables tracing-subscriber

tracing-subscriber:

Utilities for implementing and composing tracing subscribers

prost-build build has_bytes?

Enables prost-build ^0.11

nats nats_storage?

Enables nats ^0.24.1

postgres-native-tls postgres_native_tls?
postgres-openssl postgres_openssl?
tokio-postgres postgres_storage?