got obsidian plugin to build again

This commit is contained in:
Sebastian Moser
2026-07-31 01:39:46 +02:00
parent b2ed9efff2
commit 05d410949c
9 changed files with 113 additions and 1151 deletions

View File

@@ -4,6 +4,9 @@ description = "marts = mize_parts - parts collection of the Mize framework"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
clap = { version = "4.5.59", optional = true, features = ["string"] }
flume = "0.12.0"
@@ -42,7 +45,7 @@ default = ["target-os", "desktop", "server", "client"]
#default = ["target-js", "target-obsidian"] # to get rust analyzer to analyzer js only parts
target-spacetime = [ "mize/target-js", "spacetimedb-sdk/browser" ]
target-os = [ "clap", "mize/target-os", "rusqlite", "dioxus", "dep:webbrowser" ]
target-js = [ "mize/target-js", "spacetimedb-sdk/browser", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "js-sys", "generated/target-js", "web-sys/Storage", "web-sys/Window" ]
target-js = [ "mize/target-js", "spacetimedb-sdk/browser", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "js-sys", "generated/target-js", "web-sys/Storage", "web-sys/Window", "dioxus" ]
target-obsidian = [ "target-js" ]
desktop = ["dioxus/desktop"]
client = []