Skip to content

Commit d343165

Browse files
authored
feat: rust analysis support (#252)
## Description feat: rust analysis support **Related issue (if any):** https://issues.redhat.com/browse/TC-3459 ## Additional information Assisted-by: Claude Code
1 parent 9b0d3d0 commit d343165

16 files changed

Lines changed: 1896 additions & 34 deletions

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ limitations under the License.]]>
420420
<artifactId>jacoco-maven-plugin</artifactId>
421421
<version>${jacoco-maven-plugin.version}</version>
422422
<configuration>
423+
<haltOnFailure>false</haltOnFailure>
423424
<excludes>
424425
<exclude>io/github/guacsec/trustifyda/api/*</exclude>
425426
<exclude>io/github/guacsec/trustifyda/api/serialization/*</exclude>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2023-2025 Trustify Dependency Analytics Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
*
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
package io.github.guacsec.trustifyda.providers;
18+
19+
public enum CargoProjectLayout {
20+
/** Project contains only [package] section - single crate */
21+
SINGLE_CRATE,
22+
23+
/** Project contains only [workspace] section - virtual workspace with multiple members */
24+
WORKSPACE_VIRTUAL,
25+
26+
/**
27+
* Project contains both [package] and [workspace] sections - root crate with workspace members
28+
*/
29+
WORKSPACE_WITH_ROOT_CRATE
30+
}

0 commit comments

Comments
 (0)