forked from facet-rs/facet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
144 lines (124 loc) · 3.69 KB
/
Copy pathCargo.toml
File metadata and controls
144 lines (124 loc) · 3.69 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[workspace]
members = [
# core
"facet-core",
"facet",
# derive macro
"facet-macros-impl",
"facet-macros",
# macro ecosystem (plugin support)
"facet-macro-types",
"facet-macro-parse",
# "facet-macro-template", # TODO: re-enable when plugin system is ready
# error derive plugin
"facet-error",
# default derive plugin
"facet-default",
# reflection
"facet-reflect",
# constraint solver
"facet-solver",
# test helpers
"facet-testhelpers",
"facet-testhelpers-macros",
"facet-testattrs",
# pretty printing
"facet-pretty",
# misc.
"facet-urlencoded",
# utilities
"facet-value",
"facet-path",
"facet-validate",
# showcase infrastructure
"facet-showcase",
"facet-shapelike",
# format crates
"facet-dessert",
"facet-format",
"facet-json",
"facet-json-classics",
"facet-postcard",
"facet-msgpack",
"facet-toml",
"facet-yaml",
"facet-format-suite",
"facet-asn1",
"facet-csv",
"facet-xdr",
"facet-json-schema",
"facet-typescript",
"facet-python",
]
exclude = [
# proto-attr experiment uses nightly features
"proto-attr",
# tools/ has its own workspace
"tools",
]
resolver = "3"
[workspace.package]
version = "0.43.2"
edition = "2024"
rust-version = "1.90"
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet"
[workspace.dependencies]
facet-core = { path = "facet-core" }
facet-pretty = { path = "facet-pretty" }
arborium = { version = "^2.4.5", default-features = false, features = ["lang-json"] }
autocfg = "^1.5.0"
bolero = "^0.13.4"
bytes = { version = "^1.11.0", default-features = false }
bytestring = { version = "^1.4.0", default-features = false }
camino = "^1.2.1"
compact_str = { version = "^0.9.0", default-features = false }
chrono = { version = "^0.4.42", default-features = false, features = ["alloc"] }
divan = "^0.1.21"
eyre = "^0.6.12"
http = "^1.4.0"
indexmap = { version = "^2.12.1", default-features = false }
indoc = "^2.0.7"
insta = "^1.44.3"
jiff = "^0.2.16"
log = { version = "^0.4.29", features = ["std"] }
owo-colors = "^4.2.3"
proc-macro2 = "1"
quote = "1"
serde = { version = "^1.0.228", default-features = false, features = ["alloc", "derive"] }
serde_json = { version = "^1.0.145", features = ["alloc"] }
smartstring = { version = "^1.0.1", default-features = false }
smol_str = { version = "^0.3.4", default-features = false }
static_assertions = "^1.1.0"
strsim = "0.11"
tempfile = "^3.23.0"
time = { version = "^0.3.44", features = ["formatting", "macros", "parsing"] }
tokio = { version = "^1.48.0", default-features = false, features = ["macros"] }
tracing = { version = "^0.1.43", default-features = false, features = ["std"] }
tracing-subscriber = { version = "^0.3.22", default-features = false, features = ["fmt", "std"] }
ulid = "^1.2.1"
unsynn = "^0.3.0"
uuid = "^1.19.0"
rust_decimal = { version = "^1.38.0", default-features = false, features = ["std"] }
smallvec = { version = "^1.15", default-features = false }
iddqd = { version = "^0.3", default-features = false }
libtest-mimic = "^0.8.1"
# Allow the facet_no_doc cfg in generated code
# See: https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(facet_no_doc)", "cfg(kani)"] }
[workspace.lints.clippy]
# Box::leak is always a bug in this codebase - it hides lifetime problems instead of solving them
disallowed_methods = "deny"
# Profiling profile - release optimizations with line tables for callgrind/perf
[profile.profiling]
inherits = "release"
debug = "line-tables-only"
# Fuzzing profile for cargo-bolero
[profile.fuzz]
inherits = "dev"
opt-level = 3
incremental = false
codegen-units = 1
[profile.dev.package.backtrace]
opt-level = 3