Skip to content

Commit

Permalink
Rust wrappers (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
007gzs authored Oct 9, 2024
1 parent 93317ad commit e126f3a
Show file tree
Hide file tree
Showing 9 changed files with 1,033 additions and 32 deletions.
31 changes: 31 additions & 0 deletions plugins/wasm-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/wasm-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ serde = "1.0"
serde_json = "1.0"
uuid = { version = "1.3.3", features = ["v4"] }
multimap = "0"
http = "1"
lazy_static = "1"
263 changes: 263 additions & 0 deletions plugins/wasm-rust/extensions/demo-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions plugins/wasm-rust/extensions/demo-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "demo-wasm"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]

[dependencies]
higress-wasm-rust = { path = "../../", version = "0.1.0" }
proxy-wasm = { git="https://github.com/higress-group/proxy-wasm-rust-sdk", branch="main", version="0.2.2" }
serde = { version = "1.0", features = ["derive"] }
multimap = "*"
http = "*"
Loading

0 comments on commit e126f3a

Please sign in to comment.