Cargo.toml 1.49 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Copyright 2017 The Australian National University
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
 
[package]
name = "mu"
version = "0.0.1"
18
authors = [ "Your name <you@example.com>", "Javad Amiri <javad.amiri@anu.edu.au>" ]
19 20 21 22 23 24 25 26 27 28
build = "build.rs"

[lib]
crate-type = ["staticlib", "rlib", "dylib"]
doctest = false

[features]
default = ["aot"]
aot = []
jit = []
29
realtime = ["mu_ast/realtime", "mu_utils/realtime", "mu_gc/realtime"]
30 31

[build-dependencies]
32
cc = "*"
33
built = "*"
34 35 36 37

[dependencies]
mu_ast = {path = "src/ast"}
mu_utils = {path = "src/utils"}
38
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "master", version = "^0.4.0" }
39 40 41 42 43 44 45 46 47 48 49

libc="*"
field-offset = "*"
libloading = "*"
lazy_static = "0.2.11"
log = "0.3.8"
stderrlog = "0.2.3"
num = "*"
hprof = "*"
memmap = "*"
memsec = "0.1.9"
50 51
serde = { version = "*", features = ["derive"]}
bincode = "*"
52 53 54 55 56 57 58
serde_derive = "*"
time = "*"
maplit = "*"
docopt = "0.8.1"
petgraph = "*"
extprim = "*"
num-traits = "*"
59
built = "*"
60
mu_gc = { path = "src/gc"}
61
cfg-if = "*"
62
rand = "*"