Skip to content

Commit 0eea80f

Browse files
Update dependencies, and fix doc link
1 parent a56e378 commit 0eea80f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ members = ["gdnative-doc-cli", "examples/dijkstra-map-gd"]
1313
default-members = [".", "gdnative-doc-cli"]
1414

1515
[dependencies]
16-
cargo_metadata = "0.12"
16+
cargo_metadata = "0.13"
1717
log = { version = "0.4", features = ["std"] }
1818
pulldown-cmark = { version = "0.8", default-features = false }
1919
serde = { version = "1.0", default-features = false, features = ["derive"] }
20-
simplelog = { version = "0.9", optional = true }
20+
simplelog = { version = "0.10", optional = true }
2121
syn = { version = "1.0", default-features = false, features = ["parsing", "full", "visit"] }
2222
thiserror = "1.0"
2323
toml = "0.5"

src/backend/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub struct Generator<'a> {
114114
/// Control if an opening comment with meta-information should ba added to
115115
/// generated files.
116116
///
117-
/// See [`ConfigFile::opening_comment`]
117+
/// See [`ConfigFile::opening_comment`](crate::ConfigFile::opening_comment)
118118
pub opening_comment: bool,
119119
}
120120

src/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ fn find_root_file(package_name: Option<&str>) -> Result<(String, PathBuf)> {
181181
.into_iter()
182182
.find(|target| target.kind.iter().any(|kind| kind == "cdylib"))
183183
{
184-
root_files.push((package.name, target.src_path))
184+
root_files.push((package.name, target.src_path.into()))
185185
}
186186
}
187187
}

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ pub fn init_logger(level: LevelFilter) -> Result<()> {
8787
level,
8888
simplelog::Config::default(),
8989
simplelog::TerminalMode::Stderr,
90+
simplelog::ColorChoice::Auto,
9091
)?;
9192
Ok(())
9293
}

0 commit comments

Comments
 (0)