Skip to content

Commit

Permalink
Generate legion-wasm32-wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
oovm committed Dec 22, 2024
1 parent 032bdb3 commit fff85ee
Show file tree
Hide file tree
Showing 8 changed files with 1,752 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ time-travel.*
# Rust
target/
Cargo.lock

# Node
node_modules/
32 changes: 32 additions & 0 deletions projects/legion-wasm32-wasi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[package]
name = "legion-wit"
version = "0.1.0"
authors = ["Aster <192607617@qq.com>"]
description = "Valkyrie workspace manager"
repository = "https://github.com/nyar-vm/valkyrie-valor"
documentation = "https://docs.rs/valor-config"
readme = "readme.md"
license = "MPL-2.0"
edition = "2021"

[dependencies]
anyhow = "1.0.94"
#url = "2.5.4"
wat = { version = "1.222.0", features = ["component-model", "dwarf"] }
wasmprinter = { version = "0.222.0", features = ["component-model"] }
js-component-bindgen = "1.8.1"
#reqwest = { workspace = true }
wit-bindgen-rt = { version = "0.36.0", features = ["bitflags"] }

[lib]
name = "legion_wasm32_wasip2"
crate-type = ["cdylib"]


[dev-dependencies]

[features]
default = []

[package.metadata.component]
package = "legion:tools"
Loading

0 comments on commit fff85ee

Please sign in to comment.