Paralegal allows you to specify additional build options for dependencies. Those build options are specified in a file called Paralegal.toml. It uses the standard TOML syntax and should be placed in the root directory of the project you are analyzing, e.g. the same directory where the projects Cargo.toml is located.

Dependency Specific Configuration

You can set build options for specific dependencies via a [dep.{dependency name}] section. An example below shows enabling a rust feature in the time library.

# in Paralegal.toml that is placed in the same directory
# as the Cargo.toml for the project you are trying to analyze.

[dep.time]
rust_features = ["explicit_generic_args_with_impl_trait"]

Explanation of keys: