1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-30 22:54:07 +00:00

Build script: replace string-based codegen with quote-based codegen

This commit is contained in:
cyqsimon
2025-07-08 18:32:39 +08:00
committed by Keith Hall
parent b387abea6b
commit fd12328293
3 changed files with 66 additions and 48 deletions

28
Cargo.lock generated
View File

@@ -141,6 +141,9 @@ dependencies = [
"path_abs",
"plist",
"predicates",
"prettyplease",
"proc-macro2",
"quote",
"regex",
"semver",
"serde",
@@ -149,6 +152,7 @@ dependencies = [
"serde_yaml",
"serial_test",
"shell-words",
"syn",
"syntect",
"tempfile",
"terminal-colorsaurus",
@@ -1163,10 +1167,20 @@ dependencies = [
]
[[package]]
name = "proc-macro2"
version = "1.0.92"
name = "prettyplease"
version = "0.2.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a"
dependencies = [
"proc-macro2",
"syn",
]
[[package]]
name = "proc-macro2"
version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [
"unicode-ident",
]
@@ -1182,9 +1196,9 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.38"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
@@ -1440,9 +1454,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "syn"
version = "2.0.95"
version = "2.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46f71c0377baf4ef1cc3e3402ded576dccc315800fbc62dfc7fe04b009773b4a"
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
dependencies = [
"proc-macro2",
"quote",