-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into met-657-prisma-generated-type-names
- Loading branch information
Showing
52 changed files
with
5,520 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
231 changes: 231 additions & 0 deletions
231
docs/metatype.dev/blog/2024-08-26-python-on-webassembly/index.mdx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,10 @@ sandboxed | |
Infisical | ||
Zsh | ||
WASI | ||
[wW]asm | ||
monorepos? | ||
Github | ||
CPython | ||
sandboxing | ||
POSIX | ||
JIT |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "substantial" | ||
edition.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
chrono = "0.4.38" | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
|
||
protobuf = "3.5.1" | ||
|
||
[dev-dependencies] | ||
tokio = { workspace = true, features =["full"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set -eux | ||
|
||
# https://github.com/protocolbuffers/protobuf/issues/13346 | ||
|
||
# must be in sync with substantial/Cargo.toml protobuf | ||
cargo install protobuf-codegen | ||
protoc -I . --rust_out=src/protocol protocol/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
syntax = "proto3"; | ||
|
||
package substantial.protos.events; | ||
|
||
import "google/protobuf/struct.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
message Start { | ||
google.protobuf.Struct kwargs = 1; | ||
} | ||
|
||
message Save { | ||
uint32 id = 1; | ||
string value = 2; | ||
int32 counter = 3; | ||
} | ||
|
||
message Sleep { | ||
uint32 id = 1; | ||
google.protobuf.Timestamp start = 2; | ||
google.protobuf.Timestamp end = 3; | ||
} | ||
|
||
message Send { | ||
string name = 1; | ||
string value = 2; | ||
} | ||
|
||
message Stop { | ||
oneof result { | ||
string ok = 1; | ||
string err = 2; | ||
} | ||
} | ||
|
||
message Event { | ||
google.protobuf.Timestamp at = 1; | ||
oneof of { | ||
Start start = 10; | ||
Save save = 11; | ||
Sleep sleep = 12; | ||
Send send = 13; | ||
Stop stop = 14; | ||
} | ||
}; | ||
|
||
message Records { | ||
string run_id = 1; | ||
repeated Event events = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
syntax = "proto3"; | ||
|
||
package substantial.protos.metadata; | ||
|
||
import "google/protobuf/timestamp.proto"; | ||
|
||
message Info { | ||
string message = 1; | ||
} | ||
message Error { | ||
string message = 1; | ||
string stack = 2; | ||
string type = 3; | ||
} | ||
|
||
message Metadata { | ||
google.protobuf.Timestamp at = 1; | ||
oneof of { | ||
Info info = 10; | ||
Error error = 11; | ||
} | ||
}; | ||
|
||
message Records { | ||
string run_id = 1; | ||
repeated Metadata metadata = 2; | ||
} |
Oops, something went wrong.