cucumber_thirtyfour_worlder_docref/lib.rs
1use cucumber;
2use serde_json;
3use thirtyfour;
4
5/// Example of a struct for a world derived with the [`#[worlder]`][worlder] macro.
6///
7/// It should not be used directly, because you will not be able to specify the versions
8/// of `thirtyfour` and `cucumber` to use in your tests.
9///
10/// Instead, derive your own world struct using the [`#[worlder]`][worlder] macro with:
11///
12/// ```rust,ignore
13/// use cucumber_thirtyfour_worlder::worlder;
14///
15/// #[worlder]
16/// pub struct AppWorld;
17/// ```
18///
19/// [worlder]: https://docs.rs/cucumber-thirtyfour-worlder/latest/cucumber_thirtyfour_worlder/attr.worlder.html
20#[cucumber_thirtyfour_worlder::worlder(
21 check_concurrency_cli_option_when_firefox = true,
22 cucumber = cucumber,
23 thirtyfour = thirtyfour,
24 serde_json = serde_json,
25)]
26pub struct AppWorld;