-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
59 lines (52 loc) · 1.65 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
[package]
name = "yavashark"
version = "0.1.0"
edition = "2021"
rust-version = "1.76"
description = "A new, experimental, JavaScript/TypeScript engine written in Rust"
license = "MIT"
keywords = ["javascript", "typescript", "rust", "interpreter"]
[workspace]
members = [
"crates/*"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
swc_common = "4.0.1"
swc_ecma_parser = "5.0.0"
clap = "4.5.18"
yavashark_interpreter = { path = "crates/yavashark_interpreter" }
yavashark_codegen = { path = "crates/yavashark_codegen" }
yavashark_vm = { path = "crates/yavashark_vm" }
yavashark_env = { path = "crates/yavashark_env"}
[lints]
workspace = true
[workspace.lints.clippy]
panic = "deny"
perf = { level = "deny", priority = -1 }
unwrap_used = "deny"
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
enum_glob_use = "warn"
error_impl_error = "warn"
format_push_string = "warn"
infinite_loop = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
expect_used = "warn"
missing_docs_in_private_items = "allow"
cargo_common_metadata = "allow" # should be removed if we release our crates to crates.io
cast_possible_truncation = "allow" # should this be on allow?
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cast_possible_wrap = "allow"
or_fun_call = "allow"
multiple_crate_versions = "allow" # should this be on allow?
missing_errors_doc = "allow"
too_many_lines = "allow"
module_name_repetitions = "allow"
unnecessary_wraps = "allow"