Skip to content

Commit

Permalink
cargo: bump all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeisler committed Mar 30, 2020
1 parent 624f382 commit 908b501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ appveyor = { repository = "mgeisler/version-sync" }
codecov = { repository = "mgeisler/version-sync" }

[dependencies]
pulldown-cmark = { version = "0.4, <0.5", default-features = false }
pulldown-cmark = { version = "0.7", default-features = false }
semver-parser = "0.9"
syn = { version = "1.0", features = ["full"] }
proc-macro2 = { version = "1.0", features = ["span-locations"] }
toml = "0.5"
url = "1.0, <2.0"
itertools = "0.8"
url = "2.0"
itertools = "0.9"
regex = "1.1"
4 changes: 2 additions & 2 deletions src/markdown_deps.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pulldown_cmark::{Event, Parser, Tag};
use pulldown_cmark::{CodeBlockKind::Fenced, Event, Parser, Tag};
use semver_parser::range::parse as parse_request;
use semver_parser::range::VersionReq;
use semver_parser::version::parse as parse_version;
Expand Down Expand Up @@ -63,7 +63,7 @@ fn find_toml_blocks(text: &str) -> Vec<CodeBlock<'_>> {
let mut code_blocks = Vec::new();
for (event, range) in parser.into_offset_iter() {
match event {
Event::Start(Tag::CodeBlock(ref lang)) if is_toml_block(lang) => {
Event::Start(Tag::CodeBlock(Fenced(ref lang))) if is_toml_block(lang) => {
let line_count = text[..range.start].lines().count();
let code_block = &text[range];
let start = 1 + code_block.find('\n').unwrap_or(0);
Expand Down

0 comments on commit 908b501

Please sign in to comment.