Cargo Features

Cherry has no features set by default.

[dependencies]
cherry = { version = "0.4.0", features = ["all", "macros", "migrate", "all-databases", "mysql", "postgres", "sqlite", "all-types", "bit-vec", "decimal", "bigdecimal", "bstr", "chrono", "git2", "ipnetwork", "json", "mac_address", "time", "uuid", "offline", "tls", "runtime-actix-native-tls", "runtime-actix-rustls", "runtime-async-std-native-tls", "runtime-async-std-rustls", "runtime-tokio-native-tls", "runtime-tokio-rustls"] }
default

These default features are set whenever cherry is added without default-features = false somewhere in the dependency tree.

Enables sqlx ^0.6.2

all = all-databases, all-types, tls
macros

Enables sqlx-macros of sqlx ^0.6.2

migrate

Enables migrate of sqlx ^0.6.2

all-databases all? = mysql, postgres, sqlite
mysql all-databases?

Enables mysql of cherry-derive and sqlx ^0.6.2

Affects cherry::mysql, insert_conflict::InsertConflict.replace_on_conflict

postgres all-databases?

Enables postgres of cherry-derive and sqlx ^0.6.2

Affects cherry::postgres, insert_conflict::InsertConflict.conflict_column, insert_conflict::InsertConflict.conflict_columns

sqlite all-databases?

Enables sqlite of cherry-derive and sqlx ^0.6.2

Affects cherry::sqlite, insert_conflict::InsertConflict.replace_on_conflict, insert_conflict::InsertConflict.conflict_column, insert_conflict::InsertConflict.conflict_columns

all-types all? = bigdecimal, bit-vec, bstr, chrono, decimal, git2, ipnetwork, json, mac_address, time, uuid
bit-vec all-types?

Enables bit-vec of sqlx ^0.6.2

decimal all-types?

Enables decimal of sqlx ^0.6.2

bigdecimal all-types?

Enables bigdecimal of sqlx ^0.6.2

bstr all-types?

Enables bstr of sqlx ^0.6.2

chrono all-types?

Enables chrono of sqlx ^0.6.2

git2 all-types?

Enables git2 of sqlx ^0.6.2

ipnetwork all-types?

Enables ipnetwork of sqlx ^0.6.2

json all-types?

Enables json of sqlx ^0.6.2

sqlx:

types

mac_address all-types?

Enables mac_address of sqlx ^0.6.2

time all-types?

Enables time of sqlx ^0.6.2

uuid all-types?

Enables uuid of sqlx ^0.6.2

offline

Enables offline of sqlx ^0.6.2

tls all?

Enables tls of sqlx ^0.6.2

runtime-actix-native-tls

Enables runtime-actix-native-tls of sqlx ^0.6.2

runtime-actix-rustls

Enables runtime-actix-rustls of sqlx ^0.6.2

runtime-async-std-native-tls

Enables runtime-async-std-native-tls of sqlx ^0.6.2

sqlx:

Legacy Runtime + TLS features

runtime-async-std-rustls

Enables runtime-async-std-rustls of sqlx ^0.6.2

runtime-tokio-native-tls

Enables runtime-tokio-native-tls of sqlx ^0.6.2

runtime-tokio-rustls

Enables runtime-tokio-rustls of sqlx ^0.6.2