Cargo Features

[dependencies]
database-schema = { version = "0.2.0", default-features = false, features = ["sqlx", "diesel", "macros", "runtime-async-std", "runtime-tokio", "sqlite", "mysql", "postgres", "native-tls", "rustls"] }
default = native-tls

The native-tls feature is set by default whenever database-schema is added without default-features = false somewhere in the dependency tree.

sqlx

Enables sqlx ^0.7

Affects database-schema::DatabaseSchema, database-schema::DatabaseSchemaBuilder, database-schema::generate

diesel

Enables diesel and diesel_migrations

Affects database-schema::DatabaseSchema, database-schema::DatabaseSchemaBuilder, database-schema::generate

macros

Affects database-schema::macros

runtime-async-std

Enables runtime-async-std of optional sqlx ^0.7 and async-std

this has to include default due to task::block_on usage

Affects database-schema::macros

runtime-tokio

Enables tokio, runtime-tokio of optional sqlx ^0.7

Affects database-schema::macros

sqlite

Enables sqlite of optional diesel, optional diesel_migrations, and optional sqlx ^0.7

Affects database-schema::DatabaseSchema, database-schema::DatabaseSchemaBuilder, database-schema::generate

mysql = percent-encoding, url

Enables mysql of optional diesel, optional diesel_migrations, and optional sqlx ^0.7

Affects database-schema::DatabaseSchema, database-schema::DatabaseSchemaBuilder, database-schema::generate

postgres = percent-encoding, url

Enables postgres of optional diesel and optional sqlx ^0.7

Affects database-schema::DatabaseSchema, database-schema::DatabaseSchemaBuilder, database-schema::generate

native-tls default

Enables tls-native-tls of optional sqlx ^0.7

sqlx:

TLS features

rustls

Enables tls-rustls of optional sqlx ^0.7

sqlx:

For backwards compatibility

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.

percent-encoding mysql? postgres?
url mysql? postgres?