Skip to content

Commit

Permalink
Save
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Mar 7, 2024
1 parent 39726f2 commit 221b882
Show file tree
Hide file tree
Showing 20 changed files with 1,200 additions and 153 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ devenv.local.nix
/composed1.wat
/composed2.wat
/my-file
/pulumi-language-wasm/language-host.exe
/pulumi-language-wasm/pulumi-language-wasm.exe

.idea/

Expand Down
86 changes: 24 additions & 62 deletions Cargo.lock

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

23 changes: 12 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,22 @@ edition = "2021"

[dependencies]
pulumi_rust = { path = "pulumi_rust" }
tokio = { version = "1.36.0", features = ["sync", "macros", "io-util", "rt", "time"] }
futures = "0.3.30"
log = "0.4"
anyhow = "1.0.79"
tonic = "0.11.0"
object = "0.32.2"
prost-types = "0.12.3"
clap = { version = "4.5.1", features = ["derive"] }
tokio.workspace = true
log.workspace = true
anyhow.workspace = true
tonic = { workspace = true, default-features = true }
prost-types.workspace = true
clap.workspace = true
log4rs.workspace = true

[workspace]

members = [
"pulumi_rust",
"pulumi_wasm",
"pulumi_wasm_random",
"pulumi_wasm_main",
"pulumi_rust_wasm",
"wasm_common"
]

[workspace.dependencies]
Expand All @@ -48,6 +46,9 @@ wasmtime-wasi = "18.0.2"
tonic-build = "0.11.0"
async-trait = "0.1.77"
tonic-web = "0.11.0"
log = { version = "0.4.21", features = [] }
log = { version = "0.4.21", features = ["kv"] }
tracing-subscriber = "0.3.18"
log4rs = "1.3.0"
log4rs = "1.3.0"
tokio = { version = "1.36.0", features = ["sync", "macros", "io-util", "rt", "time"] }
clap = { version = "4.5.1", features = ["derive"] }
regex = "1.10.3"
95 changes: 95 additions & 0 deletions logdy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"name": "main",
"columns": [
{
"id": "727320",
"name": "raw",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.content || \"-\"}\n }",
"idx": 0,
"width": 150,
"hidden": true
},
{
"id": "988595",
"name": "time",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['time'] }\n}",
"idx": 1,
"width": 150
},
{
"id": "113882",
"name": "level",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['level'] }\n}",
"idx": 2,
"width": 57
},
{
"id": "895087",
"name": "module_path",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['module_path'] }\n}",
"idx": 4,
"width": 150
},
{
"id": "517706",
"name": "file",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['file'] }\n}",
"idx": 5,
"width": 141,
"faceted": false
},
{
"id": "913995",
"name": "line",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['line'] }\n}",
"idx": 6,
"width": 48,
"faceted": false
},
{
"id": "050721",
"name": "message",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['message'] }\n}",
"idx": 3,
"width": 257
},
{
"id": "992824",
"name": "target",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['target'] }\n}",
"idx": 7,
"width": 150,
"hidden": true
},
{
"id": "094904",
"name": "thread",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['thread'] }\n}",
"idx": 8,
"width": 150,
"hidden": true
},
{
"id": "110491",
"name": "thread_id",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['thread_id'] }\n}",
"idx": 9,
"width": 150,
"hidden": true
},
{
"id": "408132",
"name": "mdc",
"handlerTsCode": "(line: Message): CellHandler => {\n return { text: line.json_content['mdc'] }\n}",
"idx": 10,
"width": 150,
"hidden": true,
"faceted": false
}
],
"settings": {
"leftColWidth": 300,
"maxMessages": 1000,
"middlewares": []
}
}
11 changes: 2 additions & 9 deletions pulumi_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
tonic-web.workspace = true
prost.workspace = true
prost-types.workspace = true
tonic.workspace = true
tonic = { workspace = true, default-features = true }
log.workspace = true
uuid.workspace = true
tracing-subscriber.workspace = true
Expand All @@ -21,14 +21,7 @@ rmp-serde.workspace = true
serde_json.workspace = true
futures.workspace = true
async-trait.workspace = true
regex.workspace = true

[build-dependencies]
tonic-build.workspace = true

#
#[package.metadata.component]
#package = "component:pulumi-wasm"
#
#[package.metadata.component.target]
#path = "../wits/world.wit"
#world = "pulumi-wasm"
Loading

0 comments on commit 221b882

Please sign in to comment.