Info about a cargo dependency.
More...
|
| | CargoDependencySpec (String version, String gitRepo, String rev, String gitTag, String localPath, List< String > features) |
Info about a cargo dependency.
See org.lflang.target.property.CargoDependenciesProperty.
- Author
- Clément Fournier - TU Dresden, INSA Rennes
◆ CargoDependencySpec()
| org.lflang.generator.rust.CargoDependencySpec.CargoDependencySpec |
( |
String | version, |
|
|
String | gitRepo, |
|
|
String | rev, |
|
|
String | gitTag, |
|
|
String | localPath, |
|
|
List< String > | features ) |
|
package |
◆ equals()
| boolean org.lflang.generator.rust.CargoDependencySpec.equals |
( |
Object | o | ) |
|
◆ extractSpec()
◆ getFeatures()
| Set< String > org.lflang.generator.rust.CargoDependencySpec.getFeatures |
( |
| ) |
|
Returns the list of features that are enabled on the crate.
May be null.
◆ getGitRepo()
| String org.lflang.generator.rust.CargoDependencySpec.getGitRepo |
( |
| ) |
|
◆ getLocalPath()
| String org.lflang.generator.rust.CargoDependencySpec.getLocalPath |
( |
| ) |
|
Local path to the crate.
May be null.
◆ getRev()
| String org.lflang.generator.rust.CargoDependencySpec.getRev |
( |
| ) |
|
Returns the revision number to use with git/localPath.
◆ getTag()
| String org.lflang.generator.rust.CargoDependencySpec.getTag |
( |
| ) |
|
◆ getVersion()
| String org.lflang.generator.rust.CargoDependencySpec.getVersion |
( |
| ) |
|
The version.
May be null.
◆ parseAll()
| Map< String, CargoDependencySpec > org.lflang.generator.rust.CargoDependencySpec.parseAll |
( |
Element | element | ) |
|
|
static |
Parse the given element.
It must be a JSON map, whose keys are dependency names, and values are CargoDependencySpecs.
- Exceptions
-
◆ setGitRepo()
| void org.lflang.generator.rust.CargoDependencySpec.setGitRepo |
( |
String | gitRepo | ) |
|
◆ setLocalPath()
| void org.lflang.generator.rust.CargoDependencySpec.setLocalPath |
( |
String | localPath | ) |
|
◆ setRev()
| void org.lflang.generator.rust.CargoDependencySpec.setRev |
( |
String | rev | ) |
|
The documentation for this class was generated from the following file:
- /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/rust/CargoDependencySpec.java