roc/editor/Cargo.toml

89 lines
3.1 KiB
TOML
Raw Normal View History

2020-05-04 04:38:36 +03:00
[package]
name = "roc_editor"
version = "0.1.0"
authors = ["Richard Feldman <oss@rtfeldman.com>"]
edition = "2018"
description = "An editor for Roc"
license = "Apache-2.0"
2020-11-12 22:27:10 +03:00
exclude = ["src/shaders/*.spv"]
2020-05-04 04:38:36 +03:00
[dependencies]
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" }
roc_load = { path = "../compiler/load" }
roc_gen = { path = "../compiler/gen" }
roc_fmt = { path = "../compiler/fmt" }
2020-05-04 04:38:36 +03:00
roc_reporting = { path = "../compiler/reporting" }
# 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-12-21 15:55:40 +03:00
ven_graph = { path = "../vendor/pathfinding" }
2020-05-04 04:38:36 +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"
arraystring = "0.3.0"
2020-10-22 04:48:01 +03:00
libc = "0.2"
page_size = "0.4"
2020-05-04 04:38:36 +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-11-17 03:58:30 +03:00
inkwell = { git = "https://github.com/rtfeldman/inkwell", tag = "llvm10-0.release3" }
2020-05-04 04:38:36 +03:00
target-lexicon = "0.10"
2020-05-05 04:06:36 +03:00
winit = "0.22"
2020-10-31 02:54:56 +03:00
wgpu = "0.6"
2020-05-30 08:08:17 +03:00
glyph_brush = "0.7"
log = "0.4"
zerocopy = "0.3"
env_logger = "0.7"
futures = "0.3"
2020-10-31 02:54:56 +03:00
wgpu_glyph = "0.10"
2020-12-04 22:05:29 +03:00
cgmath = "0.17.0"
itertools = "0.9.0"
snafu = { version = "0.6", features = ["backtraces"] }
colored = "2"
2020-12-02 18:43:54 +03:00
[dependencies.bytemuck]
version = "1.4"
features = ["derive"]
2020-05-05 04:06:36 +03:00
2020-05-04 04:38:36 +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-31 03:48:10 +03:00
2020-12-15 17:00:24 +03:00
# uncomment everything below if you have made changes to any shaders and
# want to compile them to .spv
#[build-dependencies]
#rayon = "1.5.0"
#anyhow = "1.0"
#fs_extra = "1.1"
#glob = "0.3"
#shaderc = "0.6"