-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
59 lines (53 loc) · 1.79 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
[workspace]
resolver = "2"
default-members = ["varnish"]
members = ["varnish", "varnish-macros", "varnish-sys", "vmod_test", "examples/vmod_*"]
[workspace.package]
# These fields are used by multiple crates, so it's defined here.
# Version must also be updated in the `varnish-macros` dependency below.
version = "0.1.0"
repository = "https://github.com/gquintard/varnish-rs"
edition = "2021"
license = "BSD-3-Clause"
[workspace.dependencies]
# These versions must match the one in the [workspace.package] section above
varnish = { path = "./varnish", version = "0.1.0" }
varnish-macros = { path = "./varnish-macros", version = "0.1.0" }
varnish-sys = { path = "./varnish-sys", version = "0.1.0" }
#
# These dependencies are used by one or more crates, and easier to maintain in one place.
bindgen = "0.70.1"
bindgen_helpers = "0.1.1"
darling = "0.20.10"
glob = "0.3.1"
insta = "1"
pkg-config = "0.3.30"
prettyplease = "0.2.22"
proc-macro2 = "1.0.86"
quote = "1.0.37"
regex = "1.10.6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10.8"
syn = "2.0.77"
thiserror = "1.0.68"
trybuild = "1.0"
[profile.dev.package]
# Optimize build speed -- https://docs.rs/insta/latest/insta/#optional-faster-runs
insta.opt-level = 3
similar.opt-level = 3
[workspace.lints.rust]
unused_qualifications = "warn"
[workspace.lints.clippy]
# FIXME: safety doc lints are disabled for now, but should be enabled eventually
missing_safety_doc = "allow"
# Pedantic lints - these are more subjective, and some might stay disabled permanently
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"