File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 continue-on-error : false
5959 - # test with the MSRV version
6060 test-arm : " Minimum Supported Rust Version"
61- rust-version : " 1.71.1 "
61+ rust-version : " 1.79 "
6262 continue-on-error : false
6363 - # test with the current nightly version (allowed to fail)
6464 test-arm : " Nightly"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ edition = "2021"
1212homepage = " https://cyclonedx.org/"
1313license = " Apache-2.0"
1414repository = " https://github.com/CycloneDX/cyclonedx-rust-cargo"
15- rust-version = " 1.71.1 "
15+ rust-version = " 1.79 "
1616
1717# Config for 'dist'
1818[workspace .metadata .dist ]
Original file line number Diff line number Diff line change @@ -964,7 +964,7 @@ impl GeneratedSbom {
964964/// This must be run **after** `cargo metadata` which will generate the `Cargo.lock` file
965965/// and make sure it's up to date.
966966fn locate_cargo_lock ( manifest_path : & Path ) -> Result < PathBuf , std:: io:: Error > {
967- let manifest_path = manifest_path . canonicalize ( ) ?;
967+ let manifest_path = std :: path :: absolute ( manifest_path ) ?;
968968 let ancestors = manifest_path. as_path ( ) . ancestors ( ) ;
969969
970970 for path in ancestors {
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ fn setup_logging(args: &Args) -> anyhow::Result<()> {
119119
120120fn locate_manifest ( args : & Args ) -> Result < PathBuf , io:: Error > {
121121 if let Some ( manifest_path) = & args. manifest_path {
122- let manifest_path = manifest_path . canonicalize ( ) ?;
122+ let manifest_path = std :: path :: absolute ( manifest_path ) ?;
123123 log:: info!(
124124 "Using manually specified Cargo.toml manifest located at: {}" ,
125125 manifest_path. to_string_lossy( )
You can’t perform that action at this time.
0 commit comments