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
39 changes: 20 additions & 19 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ clap = { version = "4.4", features = ["cargo", "string"] }
dirs = "5.0"
futures-util = "0.3"
hex = "0.4"
kinode_process_lib = { git = "https://github.com/uqbar-dao/process_lib.git", rev = "7f409e4" }
kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib.git", rev = "9d185e1" }
nix = { version = "0.27", features = ["process", "signal", "term"] }
regex = "1.0"
reqwest = { version = "0.11", features = ["json"] }
Expand Down
4 changes: 2 additions & 2 deletions src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const JAVASCRIPT_SRC_PATH: &str = "src/lib.js";
const PYTHON_SRC_PATH: &str = "src/lib.py";
const RUST_SRC_PATH: &str = "src/lib.rs";
const KINODE_WIT_URL: &str = "https://raw.githubusercontent.com/kinode-dao/kinode-wit/v0.7.0-alpha/kinode.wit";
const WASI_VERSION: &str = "17.0.1"; // TODO: un-hardcode
pub const CACHE_DIR: &str = "/tmp/kinode-kit-cache";

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down Expand Up @@ -175,10 +176,9 @@ async fn compile_rust_wasm_process(

// Check and download wasi_snapshot_preview1.wasm if it does not exist
let wasi_snapshot_file = process_dir.join("wasi_snapshot_preview1.wasm");
let wasi_version = "15.0.1"; // TODO: un-hardcode
let wasi_snapshot_url = format!(
"https://github.com/bytecodealliance/wasmtime/releases/download/v{}/wasi_snapshot_preview1.reactor.wasm",
wasi_version,
WASI_VERSION,
);
download_file(&wasi_snapshot_url, &wasi_snapshot_file).await?;

Expand Down
2 changes: 1 addition & 1 deletion src/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const REQUIRED_NPM_MAJOR: u32 = 9;
const MINIMUM_NPM_MINOR: u32 = 0;
pub const REQUIRED_PY_MAJOR: u32 = 3;
pub const MINIMUM_PY_MINOR: u32 = 10;
pub const REQUIRED_PY_PACKAGE: &str = "componentize-py==0.7.1";
pub const REQUIRED_PY_PACKAGE: &str = "componentize-py==0.11.0";

#[derive(Clone)]
pub enum Dependency {
Expand Down