Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 23 additions & 2 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ members = [
"clash-brush-core",
"clash-brush-builtins",
"clash-brush-interactive",
"clash-wasm",
]
resolver = "3"

Expand Down Expand Up @@ -151,3 +152,6 @@ clash-brush-interactive = { path = "clash-brush-interactive", version = "0.5.1",
# Workspace crate aliases (used by brush crates internally under original brush-* names)
brush-parser = { path = "clash-brush-parser", version = "0.5.1", package = "clash-brush-parser" }
brush-core = { path = "clash-brush-core", version = "0.5.1", package = "clash-brush-core" }

[patch.crates-io]
starlark = { path = "starlark-wasm-patch" }
1 change: 1 addition & 0 deletions \
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://claude.ai/oauth/authorize?code=true&client_id=9d1c250a-e61b-44d9-88ed-5944d1962f5e&response_type=code&redirect_uri=https%3A% 2F%2Fplatform.claude.com%2Foauth%2Fcode%2Fcallback&scope=org%3Acreate_api_key+user%3Aprofile+user%3Ainference+user%3Asessions%3Aclau de_code+user%3Amcp_servers+user%3Afile_upload&code_challenge=Vtmln4OrBzvEecaIqNzDjCH5hZrGz0uYbLvFX7oEh0g&code_challenge_method=S256& state=Nc5P10aBZ5XwAAYwttqd53x8vVowtCGItuIn5ggkeec
22 changes: 22 additions & 0 deletions clash-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "clash-wasm"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "WASM build of Clash policy engine for browser-based interactive tutorial"
license.workspace = true

[lib]
crate-type = ["cdylib", "rlib"]

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[dependencies]
clash_starlark = { workspace = true }
wasm-bindgen = "0.2"
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
regex = { workspace = true }
console_error_panic_hook = "0.1"
Loading
Loading