Cargo Features

spring-batch-rs has no features set by default.

[dependencies]
spring-batch-rs = { version = "0.2.1", features = ["tests-cfg", "full", "csv", "json", "rdbc-postgres", "rdbc-mysql", "rdbc-sqlite", "mongodb", "fake", "logger", "rdbc"] }
default

Include nothing by default

tests-cfg = full
full tests-cfg? = csv, fake, json, logger, mongodb, rdbc-mysql, rdbc-postgres, rdbc-sqlite

enable everything

csv full?

Enables csv

Affects item::csv

json full?

Affects item::json

rdbc-postgres full? = rdbc

Enables postgres of sqlx

Affects item::rdbc

rdbc-mysql full? = rdbc

Enables mysql of sqlx

rdbc-sqlite full? = rdbc

Enables sqlite of sqlx

mongodb full? = bson

With tokio-sync

Affects item::mongodb

fake full?

Enables fake and time

Affects item::fake

logger full?

Affects item::logger

rdbc rdbc-mysql? rdbc-postgres? rdbc-sqlite?

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.

sqlx rdbc-mysql? rdbc-postgres? rdbc-sqlite?
bson mongodb?