Cargo Features
[dependencies]
serial_test = { version = "3.2.0", default-features = false, features = ["logging", "test_logging", "async", "file_locks", "docsrs"] }
- default = async, logging
-
These default features are set whenever
serial_test
is added without
somewhere in the dependency tree.default-features = false - logging default test_logging?
-
Switches on debug logging
Enables log
- test_logging = logging
-
Switches on debug with env_logger. Generally only needed by internal serial_test work.
Enables env_logger, test_logging of serial_test_derive
- async default
-
Enables async features (and requires the
futures
package)Enables futures, async of serial_test_derive
Affects
parallel_code_lock::local_async_parallel_core_with_return
,parallel_code_lock::local_async_parallel_core
,parallel_file_lock::fs_async_parallel_core_with_return
,parallel_file_lock::fs_async_parallel_core
,serial_code_lock::local_async_serial_core_with_return
,serial_code_lock::local_async_serial_core
,serial_file_lock::fs_async_serial_core_with_return
,serial_file_lock::fs_async_serial_core
… - file_locks
-
The file_locks feature unlocks the
file_serial
/file_parallel
macrosEnables fslock
- docsrs
-
Enables document-features