Merge pull request #225 from kinode-dao/da/snake-case

scripts.json uses snake_case
This commit is contained in:
tadad 2024-02-05 09:02:13 -06:00 committed by GitHub
commit b597ebb331
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 46 additions and 29 deletions

19
Cargo.lock generated
View File

@ -3309,6 +3309,23 @@ dependencies = [
"wit-bindgen",
]
[[package]]
name = "kinode_process_lib"
version = "0.5.8"
source = "git+https://github.com/uqbar-dao/process_lib.git?tag=v0.5.9-alpha#09d411dfab23f9049fbbcbef1c56157191269ab2"
dependencies = [
"anyhow",
"bincode",
"http 1.0.0",
"mime_guess",
"rand 0.8.5",
"serde",
"serde_json",
"thiserror",
"url",
"wit-bindgen",
]
[[package]]
name = "kit"
version = "0.1.0"
@ -5630,7 +5647,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bincode",
"kinode_process_lib 0.5.7",
"kinode_process_lib 0.5.8",
"rand 0.8.5",
"regex",
"serde",

View File

@ -1,5 +1,5 @@
use kinode_process_lib::{
await_next_request_body, call_init, println, Address, Message, NodeId, PackageId, Request,
await_next_request_body, call_init, println, Address, Message, PackageId, Request,
};
use serde::{Deserialize, Serialize};

View File

@ -2,33 +2,33 @@
"download.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"main:app_store:sys"
],
"grantCapabilities": [
"grant_capabilities": [
"main:app_store:sys"
]
},
"install.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"main:app_store:sys"
],
"grantCapabilities": [
"grant_capabilities": [
"main:app_store:sys"
]
},
"uninstall.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"main:app_store:sys"
],
"grantCapabilities": [
"grant_capabilities": [
"main:app_store:sys"
]
}

View File

@ -1,5 +1,5 @@
use kinode_process_lib::{
await_next_request_body, call_init, println, Address, Message, NodeId, PackageId, Request,
await_next_request_body, call_init, println, Address, Message, PackageId, Request,
};
use serde::{Deserialize, Serialize};

View File

@ -2,24 +2,24 @@
"alias.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"terminal:terminal:sys"
],
"grantCapabilities": []
"grant_capabilities": []
},
"echo.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [],
"grantCapabilities": []
"request_networking": false,
"request_capabilities": [],
"grant_capabilities": []
},
"cat.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"vfs:distro:sys",
{
"process": "vfs:distro:sys",
@ -28,31 +28,31 @@
}
}
],
"grantCapabilities": []
"grant_capabilities": []
},
"hi.wasm": {
"root": false,
"public": false,
"requestNetworking": true,
"requestCapabilities": [
"request_networking": true,
"request_capabilities": [
"net:distro:sys"
],
"grantCapabilities": [
"grant_capabilities": [
"net:distro:sys"
]
},
"top.wasm": {
"root": false,
"public": false,
"requestNetworking": false,
"requestCapabilities": [
"request_networking": false,
"request_capabilities": [
"kernel:distro:sys"
],
"grantCapabilities": []
"grant_capabilities": []
},
"m.wasm": {
"root": true,
"public": false,
"requestNetworking": true
"request_networking": true
}
}

View File

@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
anyhow = "1.0"
bincode = "1.3.3"
kinode_process_lib = { git = "https://github.com/uqbar-dao/process_lib.git", tag = "v0.5.8-alpha" }
kinode_process_lib = { git = "https://github.com/uqbar-dao/process_lib.git", tag = "v0.5.9-alpha" }
rand = "0.8"
regex = "1.10.3"
serde = { version = "1.0", features = ["derive"] }