Cargo Features
soph has no features set by default.
[dependencies]
soph = { version = "0.24.0", features = ["full", "console", "http1", "http2", "queue", "schedule", "command-make", "command-migrate", "command-schedule", "command-server", "command-queue", "command-status", "commands", "color-eyre", "error-anyhow", "error-eyre", "auth", "cache-memory", "cache", "database", "hash", "http", "metrics", "opendal", "redis", "runtime", "storage", "tracing", "view", "support", "server", "middleware-asset", "middleware-auth", "middleware-body-limit", "middleware-catch-panic", "middleware-compression", "middleware-cors", "middleware-decompression", "middleware-fallback", "middleware-livereload", "middleware-metrics", "middleware-rate-limit", "middleware-request-id", "middleware-set-sensitive-request-headers", "middleware-timeout", "middleware-tracing", "middleware", "request-auth", "request-form", "requet-id", "request-multipart", "request-json", "request-path", "request-query", "request-validate", "request", "response-cookie", "response-json", "response-view", "response"] }
- full = commands, console, http1, schedule, server, support
- console command-make? command-migrate? command-queue? command-schedule? command-server? command-status? full?
-
service
Enables soph-console
Affects
soph::console
… - http1 full? = runtime
-
Enables http1 of soph-server
soph-server:
http
Affects
soph::http
… - http2 = runtime
-
Enables http2 of soph-server
Affects
soph::http
… - queue command-queue? = runtime
-
Enables soph-queue
Affects
soph::queue
… - schedule full? = runtime
-
Enables soph-schedule
Affects
soph::scheduling
… - command-make commands? = console
-
Enables command-make of soph-console
- command-migrate commands? = console
-
Enables command-migrate of soph-console
- command-schedule commands? = console
-
Enables command-schedule of soph-console
- command-server commands? = console
-
Enables command-server of soph-console
- command-queue commands? = console, queue
-
Enables command-queue of soph-console
- command-status commands? = console
-
Enables command-status of soph-console
- commands full? = command-make, command-migrate, command-queue, command-schedule, command-server, command-status
- 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
-
Enables soph-http
- metrics
-
Enables soph-metrics
- opendal
-
Enables soph-opendal
- redis support?
-
Enables soph-redis
- runtime http1? http2? queue? schedule? support? tracing?
-
Enables soph-runtime
- storage support?
-
Enables soph-storage
- tracing support? = runtime
-
Enables soph-tracing
- view response-view? support?
-
Enables soph-view
- support full? = auth, cache, database, hash, redis, runtime, storage, tracing, view
- server full? = middleware, request, response
-
http
- middleware-asset middleware?
-
http:middleware
Enables middleware-asset of soph-server
- middleware-auth middleware?
-
Enables middleware-auth of soph-server
- middleware-body-limit middleware?
-
Enables middleware-body-limit of soph-server
- middleware-catch-panic middleware?
-
Enables middleware-catch-panic of soph-server
- middleware-compression middleware?
-
Enables middleware-compression of soph-server
- middleware-cors middleware?
-
Enables middleware-cors of soph-server
- middleware-decompression middleware?
-
Enables middleware-decompression of soph-server
- middleware-fallback middleware?
-
Enables middleware-fallback of soph-server
- middleware-livereload middleware?
-
Enables middleware-livereload of soph-server
- middleware-metrics middleware?
-
Enables middleware-metrics of soph-server
- middleware-rate-limit middleware?
-
Enables middleware-rate-limit of soph-server
- middleware-request-id middleware?
-
Enables middleware-request-id of soph-server
- middleware-set-sensitive-request-headers middleware?
-
Enables middleware-set…request-headers of soph-server
- middleware-timeout middleware?
-
Enables middleware-timeout of soph-server
- middleware-tracing middleware?
-
Enables middleware-tracing of soph-server
- middleware server? = middleware-asset, middleware-auth, middleware-body-limit, middleware-catch-panic, middleware-compression, middleware-cors, middleware-decompression, middleware-fallback, middleware-livereload, middleware-metrics, middleware-rate-limit, middleware-request-id, middleware-set…request-headers, middleware-timeout, middleware-tracing
- request-auth request?
-
http:request
Enables request-auth of soph-server
- request-form request?
-
Enables request-form of soph-server
- requet-id request?
-
Enables request-id of soph-server
- request-multipart request?
-
Enables request-multipart of soph-server
- request-json request?
-
Enables request-json of soph-server
- request-path request?
-
Enables request-path of soph-server
- request-query request?
-
Enables request-query of soph-server
- request-validate request?
-
Enables request-validate of soph-server
- request server? = request-auth, request-form, request-json, request-multipart, request-path, request-query, request-validate, requet-id
-
http:response
Enables response-cookie of soph-server
- response-json response?
-
Enables response-json of soph-server
- response-view response? = view
-
Enables response-view of soph-server
- response server? = response-cookie, response-json, response-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.
- soph-cache cache-memory?
- soph-server http1? http2? middleware-asset? middleware-auth? middleware-body-limit? middleware-catch-panic? middleware-compression? middleware-cors? middleware-decompression? middleware-fallback? middleware-livereload? middleware-metrics? middleware-rate-limit? middleware-request-id? middleware-set…request-headers? middleware-timeout? middleware-tracing? request-auth? request-form? request-json? request-multipart? request-path? request-query? request-validate? requet-id? response-cookie? response-json? response-view?