Cargo Features

[dependencies]
sea-orm-cli = { version = "1.1.2", default-features = false, features = ["codegen", "cli", "runtime-actix", "runtime-async-std", "runtime-tokio", "runtime-actix-native-tls", "runtime-async-std-native-tls", "runtime-tokio-native-tls", "runtime-actix-rustls", "runtime-async-std-rustls", "runtime-tokio-rustls", "async-std"] }
default = async-std, cli, codegen, runtime-async-std-native-tls

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

codegen default = sea-orm-codegen

Enables sqlx-all of sea-schema

Affects cli::main, commands::generate

Required by sea and sea-orm-cli binaries

cli default = clap, dotenvy

Affects migrate::run_migrate_command, sea-orm-cli::cli

Required by sea and sea-orm-cli binaries

runtime-actix

Enables runtime-actix of sea-schema, runtime-tokio of sqlx

runtime-async-std

Enables runtime-async-std of sea-schema and sqlx

sqlx:

Base runtime features without TLS

runtime-tokio

Enables runtime-tokio of sea-schema and sqlx

runtime-actix-native-tls

Enables runtime-actix-native-tls of sea-schema, runtime-tokio-native-tls of sqlx

runtime-async-std-native-tls default

Enables runtime-async-std-native-tls of sea-schema and sqlx

sqlx:

Legacy Runtime + TLS features

runtime-tokio-native-tls

Enables runtime-tokio-native-tls of sea-schema and sqlx

runtime-actix-rustls

Enables runtime-actix-rustls of sea-schema, runtime-tokio-rustls of sqlx

runtime-async-std-rustls

Enables runtime-async-std-rustls of sea-schema and sqlx

runtime-tokio-rustls

Enables runtime-tokio-rustls of sea-schema and sqlx

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.

clap cli
dotenvy cli
async-std default
sea-orm-codegen codegen
sqlx runtime-actix? runtime-actix-native-tls? runtime-actix-rustls? runtime-async-std? runtime-async-std-native-tls runtime-async-std-rustls? runtime-tokio? runtime-tokio-native-tls? runtime-tokio-rustls?