Cargo Features
[dependencies]
jsonrpc-v2 = { version = "0.14.0-beta.0", default-features = false, features = ["easy-errors", "actix-web-v2-integration", "actix-web-v3-integration", "actix-web-v4-integration", "hyper-integration", "tower-service"] }
- default = actix-web-v4-integration
-
The
actix-web-v4-integration
feature is set by default wheneverjsonrpc-v2
is added without
somewhere in the dependency tree.default-features = false - easy-errors
- actix-web-v2-integration = actix-service-v1, actix-web-v2, bytes-v05
- actix-web-v3-integration = actix-service-v1, actix-web-v3, bytes-v05
- actix-web-v4-integration default = actix-service-v2, actix-web-v4, bytes-v10
- hyper-integration = bytes-v10, http-body-util, hyper
-
Enables hyper
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.
- hyper hyper-integration?
- tower-service implicit feature
-
Enables tower-service
tower-service:
Trait representing an asynchronous, request / response based, client or server
- actix-web-v4 actix-web-v4-integration
-
Enables actix-web
- actix-web-v3 actix-web-v3-integration?
-
Enables actix-web ^3
- actix-web-v2 actix-web-v2-integration?
-
Enables actix-web ^2
- actix-service-v1 actix-web-v2-integration? actix-web-v3-integration?
-
Enables actix-service ^1
- actix-service-v2 actix-web-v4-integration
-
Enables actix-service
- bytes-v05 actix-web-v2-integration? actix-web-v3-integration?
-
Enables bytes ^0.5
- bytes-v10 actix-web-v4-integration hyper-integration?
-
Enables bytes
- http-body-util hyper-integration?