Cargo Features
shuttle-common has no features set by default.
[dependencies]
shuttle-common = { version = "0.49.0", features = ["axum", "claims", "display", "extract_propagation", "models", "persist", "sqlx", "service", "tonic", "tracing", "test-utils"] }
- axum claims?
-
Enables axum ^0.6.13
- claims = axum, bytes, headers, http-body, jsonwebtoken, models, opentelemetry, opentelemetry-http, pin-project, tower, tracing, tracing-opentelemetry
-
Affects
shuttle-common::claims
,shuttle-common::limits
… - display service? = comfy-table, crossterm
-
Affects
log::ColoredLevel
,log::format_event
… - extract_propagation = opentelemetry, opentelemetry-http, pin-project, tower, tracing-opentelemetry
-
Affects
shuttle-common::extract_propagation
… - models claims? = async-trait, reqwest, service
-
Affects
shuttle-common::models
… - persist = rand, sqlx
- sqlx persist?
-
Enables postgres and sqlite of sqlx ^0.7.1
- service models? = display, tracing, tracing-subscriber, uuid
-
Affects
shuttle-common::certificate
,shuttle-common::deployment
,shuttle-common::DeploymentId
,shuttle-common::log
… - tonic
-
Enables tonic ^0.10.2
- tracing claims? service?
-
Enables tracing
Affects
shuttle-common::tracing
… - test-utils = wiremock
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.
- async-trait models?
- bytes claims?
- comfy-table display?
-
Enables comfy-table ^6.2.0
- crossterm display?
-
Enables crossterm ^0.27.0
- headers claims?
-
Enables headers ^0.3.8
- http-body claims?
-
Enables http-body ^0.4.5
- jsonwebtoken claims?
- opentelemetry claims? extract_propagation?
-
Enables opentelemetry ^0.21.0
- opentelemetry-http claims? extract_propagation?
-
Enables opentelemetry-http ^0.10.0
- pin-project claims? extract_propagation?
- rand persist?
- reqwest models?
-
Enables reqwest ^0.11.13
- tower claims? extract_propagation?
-
Enables tower ^0.4.13
- tracing-opentelemetry claims? extract_propagation?
-
Enables tracing-opentelemetry ^0.22.0
- tracing-subscriber service?
- uuid service?
- wiremock test-utils?