Skip to main content
Skip table of contents

Rust Parameters

Cargo

Configuration File Parameter

Description and Expected Behavior

If True

If False

Default

Command Line Parameter Available?

cargo.resolveDependencies 

Whether to resolve cargo dependencies. Cargo.toml should exist in the scanned directory.

Resolves cargo dependencies.

Will not resolve cargo dependencies.

True
(except for when resolveAllDependencies=false

No

cargo.runPreStep  

Searches for Cargo.toml and if found, runs "cargo build" on your project's root folder.

Runs "cargo build" on your project's root folder.

Will not run cargo build" on your project's root folder.

False

No

cargo.ignoreSourceFiles  

When using the dependency resolver, it will only include package dependencies, not .rs files.

NOTE: Only relevant when fileSystemScan is true.

When using the dependency resolver, it will only scan all package dependencies, not .rs files.

The Unified Agent will only scan .rs files

True

No

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.