Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Aug 15, 2022
1 parent dc3a0b9 commit 2c5e2e8
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 50 deletions.
89 changes: 45 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cbfmt"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "A tool to format codeblocks inside markdown and org documents"
repository = "https://github.com/lukas-reineke/cbfmt"
Expand All @@ -24,10 +24,7 @@ tokio = { version = "1.20.0", features = ["macros", "fs", "rt-multi-thread"] }
toml = "0.5.9"
tree-sitter = "~0.20"
tree-sitter-md = "0.1.1"
tree-sitter-org = "1.0.1"

[patch.crates-io]
tree-sitter-org = { git = "https://github.com/milisims/tree-sitter-org" }
tree-sitter-org = "1.3.0"

[build-dependencies]
cc = "*"
2 changes: 1 addition & 1 deletion src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async fn run(
let formatter = formatter.iter().map(|f| f.to_owned()).collect();

ctx.input_hash = utils::get_hash(&content);
futures.push(tokio::spawn(async move {
futures.push_back(tokio::spawn(async move {
format(ctx, formatter, &content).await
}));
}
Expand Down

0 comments on commit 2c5e2e8

Please sign in to comment.