mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 12:58:45 +08:00
Try to fix
This commit is contained in:
5
.github/workflows/github-pages.yml
vendored
5
.github/workflows/github-pages.yml
vendored
@@ -50,9 +50,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- name: Install Nightly Rust
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
|
||||
- name: Document
|
||||
run: |
|
||||
cargo doc --bins -vv || exit 1
|
||||
cargo doc --features unstable --bins -vv || exit 1
|
||||
- name: Add index files
|
||||
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
|
||||
|
||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -835,9 +835,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "msg_tool_macro"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d158bb2f378cef024c47e4d0b3a627536ad8615b6237b93684ad05a10404b00"
|
||||
checksum = "c194c0fd349cbd1c96b3771da400464a2f1f68b82335d0043a36d9326884c8db"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn",
|
||||
|
||||
@@ -26,7 +26,7 @@ markup5ever = { version = "0.35", optional = true }
|
||||
markup5ever_rcdom = { version = "0.35", optional = true }
|
||||
memchr = { version = "2.7", optional = true }
|
||||
mozjpeg = { version = "0.10", optional = true }
|
||||
msg_tool_macro = { version = "0.1.4" }
|
||||
msg_tool_macro = { version = "0.1.5" }
|
||||
overf = "0.1"
|
||||
png = { version = "0.17", optional = true }
|
||||
rand = { version = "0.9", optional = true }
|
||||
@@ -75,6 +75,7 @@ yaneurao-itufuru = ["yaneurao"]
|
||||
image = ["png"]
|
||||
image-jpg = ["mozjpeg"]
|
||||
image-webp = ["webp"]
|
||||
unstable = ["msg_tool_macro/unstable"]
|
||||
# utils feature
|
||||
utils-bit-stream = []
|
||||
utils-blowfish = ["byteorder"]
|
||||
|
||||
@@ -7,6 +7,8 @@ def filter_name(name):
|
||||
return False
|
||||
if name.startswith("all-"):
|
||||
return False
|
||||
if name == "unstable":
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "msg_tool_macro"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
edition = "2024"
|
||||
repository = "https://github.com/lifegpc/msg-tool"
|
||||
description = "A procedural macro for the msg-tool project."
|
||||
@@ -11,6 +11,7 @@ proc-macro = true
|
||||
|
||||
[features]
|
||||
artemis-arc = []
|
||||
unstable = []
|
||||
|
||||
[dependencies]
|
||||
syn = { version = "2", features = ["full"] }
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#![feature(doc_auto_cfg)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
#![cfg_attr(feature = "unstable", feature(doc_auto_cfg))]
|
||||
use proc_macro::TokenStream;
|
||||
use syn::parse::discouraged::Speculative;
|
||||
use syn::spanned::Spanned;
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
//! 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).
|
||||
#![feature(doc_auto_cfg)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
#![cfg_attr(feature = "unstable", feature(doc_auto_cfg))]
|
||||
pub mod ext;
|
||||
pub mod format;
|
||||
pub mod output_scripts;
|
||||
|
||||
Reference in New Issue
Block a user