Thanks to visit codestin.com
Credit goes to lib.rs

Adding expect_macro library as a dependency

Run this command in a terminal, in your project's directory:

cargo add expect_macro

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

expect_macro = "0.2.1"

The expect_macro library will be automatically available globally. Read the expect_macro library documentation.

Back to the crate overview.