-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
81 lines (69 loc) · 2.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "binjs"
version = "0.4.0"
authors = ["David Teller <[email protected]>"]
homepage = "https://binast.github.io/ecmascript-binary-ast/"
repository = "https://github.com/binast/binjs-ref"
description = "Set of tools to manipulate files in the JavaScript Binary AST format."
license = "MIT"
build = "build.rs"
[build-dependencies]
which = "3.1.1"
[dependencies]
binjs_generic = { path = "crates/binjs_generic", version = "*" }
binjs_es6 = { path = "crates/binjs_es6", version = "*" }
binjs_io = { path = "crates/binjs_io", version = "*" }
binjs_meta = { path = "crates/binjs_meta", version = "*" }
binjs_shared = { path = "crates/binjs_shared", version = "*" }
bincode = "^1.0"
clap = "^2.0"
derive_more = "0.99.3"
env_logger = "0.7.1"
itertools = "^0.8"
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0.38", features = ["unbounded_depth"] }
log = "^0.4"
which = "3.1.1"
[dev-dependencies]
bencher = "^0.1"
glob = "0.3.0"
lazy_static = "^1.2"
rand = { version="0.7.3", features=["small_rng"] }
separator = "^0.4"
tempdir = "^0.3"
test-logger = { version = "^0.1", git = "https://github.com/RReverser/test-logger" }
yaml-rust = "^0.4"
[[bin]]
# Encode a text source to a BinAST file.
name = "binjs_encode"
path = "src/bin/encode.rs"
[[bin]]
# Decode a BinAST file to a text source
name = "binjs_decode"
path = "src/bin/decode.rs"
[[bin]]
# Dump a BinAST file structure to stdout.
name = "binjs_dump"
path = "src/bin/dump.rs"
[[bin]]
# Convert a BinAST JSON file to other BinAST file.
name = "binjs_convert_from_json"
path = "src/bin/convert_from_json.rs"
[[bin]]
# From a sample of JS source files, extract the distribution
# of probabilities for all ASTs, write this distribution to
# disk. The distribution may then be reused by binjs_encode
# using the entropy format to encode further files.
name = "binjs_generate_prediction_tables"
path = "src/bin/generate_dictionary.rs"
[[bench]]
name = "bench"
harness = false
[workspace]
members = ["crates/*"]
[features]
default = []
# If specified, activate features that require Nightly only compiler features.
#
# At the time of this writing, this affects only documentation generation.
unstable = ["binjs_io/unstable"]