roc/cli/Cargo.toml

61 lines
2.5 KiB
TOML
Raw Normal View History

2019-05-27 23:32:46 +03:00
[package]
name = "roc-cli"
version = "0.1.0"
authors = ["Richard Feldman <richard.t.feldman@gmail.com>"]
repository = "https://github.com/rtfeldman/roc"
readme = "README.md"
keywords = ["roc", "gui"]
edition = "2018"
description = "A CLI for Roc"
license = "Apache-2.0"
2020-03-31 02:31:42 +03:00
default-run = "roc"
[[bin]]
name = "roc"
path = "src/main.rs"
test = false
bench = false
2019-05-27 23:32:46 +03:00
[dependencies]
2020-03-31 02:31:42 +03:00
roc_collections = { path = "../compiler/collections" }
roc_can = { path = "../compiler/can" }
roc_parse = { path = "../compiler/parse" }
roc_region = { path = "../compiler/region" }
roc_module = { path = "../compiler/module" }
roc_problem = { path = "../compiler/problem" }
roc_types = { path = "../compiler/types" }
roc_builtins = { path = "../compiler/builtins" }
roc_constrain = { path = "../compiler/constrain" }
roc_uniq = { path = "../compiler/uniq" }
roc_unify = { path = "../compiler/unify" }
roc_solve = { path = "../compiler/solve" }
roc_mono = { path = "../compiler/mono" }
2020-04-12 06:18:34 +03:00
roc_load = { path = "../compiler/load", version = "0.1.0" }
2020-03-31 02:31:42 +03:00
roc_gen = { path = "../compiler/gen", version = "0.1.0" }
2020-04-04 04:29:34 +03:00
roc_reporting = { path = "../compiler/reporting", version = "0.1.0" }
2020-03-31 02:31:42 +03:00
im = "14" # im and im-rc should always have the same version!
im-rc = "14" # im and im-rc should always have the same version!
bumpalo = { version = "3.2", features = ["collections"] }
inlinable_string = "0.1.0"
2020-04-12 06:18:34 +03:00
tokio = { version = "0.2", features = ["blocking", "fs", "sync", "rt-threaded"] }
2020-03-31 02:31:42 +03:00
# NOTE: rtfeldman/inkwell is a fork of TheDan64/inkwell which does not change anything.
#
# The reason for this fork is that the way Inkwell is designed, you have to use
# a particular branch (e.g. "llvm8-0") in Cargo.toml. That would be fine, except that
# breaking changes get pushed directly to that branch, which breaks our build
# without warning.
#
# We tried referencing a specific rev on TheDan64/inkwell directly (instead of branch),
# but although that worked locally, it did not work on GitHub Actions. (After a few
# hours of investigation, gave up trying to figure out why.) So this is the workaround:
# having an immutable tag on the rtfeldman/inkwell fork which points to
# a particular "release" of Inkwell.
#
# When we want to update Inkwell, we can sync up rtfeldman/inkwell to the latest
# commit of TheDan64/inkwell, push a new tag which points to the latest commit,
# change the tag value in this Cargo.toml to point to that tag, and `cargo update`.
# This way, GitHub Actions works and nobody's builds get broken.
2020-04-08 13:26:28 +03:00
inkwell = { git = "https://github.com/rtfeldman/inkwell", tag = "llvm10-0.release1" }
2020-03-31 02:31:42 +03:00
target-lexicon = "0.10"