Cargo Features
[dependencies]
soph = { version = "0.28.1", default-features = false, features = ["full", "console", "color-eyre", "error-anyhow", "error-eyre", "auth", "cache-memory", "cache", "database", "hash", "http", "mail", "metrics", "redis", "storage", "tracing", "view", "support"] }
- default = console
-
The
console
feature is set by default wheneversoph
is added without
somewhere in the dependency tree.default-features = false - full = support
- console default
-
Enables command-new of soph-console
Required by the binary
- color-eyre
-
error
Enables color-eyre of soph-core
- error-anyhow
-
soph-core:
error
- error-eyre
- auth support?
-
support
Enables soph-auth
optional
- cache-memory cache?
-
Enables memory of soph-cache
- cache support? = cache-memory
- database support?
-
Enables soph-database
- hash support?
-
Enables soph-hash
- http support?
-
Enables soph-http
- mail support?
-
Enables soph-mail
- metrics support?
-
Enables soph-metrics
- redis support?
-
Enables soph-redis
- storage support?
-
Enables soph-storage
- tracing support?
-
Enables soph-tracing
- view support?
-
Enables soph-view
- support full? = auth, cache, database, hash, http, mail, metrics, redis, storage, tracing, view
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.