virtual-machine 0.0.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/.yarnrc.yml ADDED
@@ -0,0 +1 @@
1
+ nodeLinker: node-modules
package/Cargo.toml ADDED
@@ -0,0 +1,48 @@
1
+ [package]
2
+ name = "riscv-vm"
3
+ version = "0.1.0"
4
+ edition = "2024"
5
+
6
+ [lib]
7
+ crate-type = ["cdylib", "rlib"]
8
+
9
+ [dependencies]
10
+ log = "0.4"
11
+ thiserror = "1.0"
12
+ hex = "0.4"
13
+ env_logger = "0.10"
14
+ clap = { version = "4.4", features = ["derive"] }
15
+ libc = "0.2"
16
+ goblin = "0.8"
17
+ serde = { version = "1.0", features = ["derive"] }
18
+ bincode = "1.3"
19
+ sha2 = "0.10"
20
+ wasm-bindgen = "0.2"
21
+
22
+ [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
23
+ tun-tap = "0.1"
24
+ tungstenite = "0.21"
25
+ # WebTransport for connecting to the relay
26
+ wtransport = { version = "0.6", features = ["dangerous-configuration"] }
27
+ tokio = { version = "1", features = ["full"] }
28
+ futures = "0.3"
29
+
30
+ [target.'cfg(target_arch = "wasm32")'.dependencies]
31
+ console_error_panic_hook = "0.1"
32
+ web-sys = { version = "0.3", features = [
33
+ "WebSocket",
34
+ "MessageEvent",
35
+ "BinaryType",
36
+ "ErrorEvent",
37
+ "CloseEvent",
38
+ "WebTransport",
39
+ "WebTransportOptions",
40
+ "WebTransportHash",
41
+ "WebTransportDatagramDuplexStream",
42
+ "ReadableStream",
43
+ "WritableStream",
44
+ "ReadableStreamDefaultReader",
45
+ "WritableStreamDefaultWriter"
46
+ ] }
47
+ js-sys = "0.3"
48
+ wasm-bindgen-futures = "0.4"