Skip to content

Commit 4001afe

Browse files
committed
Switch to maintained yaml-rust2
1 parent 91ee0a5 commit 4001afe

6 files changed

Lines changed: 46 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 37 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ walkdir = "2"
116116
windows-sys ="0.61.2"
117117
winsafe = { version = "0.0.27", features = ["kernel"] }
118118
xdg = "3.0.0"
119-
yaml-rust = "0.4.5"
119+
yaml-rust2 = "0.9"
120120
zmq = "0.10.0"

crates/ark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ url.workspace = true
7171
uuid.workspace = true
7272
walkdir.workspace = true
7373
winsafe.workspace = true
74-
yaml-rust.workspace = true
74+
yaml-rust2.workspace = true
7575

7676
[dev-dependencies]
7777
ark_test.workspace = true

crates/ark/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ fn main() {
6565
let resource = Path::new("resources")
6666
.join("manifest")
6767
.join("ark-manifest.rc");
68-
embed_resource::compile_for_everything(resource, embed_resource::NONE).unwrap();
68+
embed_resource::compile_for_everything(resource, embed_resource::NONE)
69+
.manifest_optional()
70+
.unwrap();
6971

7072
cc::Build::new().file("src/debug.c").compile("debug");
7173
}

crates/ark/src/lsp/completions/sources/unique/comment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use tower_lsp::lsp_types::Documentation;
1515
use tower_lsp::lsp_types::InsertTextFormat;
1616
use tower_lsp::lsp_types::MarkupContent;
1717
use tower_lsp::lsp_types::MarkupKind;
18-
use yaml_rust::YamlLoader;
18+
use yaml_rust2::YamlLoader;
1919

2020
use crate::lsp::completions::completion_context::CompletionContext;
2121
use crate::lsp::completions::completion_item::completion_item;

crates/harp/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ fn main() {
2323
let resource = Path::new("resources")
2424
.join("manifest")
2525
.join("harp-manifest.rc");
26-
embed_resource::compile_for_everything(resource, embed_resource::NONE).unwrap();
26+
embed_resource::compile_for_everything(resource, embed_resource::NONE)
27+
.manifest_optional()
28+
.unwrap();
2729
}

0 commit comments

Comments
 (0)