Update dependencies, fix up Cargo.toml

This commit is contained in:
2025-07-21 00:35:31 -07:00
parent e8fa45fc3b
commit d699340ec8
3 changed files with 6 additions and 9 deletions
Generated
+2 -2
View File
@@ -10,9 +10,9 @@ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
[[package]] [[package]]
name = "castaway" name = "castaway"
version = "0.2.3" version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
dependencies = [ dependencies = [
"rustversion", "rustversion",
] ]
+2 -5
View File
@@ -1,6 +1,8 @@
[package] [package]
name = "marzipan" name = "marzipan"
description = "A macro processor for ZZT worlds" description = "A macro processor for ZZT worlds"
keywords = ["zzt", "gamedev"]
categories = ["compilers", "command-line-utilities"]
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license = "MIT" license = "MIT"
@@ -12,7 +14,6 @@ repository = "https://github.com/cmounce/marzipan"
anyhow = "1.0.86" anyhow = "1.0.86"
codepage-437 = "0.1.0" codepage-437 = "0.1.0"
mzp-peg-macro = { path = "./mzp_peg_macro", version = "0.1.0" } mzp-peg-macro = { path = "./mzp_peg_macro", version = "0.1.0" }
insta = "1.39.0"
nom = "8.0.0" nom = "8.0.0"
compact_str = "0.9.0" compact_str = "0.9.0"
rustc-hash = "2.1.1" rustc-hash = "2.1.1"
@@ -25,9 +26,5 @@ insta = "1.39.0"
insta.opt-level = 3 insta.opt-level = 3
similar.opt-level = 3 similar.opt-level = 3
[[bin]]
name = "marzipan"
path = "src/main.rs"
[workspace] [workspace]
members = [".", "mzp_peg_macro"] members = [".", "mzp_peg_macro"]
+2 -2
View File
@@ -21,7 +21,7 @@ Here's an example of what anonymous labels look like in practice:
#if key @f 'Jump to anonymous label. Marzipan compiles `@f` to `_`... #if key @f 'Jump to anonymous label. Marzipan compiles `@f` to `_`...
The chest is locked. The chest is locked.
#end #end
:@ '...and this compiles to `:_`. :@ '...and compiles this to `:_`.
You unlock the chest. You unlock the chest.
There's a bunch of gems inside! There's a bunch of gems inside!
#give gems 20 #give gems 20
@@ -31,7 +31,7 @@ There's a bunch of gems inside!
#if shotgun @f 'This time, Marzipan compiles `@f` to `a`... #if shotgun @f 'This time, Marzipan compiles `@f` to `a`...
Nothing happens. Nothing happens.
#end #end
:@ '...and this compiles to `:a`. :@ '...and compiles this to `:a`.
The chest shatters! The chest shatters!
Gems fly everywhere. Gems fly everywhere.
#put w green gem #put w green gem