Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --check
- uses: browser-actions/setup-chrome@v2
- uses: nanasess/setup-chromedriver@v2
- run: cargo install wasm-bindgen-cli
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"mhutchie.git-graph",
"github.vscode-github-actions"
"github.vscode-github-actions",
"rust-lang.rust-analyzer"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.markdown-language-features",
"rust-analyzer.check.command": "clippy",
"rust-analyzer.check.extraArgs": [
"--all-features"
],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
Expand Down
135 changes: 35 additions & 100 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions definy-build/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

{
let wasm_build_result = std::process::Command::new("cargo")
.args(&[
.args([
"build",
"--release",
"-p",
Expand All @@ -37,7 +37,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

{
let wasm_bindgen_result = std::process::Command::new("wasm-bindgen")
.args(&[
.args([
"--out-dir",
"./web-distribution",
"--target",
Expand Down
8 changes: 4 additions & 4 deletions definy-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3"
wasm-bindgen = "0.2"
web-sys = { version = "0.3.85", features = ["console", "Window", "Document", "Element", "Node", "NodeList", "HtmlElement", "Event", "HtmlDialogElement", "Navigator", "Clipboard", "Request", "RequestInit", "Response", "Headers", "Url", "KeyboardEvent", "DomRect", "ScrollIntoViewOptions", "ScrollBehavior", "ScrollLogicalPosition"] }
web-sys = { version = "0.3.91", features = ["console", "Window", "Document", "Element", "Node", "NodeList", "HtmlElement", "Event", "HtmlDialogElement", "Navigator", "Clipboard", "Request", "RequestInit", "Response", "Headers", "Url", "KeyboardEvent", "DomRect", "ScrollIntoViewOptions", "ScrollBehavior", "ScrollLogicalPosition"] }
definy-ui = { path = "../definy-ui" }
definy-event = { path = "../definy-event" }
narumincho-vdom-client = { path = "../narumincho-vdom-client" }
Expand All @@ -18,8 +18,8 @@ ed25519-dalek = { version = "2.2", features = ["rand_core"] }
rand = { version = "0.8", features = ["std_rng"] }
getrandom = { version = "0.2", features = ["js"] }
base64 = "0.22"
wasm-bindgen-futures = "0.4.58"
chrono = "0.4.43"
anyhow = "1.0.100"
wasm-bindgen-futures = "0.4.64"
chrono = "0.4.44"
anyhow = "1.0.102"
serde_cbor = { version = "0.11.2", features = ["std", "tags"] }
sha2 = "0.10.9"
Loading