mirror of
https://github.com/katanemo/plano.git
synced 2026-06-08 14:55:14 +02:00
Add cargo workspace to allow rust-analyzer to work correctly (#197)
Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
parent
6fb63510b3
commit
aa30353c85
5 changed files with 2243 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -30,3 +30,4 @@ model_server/dist
|
|||
arch_logs/
|
||||
dist/
|
||||
crates/*/target/
|
||||
crates/target/
|
||||
|
|
|
|||
2237
crates/Cargo.lock
generated
Normal file
2237
crates/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
3
crates/Cargo.toml
Normal file
3
crates/Cargo.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["llm_gateway", "prompt_gateway", "common"]
|
||||
|
|
@ -7,7 +7,7 @@ use serial_test::serial;
|
|||
use std::path::Path;
|
||||
|
||||
fn wasm_module() -> String {
|
||||
let wasm_file = Path::new("target/wasm32-wasi/release/llm_gateway.wasm");
|
||||
let wasm_file = Path::new("../target/wasm32-wasi/release/llm_gateway.wasm");
|
||||
assert!(
|
||||
wasm_file.exists(),
|
||||
"Run `cargo build --release --target=wasm32-wasi` first"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ use std::collections::HashMap;
|
|||
use std::path::Path;
|
||||
|
||||
fn wasm_module() -> String {
|
||||
let wasm_file = Path::new("target/wasm32-wasi/release/prompt_gateway.wasm");
|
||||
let wasm_file = Path::new("../target/wasm32-wasi/release/prompt_gateway.wasm");
|
||||
assert!(
|
||||
wasm_file.exists(),
|
||||
"Run `cargo build --release --target=wasm32-wasi` first"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue