1 Commits

Author SHA1 Message Date
3973f3bb43 Fix compile issue 2025-08-14 19:30:35 +08:00
7 changed files with 10 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ jobs:
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
- name: Document - name: Document
run: | run: |
cargo doc --features unstable --document-private-items -vv || exit 1 cargo doc --features unstable --bins -vv || exit 1
- name: Add index files - name: Add index files
run: | run: |
echo '<!DOCTYPE HTML><html><head><script>window.location.href="msg_tool/"</script></head><body><a href="msg_tool/">Content Moved</a></body></html>' > target/doc/index.html echo '<!DOCTYPE HTML><html><head><script>window.location.href="msg_tool/"</script></head><body><a href="msg_tool/">Content Moved</a></body></html>' > target/doc/index.html

6
Cargo.lock generated
View File

@@ -796,7 +796,7 @@ dependencies = [
[[package]] [[package]]
name = "msg_tool" name = "msg_tool"
version = "0.1.4" version = "0.1.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"byteorder", "byteorder",
@@ -835,9 +835,9 @@ dependencies = [
[[package]] [[package]]
name = "msg_tool_macro" name = "msg_tool_macro"
version = "0.1.5" version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c194c0fd349cbd1c96b3771da400464a2f1f68b82335d0043a36d9326884c8db" checksum = "e18f79ab2d0d7a8685961a7d2007f53570ff988aa0d363503a190eef08c983a1"
dependencies = [ dependencies = [
"quote", "quote",
"syn", "syn",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "msg_tool" name = "msg_tool"
version = "0.1.4" version = "0.1.5"
edition = "2024" edition = "2024"
repository = "https://github.com/lifegpc/msg-tool" repository = "https://github.com/lifegpc/msg-tool"
description = "A command-line tool for exporting, importing, packing, and unpacking script files." description = "A command-line tool for exporting, importing, packing, and unpacking script files."
@@ -26,7 +26,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.1.5" } msg_tool_macro = { version = "0.1.6" }
overf = "0.1" overf = "0.1"
png = { version = "0.17", optional = true } png = { version = "0.17", optional = true }
rand = { version = "0.9", optional = true } rand = { version = "0.9", optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "msg_tool_macro" name = "msg_tool_macro"
version = "0.1.5" version = "0.1.6"
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,5 +1,4 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_auto_cfg))]
#![cfg_attr(feature = "unstable", feature(doc_auto_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;

View File

@@ -1,8 +1,7 @@
//! A Rust library for exporting, importing, packing, and unpacking script files. //! A Rust library for exporting, importing, packing, and unpacking script files.
//! //!
//! For more information, please visit the [GitHub repository](https://github.com/lifegpc/msg-tool). //! For more information, please visit the [GitHub repository](https://github.com/lifegpc/msg-tool).
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_auto_cfg))]
#![cfg_attr(feature = "unstable", feature(doc_auto_cfg))]
pub mod ext; pub mod ext;
pub mod format; pub mod format;
pub mod output_scripts; pub mod output_scripts;

View File

@@ -1,3 +1,4 @@
#![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_auto_cfg))]
pub mod args; pub mod args;
pub mod ext; pub mod ext;
pub mod format; pub mod format;