Cargo Features
[dependencies]
jsonrpc-v2 = { version = "0.13.0", default-features = false, features = ["easy-errors", "actix-web-v1-integration", "actix-web-v2-integration", "actix-web-v3-integration", "actix-web-v4-integration", "hyper-integration", "macros"] }
- 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-v1-integration = actix-service-v04, actix-web-v1, bytes-v04, futures-v01
- 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, hyper, tower-service
-
Enables full of hyper ^0.14
hyper:
Easily turn it all on
Affects
factory::hyper
,jsonrpc-v2::BoxedHandler
,jsonrpc-v2::Hyper
… - macros = jsonrpc-v2-macros
-
Affects
jsonrpc-v2::exp
…
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.
- futures-v01 actix-web-v1-integration?
-
Enables futures ^0.1
- hyper hyper-integration?
-
Enables hyper ^0.14
- tower-service hyper-integration?
- jsonrpc-v2-macros macros?
- actix-web-v4 actix-web-v4-integration
-
Enables actix-web
Affects
factory::actix
,jsonrpc-v2::BoxedHandler
… - actix-web-v3 actix-web-v3-integration?
-
Enables actix-web ^3
Affects
factory::actix
,jsonrpc-v2::BoxedHandler
… - actix-web-v2 actix-web-v2-integration?
-
Enables actix-web ^2
Affects
factory::actix
,jsonrpc-v2::BoxedHandler
… - 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
- actix-web-v1 actix-web-v1-integration?
-
Enables actix-web ^1
Affects
factory::actix
,jsonrpc-v2::BoxedHandler
… - actix-service-v04 actix-web-v1-integration?
-
Enables actix-service ^0.4
- bytes-v04 actix-web-v1-integration?
-
Enables bytes ^0.4
- bytes-v05 actix-web-v2-integration? actix-web-v3-integration?
-
Enables bytes ^0.5
- bytes-v10 actix-web-v4-integration hyper-integration?
-
Enables bytes