-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
117 lines (104 loc) · 2.95 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "rune"
version = "0.1.0"
authors = ["Troy Hinckley"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"crates/text-buffer",
"crates/rune-macros",
"crates/rune-core",
"elprop",
]
[workspace.package]
edition = "2021"
[workspace.dependencies]
syn = { version = "2.0.15", features = ["full"] }
quote = "1.0.26"
proc-macro2 = "1.0.60"
anyhow = "1.0.69"
sptr = "0.3.2"
fallible-iterator = "0.3.0"
fallible-streaming-iterator = "0.1.9"
fxhash = "0.2.1"
indexmap = { version = "2.2.5", git = "https://github.com/CeleritasCelery/indexmap.git" }
memoffset = "0.9.0"
bstr = "1.3.0"
float-cmp = "0.10.0"
clap = { version = "4.5.4", features = ["derive"] }
text-buffer = { version = "0.1.0", path = "crates/text-buffer" }
rune-core = { version = "0.1.0", path = "crates/rune-core" }
rune-macros = { version = "0.1.0", path = "crates/rune-macros" }
[dependencies]
anyhow = { workspace = true }
bytecount = "0.6.3"
clap = { workspace = true }
fancy-regex = "0.14.0"
float-cmp = { workspace = true }
hostname = "0.4.0"
memoffset = { workspace = true }
num_enum = "0.7.1"
paste = "1.0.12"
rand = "0.8.5"
sptr = { workspace = true }
streaming-iterator = "0.1.9"
titlecase = "3.0.0"
fallible-iterator = { workspace = true }
fallible-streaming-iterator = { workspace = true }
text-buffer = { workspace = true }
rune-macros = { workspace = true }
rune-core = { workspace = true }
newtype-derive-2018 = "0.2.2"
macro-attr-2018 = "3.0.0"
bumpalo = { version = "3.15.3", features = ["collections"] }
libc = "0.2.153"
# [dev-dependencies]
# backtrace-on-stack-overflow = "0.3.0"
[build-dependencies]
syn = { workspace = true }
quote = { workspace = true }
[profile.dev.build-override]
opt-level = 3
[profile.release]
debug = true
[features]
default = []
debug_bytecode = []
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
# This 2018 idiom lint makes code more verbose with little benefit
elided_lifetimes_in_paths = "allow"
explicit_outlives_requirements = "warn"
keyword_idents_2018 = "deny"
keyword_idents_2024 = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
non_ascii_idents = "deny"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
as_ptr_cast_mut = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
equatable_if_let = "warn"
inline_always = "allow"
let_and_return = "allow"
manual_let_else = "warn"
match_bool = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
nonstandard_macro_braces = "warn"
or_fun_call = "warn"
similar_names = "allow"
single_match_else = "allow"
unused_self = "allow"