Fix lox-wasm dependencies

This commit is contained in:
onyinyang 2023-10-20 14:13:21 -04:00
parent 794f80ab11
commit 5e1a2d8c6d
No known key found for this signature in database
GPG Key ID: 156A6435430C2036
3 changed files with 5 additions and 1 deletions

3
Cargo.lock generated
View File

@ -737,8 +737,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"js-sys",
"libc", "libc",
"wasi 0.11.0+wasi-snapshot-preview1", "wasi 0.11.0+wasi-snapshot-preview1",
"wasm-bindgen",
] ]
[[package]] [[package]]
@ -1089,6 +1091,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"console_error_panic_hook", "console_error_panic_hook",
"getrandom 0.2.10",
"js-sys", "js-sys",
"julianday", "julianday",
"lazy_static", "lazy_static",

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@ license = "MIT"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
getrandom = { version = "0.2", features = ["js"] }
julianday = "1.2.0" julianday = "1.2.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"
lox-library = { path = "../lox-library", version = "0.1.0" } lox-library = { path = "../lox-library", version = "0.1.0" }