📦 Update dependencies and enhance functionality for markdown rendering

The changes include updates to dependencies in `Cargo.lock` and `Cargo.toml`, along with enhancements to the markdown rendering script:

1. Added new dependencies: `reqwest` for HTTP requests and `rust_util` for utility functions.
2. Modified `main.rs` to support reading from both local files and URLs, improving flexibility.
3. Updated metadata files (`script-meta-v2.json` and `script-meta.json`) to reflect changes in script size and hash.

These updates expand the script's capabilities while ensuring compatibility with existing features.
This commit is contained in:
2026-04-12 23:59:23 +08:00
parent 1f052b8b32
commit 5ec214b923
6 changed files with 1777 additions and 20 deletions

View File

@@ -82,11 +82,11 @@
},
"md.rs": {
"script_name": "md.rs",
"script_length": 1131,
"script_sha256": "7e58d843fc03cb35eba917a4d1f32be55d4f66e24ef776769d7cd50b6ab3a5ba",
"script_length": 2081,
"script_sha256": "d4723b7f59bd9e805a4a482e3107f2f30ec70d24d8efb3717b7bc7008a1cc67b",
"script_full_url": "https://git.hatter.ink/rust-scripts/scriptbase/raw/branch/main/md-rs/src/main.rs",
"publish_time": 1775921621093,
"update_time": 1775921621093
"update_time": 1776009548379
},
"myip.rs": {
"script_name": "myip.rs",