Skip to content

Commit 7a1de5e

Browse files
author
Aayush Maini
committed
Make RustSbomDetector non-experimental
1 parent 11d1604 commit 7a1de5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.ComponentDetection.Detectors/rust/RustSbomDetector.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.ComponentDetection.Detectors.Rust;
1919
/// <summary>
2020
/// A unified Rust detector that orchestrates SBOM, CLI, and Crate parsing.
2121
/// </summary>
22-
public class RustSbomDetector : FileComponentDetector, IExperimentalDetector
22+
public class RustSbomDetector : FileComponentDetector
2323
{
2424
private const string CargoTomlFileName = "Cargo.toml";
2525
private const string CargoLockFileName = "Cargo.lock";
@@ -558,7 +558,7 @@ private async Task ProcessSbomFileAsync(ProcessRequest processRequest, Cancellat
558558
/// <param name="cancellationToken">A cancellation token to observe while waiting for the task to complete.</param>
559559
/// <returns>A task that represents the asynchronous operation.</returns>
560560
/// <remarks>
561-
/// This method delegates parsing to the <see cref="RustCliDetector"/> which executes the 'cargo metadata' command.
561+
/// This method delegates parsing to the <see cref="RustCliParser"/> which executes the 'cargo metadata' command.
562562
/// If the CLI parsing is successful, the method:
563563
/// <list type="bullet">
564564
/// <item><description>Adds all local package directories found in the workspace to the visited directories set to prevent duplicate processing.</description></item>
@@ -609,7 +609,7 @@ private async Task ProcessCargoTomlAsync(ProcessRequest processRequest, string d
609609
/// <remarks>
610610
/// This method performs the following steps:
611611
/// <list type="number">
612-
/// <item><description>Delegates parsing of the Cargo.lock file to the <see cref="RustCrateDetector"/>.</description></item>
612+
/// <item><description>Delegates parsing of the Cargo.lock file to the <see cref="RustCargoLockParser"/>.</description></item>
613613
/// <item><description>If parsing is successful and returns a lockfile version, records the version in telemetry.</description></item>
614614
/// <item><description>Checks if a corresponding Cargo.toml file exists in the same directory.</description></item>
615615
/// <item><description>If Cargo.toml exists, parses its workspace tables to extract member and exclude patterns.</description></item>

0 commit comments

Comments
 (0)