Cargo Features
Transistor has no features set by default.
[dependencies]
transistor = { version = "2.1.1", features = ["time_as_str", "async", "mock"] }
- time_as_str
-
Affects
response::TxLogResponse.tx___tx_time
,response::EntityTxResponse.db___valid_time
,response::EntityTxResponse.tx___tx_time
,response::EntityHistoryElement.db___valid_time
,response::EntityHistoryElement.tx___tx_time
… - async = futures, tokio
-
Affects
response::QueryAsyncResponse
… - mock = mockito
-
Affects
http::ActionMock
…
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.
- mockito mock?
-
Enables mockito ^0.26
- futures async?
- tokio async?
-
Enables tokio ^0.2.22