Fix doc build in subproject

This commit is contained in:
2025-10-08 18:00:02 +08:00
parent 2701f990e4
commit 6ec138d90b
4 changed files with 7 additions and 7 deletions

6
Cargo.lock generated
View File

@@ -1364,16 +1364,16 @@ dependencies = [
"url", "url",
"utf16string", "utf16string",
"webp", "webp",
"windows-sys 0.59.0", "windows-sys 0.61.2",
"xml5ever", "xml5ever",
"zstd", "zstd",
] ]
[[package]] [[package]]
name = "msg_tool_macro" name = "msg_tool_macro"
version = "0.2.1" version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa96d947277cb22bbd1a9c82f0d5f371677b19e67b0ba0820154601aecb580f9" checksum = "1501aeba3591ee077f92da216cb3fa9a34677f3610c0eb322f8d5b364585fc46"
dependencies = [ dependencies = [
"quote", "quote",
"syn 2.0.106", "syn 2.0.106",

View File

@@ -30,7 +30,7 @@ markup5ever = { version = "0.35", optional = true }
markup5ever_rcdom = { version = "0.35", optional = true } markup5ever_rcdom = { version = "0.35", optional = true }
memchr = { version = "2.7", optional = true } memchr = { version = "2.7", optional = true }
mozjpeg = { version = "0.10", optional = true } mozjpeg = { version = "0.10", optional = true }
msg_tool_macro = { version = "0.2.1" } msg_tool_macro = { version = "0.2.9" }
num_cpus = { version = "1.17", optional = true } num_cpus = { version = "1.17", optional = true }
overf = "0.1" overf = "0.1"
pelite = { version = "0.10", optional = true } pelite = { version = "0.10", optional = true }
@@ -109,7 +109,7 @@ utils-str = []
utils-threadpool = ["num_cpus"] utils-threadpool = ["num_cpus"]
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
windows-sys = { version = "0", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] } windows-sys = { version = "0.61", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] }
[build-dependencies] [build-dependencies]
parse-size = "1.1" parse-size = "1.1"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "msg_tool_macro" name = "msg_tool_macro"
version = "0.2.1" version = "0.2.9"
edition = "2024" edition = "2024"
repository = "https://github.com/lifegpc/msg-tool" repository = "https://github.com/lifegpc/msg-tool"
description = "A procedural macro for the msg-tool project." description = "A procedural macro for the msg-tool project."

View File

@@ -1,4 +1,4 @@
#![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_auto_cfg))] #![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_cfg))]
use proc_macro::TokenStream; use proc_macro::TokenStream;
use syn::parse::discouraged::Speculative; use syn::parse::discouraged::Speculative;
use syn::spanned::Spanned; use syn::spanned::Spanned;