forked from kaleidawave/ezno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
100 lines (87 loc) · 2.39 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[workspace]
members = [
"parser",
"parser/visitable-derive",
"parser/generator",
"checker",
"checker/binary-serialize-derive",
"checker/specification",
# "lsp/server",
]
[package]
name = "ezno"
description = "A JavaScript type checker and compiler. For use as a library or through the CLI"
authors = ["Ben <[email protected]>"]
version = "0.0.21"
edition = "2021"
license = "MIT"
homepage = "https://kaleidawave.github.io/posts/introducing-ezno/"
repository = "https://github.com/kaleidawave/ezno"
default-run = "ezno"
categories = ["compilers"]
keywords = ["javascript", "typescript", "type-checker"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ezno_lib"
path = "src/lib.rs"
# cdylib is for WASM
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "ezno"
path = "src/main.rs"
[dependencies]
# ezno-web-framework = { path = "./plugins/web" }
argh = "0.1"
base64 = "0.21"
console = "0.15"
codespan-reporting = "0.11"
enum-variants-strings = "0.3"
glob = "0.3"
# For `StrComparison` for string comparison
pretty_assertions = "1.3.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simple-json-parser = "0.0.2"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# For updating binary
self-replace = "1.3.7"
# For updating binary and possibly more in the future
native-tls = "0.2.11"
# For CLI input across multiple lines
multiline-term-input = "0.1.0"
# For watching files
notify = "6.1.0"
[dependencies.checker]
path = "./checker"
version = "0.0.16"
features = ["ezno-parser", "serde-serialize"]
package = "ezno-checker"
[dependencies.parser]
path = "./parser"
version = "0.1.5"
features = ["extras"]
package = "ezno-parser"
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-derive = "0.2.1"
serde-wasm-bindgen = "0.6.3"
console_error_panic_hook = "0.1.7"
js-sys = "0.3"
tsify = "0.4.5"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
cast_precision_loss = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
default_trait_access = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"
new_without_default = "allow"
result_unit_err = "allow"
thread_local_initializer_can_be_made_const = "allow"
implicit_hasher = "allow"
[profile.dev]
debug = false