roc/cli/Cargo.toml

95 lines
2.8 KiB
TOML
Raw Normal View History

2019-05-27 23:32:46 +03:00
[package]
2020-08-23 18:49:33 +03:00
name = "roc_cli"
2019-05-27 23:32:46 +03:00
version = "0.1.0"
2021-04-10 15:07:38 +03:00
authors = ["The Roc Contributors"]
license = "UPL-1.0"
2019-05-27 23:32:46 +03:00
repository = "https://github.com/rtfeldman/roc"
edition = "2018"
description = "A CLI for Roc"
2020-03-31 02:31:42 +03:00
default-run = "roc"
[[bin]]
name = "roc"
path = "src/main.rs"
test = false
bench = false
2020-04-18 16:56:54 +03:00
[features]
default = ["target-x86", "llvm"]
# This is a separate feature because when we generate docs on Netlify,
# it doesn't have LLVM installed. (Also, it doesn't need to do code gen.)
llvm = ["inkwell", "roc_gen", "roc_build/llvm"]
2020-04-18 16:56:54 +03:00
target-x86 = []
# arm and wasm give linker errors on some platforms
target-arm = []
target-webassembly = []
target-all = [
"target-x86",
"target-arm",
"target-webassembly"
]
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_docs = { path = "../docs" }
2020-03-31 02:31:42 +03:00
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_unify = { path = "../compiler/unify" }
roc_solve = { path = "../compiler/solve" }
roc_mono = { path = "../compiler/mono" }
2020-05-04 04:37:40 +03:00
roc_load = { path = "../compiler/load" }
roc_gen = { path = "../compiler/gen", optional = true }
roc_build = { path = "../compiler/build", default-features = false }
roc_fmt = { path = "../compiler/fmt" }
2020-05-04 04:37:40 +03:00
roc_reporting = { path = "../compiler/reporting" }
roc_editor = { path = "../editor" }
# TODO switch to clap 3.0.0 once it's out. Tried adding clap = "~3.0.0-beta.1" and cargo wouldn't accept it
2020-04-17 05:02:29 +03:00
clap = { git = "https://github.com/rtfeldman/clap", branch = "master" }
2020-11-18 21:26:59 +03:00
const_format = "0.2.8"
rustyline = { git = "https://github.com/rtfeldman/rustyline", tag = "prompt-fix" }
rustyline-derive = { git = "https://github.com/rtfeldman/rustyline", tag = "prompt-fix" }
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"] }
2020-06-01 03:13:43 +03:00
inlinable_string = "0.1"
2020-08-23 23:14:31 +03:00
libc = "0.2"
2020-10-24 19:01:34 +03:00
libloading = "0.6"
2020-08-23 23:14:31 +03:00
inkwell = { path = "../vendor/inkwell", optional = true }
2020-03-31 02:31:42 +03:00
target-lexicon = "0.10"
2021-03-14 22:40:11 +03:00
tempfile = "3.1.0"
2020-04-17 05:02:29 +03:00
[dev-dependencies]
pretty_assertions = "0.5.1"
maplit = "1.0.1"
indoc = "0.3.3"
quickcheck = "0.8"
quickcheck_macros = "0.8"
2020-10-27 03:32:44 +03:00
serial_test = "0.5"
2020-10-18 15:42:51 +03:00
tempfile = "3.1.0"
criterion = { git = "https://github.com/Anton-4/criterion.rs"}
cli_utils = { path = "cli_utils" }
2021-05-28 16:08:46 +03:00
# Keep the commented deps, they are commented because they require nightly rust
# criterion-perf-events = "0.1.3"
# perfcnt = "0.7.1"
[[bench]]
name = "time_bench"
harness = false
2021-05-28 16:08:46 +03:00
# Keep this benchmark, it's commented because it requires nightly
# [[bench]]
# name = "events_bench"
# harness = false