Cargo Features

sea-orm-cli = { version = "1.0.0-rc.5", default-features = false, features = ["codegen", "cli", "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


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


Legacy Runtime + TLS features


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


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


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


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-native-tls? runtime-actix-rustls? runtime-async-std-native-tls runtime-async-std-rustls? runtime-tokio-native-tls? runtime-tokio-rustls?