2021-09-15 06:07:28 +01:00
|
|
|
[package]
|
|
|
|
|
name = "starmelon"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
2021-09-20 07:34:43 +01:00
|
|
|
# I decided to use os_pipe becaues I want to pipe stdout of a subprocess into
|
|
|
|
|
# stderr in real time. I want the outupt of the process to stderr and stdout
|
|
|
|
|
# show up in the original order. I looked an os_pipe uses some unsafe code to
|
|
|
|
|
# duplicate file descriptors. I am unfamiliar with the correct way of sharing
|
|
|
|
|
# the fds. Therefore I am going to trust that their unsafe code is necessary.
|
|
|
|
|
# Then it makes sense to use a battle tested unsafe code rather than implement
|
|
|
|
|
# it myself.
|
2021-09-15 06:07:28 +01:00
|
|
|
[dependencies]
|
|
|
|
|
ahash = "0.7"
|
2021-09-20 07:34:43 +01:00
|
|
|
elmi = { path = "../../../infra/rust-elmi" }
|
|
|
|
|
naive-wadler-prettier= { path = "../../../infra/redwood-lang/compiler/naive-wadler-prettier" }
|
|
|
|
|
os_pipe = "0.9"
|
2021-09-15 06:07:28 +01:00
|
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
|
|
|
|
serde_json = { version ="1.0", features = [] }
|
2021-09-20 07:34:43 +01:00
|
|
|
structopt = { version = "0.3" }
|
2021-09-15 06:07:28 +01:00
|
|
|
|
|
|
|
|
# All of these are required for deno's javascript runtime. We need to keep the
|
|
|
|
|
# same versions as other projects in our cargo workspace. Multiple different
|
|
|
|
|
# versions of rust_v8 seem to break its build script.
|
|
|
|
|
deno_runtime = "0.21.0"
|
|
|
|
|
tokio = { version = "1.6", features = ["full"] }
|
|
|
|
|
deno_core = "0.95.0"
|
|
|
|
|
deno_web = "0.44"
|
|
|
|
|
rusty_v8 = "0.25.3"
|
|
|
|
|
futures = "0.3.15"
|
2021-09-20 07:34:43 +01:00
|
|
|
serde_v8 = "0.8"
|