* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
87 lines
2.6 KiB
TOML
87 lines
2.6 KiB
TOML
[package]
|
|
name = "wasm-lib"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/KittyCAD/modeling-app"
|
|
rust-version = "1.73"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
bson = { version = "2.10.0", features = ["uuid-1", "chrono"] }
|
|
clap = "4.5.4"
|
|
gloo-utils = "0.2.0"
|
|
kcl-lib = { path = "kcl" }
|
|
kittycad = { workspace = true }
|
|
serde_json = "1.0.116"
|
|
tokio = { version = "1.37.0", features = ["sync"] }
|
|
toml = "0.8.12"
|
|
uuid = { version = "1.8.0", features = ["v4", "js", "serde"] }
|
|
wasm-bindgen = "0.2.91"
|
|
wasm-bindgen-futures = "0.4.42"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1"
|
|
image = "0.24.9"
|
|
kittycad = { workspace = true, default-features = true }
|
|
pretty_assertions = "1.4.0"
|
|
reqwest = { version = "0.11.26", default-features = false }
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros", "time"] }
|
|
twenty-twenty = "0.7"
|
|
uuid = { version = "1.8.0", features = ["v4", "js", "serde"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.7"
|
|
futures = "0.3.30"
|
|
js-sys = "0.3.69"
|
|
tower-lsp = { version = "0.20.0", default-features = false, features = ["runtime-agnostic"] }
|
|
wasm-bindgen-futures = { version = "0.4.41", features = ["futures-core-03-stream"] }
|
|
wasm-streams = "0.4.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
version = "0.3.69"
|
|
features = [
|
|
"console",
|
|
"HtmlTextAreaElement",
|
|
"ReadableStream",
|
|
"WritableStream",
|
|
]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
debug = true
|
|
|
|
[workspace]
|
|
members = [
|
|
"derive-docs",
|
|
"grackle",
|
|
"kcl",
|
|
"kcl-macros",
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
kittycad = { version = "0.3.0", default-features = false, features = ["js", "requests"] }
|
|
kittycad-execution-plan = "0.1.5"
|
|
kittycad-execution-plan-macros = "0.1.9"
|
|
kittycad-execution-plan-traits = "0.1.14"
|
|
kittycad-modeling-cmds = "0.2.21"
|
|
kittycad-modeling-session = "0.1.4"
|
|
|
|
[[test]]
|
|
name = "executor"
|
|
path = "tests/executor/main.rs"
|
|
|
|
[[test]]
|
|
name = "modify"
|
|
path = "tests/modify/main.rs"
|
|
|
|
# Example: how to point modeling-api at a different repo (e.g. a branch or a local clone)
|
|
#[patch."https://github.com/KittyCAD/modeling-api"]
|
|
#kittycad-execution-plan = { path = "../../../modeling-api/execution-plan" }
|
|
#kittycad-execution-plan-macros = { path = "../../../modeling-api/execution-plan-macros" }
|
|
#kittycad-execution-plan-traits = { path = "../../../modeling-api/execution-plan-traits" }
|
|
#kittycad-modeling-cmds = { path = "../../../modeling-api/modeling-cmds" }
|
|
#kittycad-modeling-session = { path = "../../../modeling-api/modeling-session" }
|