Cargo Features
[dependencies]
indigo = { version = "0.1.3", default-features = false, features = ["cli", "dotenv", "fs-watch", "graphics", "idn", "logger", "postgres", "runtime", "tokio-compat", "window"] }
- default = cli, logger, runtime
-
These default features are set whenever
indigo
is added without
somewhere in the dependency tree.default-features = false - cli default = structopt
-
Affects
indigo::cli
… - dotenv = dotenv_crate
-
Enables dotenv of indigo-proc-macros
Affects
env::load_dotenv
,env::load_dotenv_from
… - fs-watch = notify
- graphics = gfx-backend, gfx-descriptor, gfx-hal
-
Affects
indigo::graphics
… - idn = unicode-xid
-
Affects
encoding::idn
… - logger default
-
Enables logger of indigo-proc-macros
- postgres = bytes, native-tls, postgres-native-tls, tokio-compat, tokio-postgres
-
Affects
indigo::postgres
… - runtime default window? = easy-parallel, num_cpus
-
Affects
indigo::runtime
… - tokio-compat postgres?
-
Enables rt-threaded of tokio ^0.2
- window = runtime, winit
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.
- dotenv_crate dotenv?
-
Enables dotenv
- easy-parallel runtime
- gfx-descriptor graphics?
- gfx-hal graphics?
-
Enables gfx-hal ^0.6
- notify fs-watch?
-
Enables notify ^4
- num_cpus runtime
- structopt cli
-
Enables indigo-structopt
- tokio tokio-compat?
-
Enables tokio ^0.2
- unicode-xid idn?
- winit window?
-
Enables winit ^0.22
- bytes postgres?
-
Enables bytes ^0.5
- native-tls postgres?
- postgres-native-tls postgres?
-
Enables postgres-native-tls ^0.3
- tokio-postgres postgres?
-
Enables tokio-postgres ^0.5
- gfx-backend win mac linux graphics?
-
Enables gfx-backend-vulkan ^0.6