2 # cargo-vet config file
7 [imports.bytecode-alliance]
8 url = "https://raw.githubusercontent.com/bytecodealliance/wasmtime/main/supply-chain/audits.toml"
10 [imports.embark-studios]
11 url = "https://raw.githubusercontent.com/EmbarkStudios/rust-ecosystem/main/audits.toml"
14 url = "https://raw.githubusercontent.com/google/supply-chain/main/audits.toml"
17 url = "https://raw.githubusercontent.com/divviup/libprio-rs/main/supply-chain/audits.toml"
20 url = "https://raw.githubusercontent.com/mozilla/supply-chain/main/audits.toml"
22 [policy.allocator-api2]
23 audit-as-crates-io = true
24 notes = "This is the upstream code without the Box implementation which may have a soundness issue."
26 [policy.any_all_workaround]
27 audit-as-crates-io = true
28 notes = "This is the upstream code plus the ARM intrinsics workaround from qcms, see bug 1882209."
31 audit-as-crates-io = true
32 notes = "This is the upstream code plus a few local fixes, see bug 1685697."
34 [policy."bindgen:0.69.4"]
35 audit-as-crates-io = true
36 notes = "This is the upstream code plus a fix for clang trunk. See bug 1894093."
39 audit-as-crates-io = true
40 notes = "This is a crate Henri wrote which is also published. We should probably update Firefox to tip and certify that."
43 audit-as-crates-io = true
44 notes = "This is a crate Henri wrote which is also published. We should probably update Firefox to tip and certify that."
47 audit-as-crates-io = true
48 notes = "This is a pinned version of the upstream code, presumably to get a fix that hadn't been released yet. We should consider switching to the latest official release."
51 audit-as-crates-io = true
52 notes = "This is upstream plus a warning fix from bug 1823866."
54 [policy.firefox-on-glean]
55 audit-as-crates-io = false
56 notes = "The crates.io version of this is just a placeholder to allow public crates to depend on firefox-on-glean."
59 audit-as-crates-io = false
60 criteria = "safe-to-run"
61 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here. It's also used only for automation, so its subtree can be safe-to-run."
64 criteria = "safe-to-run"
65 notes = "Used for testing."
67 [policy.gkrust-shared]
68 dependency-criteria = { tokio-reactor = [], tokio-threadpool = [] }
69 notes = "The dependencies on tokio-reactor and tokio-threadpools are just a hack to pin the version used by audioipc-{client,server}. Suppress vetting on those for the same reasons behind the policy entries."
72 criteria = "safe-to-run"
73 notes = "Used for fuzzing."
76 criteria = "safe-to-run"
77 notes = "Used for testing."
80 audit-as-crates-io = true
81 notes = "Patched version of upstream"
83 [policy.icu_segmenter_data]
84 audit-as-crates-io = true
85 notes = "Patched version of upstream"
88 dependency-criteria = { fluent-testing = "safe-to-run", tokio = "safe-to-run" }
89 notes = "This crate has two testing-only dependencies which are specified as regular-but-optional rather than a dev-dependencies, because they need to be available to both benchmarks and integration tests."
92 audit-as-crates-io = false
93 notes = "This override is an api-compatible fork with an orthogonal implementation."
95 [policy."libz-rs-sys:0.2.1@git:4aa430ccb77537d0d60dab8db993ca51bb1194c5"]
96 audit-as-crates-io = true
98 [policy.malloc_size_of_derive]
99 audit-as-crates-io = false
100 notes = "This was originally servo code which Bobby Holley put on crates.io some years ago and that was moved in-tree as first-party code later on."
103 audit-as-crates-io = false
104 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here."
107 audit-as-crates-io = true
108 notes = "This is a pinned version of the upstream code, presumably to get a fix that hadn't been released yet. We should consider switching to the latest official release."
111 audit-as-crates-io = false
112 notes = "The crates.io version of this is just a placeholder to allow public crates to depend on mozbuild."
115 audit-as-crates-io = false
116 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here."
118 [policy.mozglue-static]
119 dependency-criteria = { rustc_version = "safe-to-run" }
120 notes = "The rustc_version dependency is only used in the build script, and does not generate any runtime code"
122 [policy.mozilla-central-workspace-hack]
123 audit-as-crates-io = false
124 criteria = "safe-to-run"
125 notes = "This is a first-party crate which is also published to crates.io as a convenience for other in-tree crates that depend on it and are published as well. The dependencies from this crate are dependencies of other crates that will get the right criteria through them, but using safe-to-deploy for this one would be too broad."
128 audit-as-crates-io = false
129 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here."
132 audit-as-crates-io = false
133 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here."
136 audit-as-crates-io = false
137 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here."
140 audit-as-crates-io = false
142 [policy.mp4parse_capi]
143 audit-as-crates-io = false
146 audit-as-crates-io = true
147 notes = "Part of the wgpu repository, pinned as the rest of wgpu crates."
150 audit-as-crates-io = false
152 [policy.peek-poke-derive]
153 audit-as-crates-io = false
156 audit-as-crates-io = true
157 notes = "This is the upstream code plus one local fix, see bug 1874167."
160 audit-as-crates-io = false
161 notes = "This is a first-party crate which is entirely unrelated to the crates.io package of the same name."
164 audit-as-crates-io = true
165 notes = "This is a first-party crate which is also published to crates.io, but we should publish audits for it for the benefit of the ecosystem."
168 audit-as-crates-io = true
169 notes = "Identical to upstream, but with cdylib and staticlib targets disabled to avoid unnecessary build artifacts and linker errors."
172 audit-as-crates-io = true
173 notes = "This is a first-party crate which is also published to crates.io, but we should publish audits for it for the benefit of the ecosystem."
176 audit-as-crates-io = true
177 notes = "This is a first-party crate which is also published to crates.io, but we should publish audits for it for the benefit of the ecosystem."
180 criteria = "safe-to-run"
181 notes = "We're not shipping this and have no plans to ship it."
184 audit-as-crates-io = false
185 notes = "This is a first-party crate which is entirely unrelated to the crates.io package of the same name."
188 audit-as-crates-io = false
189 notes = "This is a first-party crate, maintained by the appservices team, which is entirely unrelated to the crates.io package of the same name."
192 audit-as-crates-io = true
193 notes = "This is a first-party crate which is also published to crates.io"
195 [policy.to_shmem_derive]
196 audit-as-crates-io = true
197 notes = "This is a first-party crate which is also published to crates.io"
199 [policy.unicode-bidi]
200 audit-as-crates-io = true
203 audit-as-crates-io = false
204 notes = "This is a first-party crate, maintained by the appservices team, which is entirely unrelated to the crates.io package of the same name."
207 audit-as-crates-io = false
208 criteria = "safe-to-run"
209 notes = "This is a first-party crate which is also published to crates.io. We certify audits for this crate as part of the documented release process, but that step happens after the version bump lands on central so we don't enforce it here. It's also used only for automation, so its subtree can be safe-to-run."
212 audit-as-crates-io = false
214 [policy.webrender_api]
215 audit-as-crates-io = false
217 [policy.webrender_build]
218 audit-as-crates-io = false
221 audit-as-crates-io = true
222 notes = "Upstream project which we pin."
225 audit-as-crates-io = true
226 notes = "Upstream project which we pin."
229 audit-as-crates-io = true
230 notes = "Upstream project which we pin."
233 audit-as-crates-io = true
234 notes = "Local override of the crates.io crate that uses a non-vendored local copy of the downloaded crate"
236 [policy.wr_malloc_size_of]
237 audit-as-crates-io = false
239 [policy."zlib-rs:0.2.1@git:4aa430ccb77537d0d60dab8db993ca51bb1194c5"]
240 audit-as-crates-io = true
244 criteria = "safe-to-deploy"
248 criteria = "safe-to-deploy"
250 [[exemptions.alsa-sys]]
252 criteria = "safe-to-deploy"
254 [[exemptions.android_log-sys]]
256 criteria = "safe-to-deploy"
258 [[exemptions.askama_derive]]
260 criteria = "safe-to-deploy"
262 [[exemptions.askama_escape]]
264 criteria = "safe-to-deploy"
266 [[exemptions.async-task]]
268 criteria = "safe-to-deploy"
270 [[exemptions.bincode]]
272 criteria = "safe-to-deploy"
274 [[exemptions.bitreader]]
276 criteria = "safe-to-deploy"
280 criteria = "safe-to-deploy"
282 [[exemptions.cache-padded]]
284 criteria = "safe-to-deploy"
286 [[exemptions.camino]]
288 criteria = "safe-to-deploy"
290 [[exemptions.chrono]]
292 criteria = "safe-to-deploy"
294 [[exemptions.chunky-vec]]
296 criteria = "safe-to-deploy"
298 [[exemptions.clang-sys]]
300 criteria = "safe-to-deploy"
302 [[exemptions.cookie]]
304 criteria = "safe-to-run"
306 [[exemptions.coreaudio-sys]]
308 criteria = "safe-to-deploy"
310 [[exemptions.coremidi]]
311 version = "0.6.0@git:fc68464b5445caf111e41f643a2e69ccce0b4f83"
312 criteria = "safe-to-deploy"
314 [[exemptions.coremidi-sys]]
316 criteria = "safe-to-deploy"
320 criteria = "safe-to-deploy"
322 [[exemptions.cose-c]]
324 criteria = "safe-to-deploy"
326 [[exemptions.cpufeatures]]
328 criteria = "safe-to-deploy"
330 [[exemptions.crossbeam-channel]]
332 criteria = "safe-to-deploy"
334 [[exemptions.crossbeam-deque]]
336 criteria = "safe-to-deploy"
338 [[exemptions.crossbeam-epoch]]
340 criteria = "safe-to-deploy"
342 [[exemptions.crossbeam-utils]]
344 criteria = "safe-to-deploy"
346 [[exemptions.darling]]
348 criteria = "safe-to-deploy"
350 [[exemptions.darling_core]]
352 criteria = "safe-to-deploy"
354 [[exemptions.darling_macro]]
356 criteria = "safe-to-deploy"
358 [[exemptions.data-encoding]]
360 criteria = "safe-to-deploy"
364 criteria = "safe-to-deploy"
366 [[exemptions.derive_more-impl]]
367 version = "1.0.0-beta.2"
368 criteria = "safe-to-deploy"
369 notes = "The crate is new to version 1.0.x, and derived from older versions of derive_more. The differences against 0.99.17 have been audited, but cargo-vet cannot record this information."
371 [[exemptions.devd-rs]]
373 criteria = "safe-to-deploy"
375 [[exemptions.digest]]
377 criteria = "safe-to-deploy"
381 criteria = "safe-to-deploy"
383 [[exemptions.dirs-sys]]
385 criteria = "safe-to-deploy"
387 [[exemptions.dns-parser]]
389 criteria = "safe-to-deploy"
391 [[exemptions.enumset]]
393 criteria = "safe-to-deploy"
395 [[exemptions.enumset_derive]]
397 criteria = "safe-to-deploy"
399 [[exemptions.env_logger]]
401 criteria = "safe-to-deploy"
403 [[exemptions.error-chain]]
405 criteria = "safe-to-deploy"
407 [[exemptions.fallible-iterator]]
409 criteria = "safe-to-deploy"
411 [[exemptions.fallible-streaming-iterator]]
413 criteria = "safe-to-deploy"
415 [[exemptions.fallible_collections]]
417 criteria = "safe-to-deploy"
419 [[exemptions.ffi-support]]
421 criteria = "safe-to-deploy"
423 [[exemptions.float-cmp]]
425 criteria = "safe-to-deploy"
427 [[exemptions.fs-err]]
429 criteria = "safe-to-deploy"
431 [[exemptions.futures-macro]]
433 criteria = "safe-to-deploy"
435 [[exemptions.futures-task]]
437 criteria = "safe-to-deploy"
439 [[exemptions.futures-util]]
441 criteria = "safe-to-deploy"
443 [[exemptions.generic-array]]
445 criteria = "safe-to-deploy"
447 [[exemptions.getrandom]]
449 criteria = "safe-to-deploy"
451 [[exemptions.gl_generator]]
453 criteria = "safe-to-deploy"
457 criteria = "safe-to-deploy"
459 [[exemptions.goblin]]
461 criteria = "safe-to-deploy"
463 [[exemptions.gpu-alloc]]
465 criteria = "safe-to-deploy"
467 [[exemptions.gpu-alloc-types]]
469 criteria = "safe-to-deploy"
471 [[exemptions.gpu-descriptor]]
473 criteria = "safe-to-deploy"
475 [[exemptions.gpu-descriptor-types]]
477 criteria = "safe-to-deploy"
479 [[exemptions.hashlink]]
481 criteria = "safe-to-deploy"
483 [[exemptions.hexf-parse]]
485 criteria = "safe-to-deploy"
487 [[exemptions.ioctl-sys]]
489 criteria = "safe-to-deploy"
491 [[exemptions.itertools]]
493 criteria = "safe-to-deploy"
495 [[exemptions.khronos-egl]]
497 criteria = "safe-to-deploy"
499 [[exemptions.khronos_api]]
501 criteria = "safe-to-deploy"
503 [[exemptions.lazycell]]
505 criteria = "safe-to-deploy"
507 [[exemptions.libdbus-sys]]
509 criteria = "safe-to-deploy"
511 [[exemptions.libloading]]
513 criteria = "safe-to-deploy"
515 [[exemptions.libsqlite3-sys]]
517 criteria = "safe-to-deploy"
519 notes = "The in-gecko feature that we enable makes only pre-built bindings used, and none of the embedded C code is built. The build script was audited and is not doing anything besides exposing those bindings"
521 [[exemptions.libudev]]
523 criteria = "safe-to-deploy"
525 [[exemptions.lmdb-rkv-sys]]
527 criteria = "safe-to-deploy"
529 notes = "This crate is forked from another crate and not developed in-house. Given that LMDB-backed RKV is going away, we will probably never bother auditing this"
533 criteria = "safe-to-deploy"
535 [[exemptions.memalloc]]
537 criteria = "safe-to-deploy"
539 [[exemptions.memmap2]]
541 criteria = "safe-to-deploy"
543 [[exemptions.memoffset]]
545 criteria = "safe-to-deploy"
549 criteria = "safe-to-deploy"
551 [[exemptions.mime_guess]]
553 criteria = "safe-to-deploy"
555 [[exemptions.minimal-lexical]]
557 criteria = "safe-to-deploy"
561 criteria = "safe-to-deploy"
563 [[exemptions.murmurhash3]]
565 criteria = "safe-to-deploy"
569 criteria = "safe-to-deploy"
573 criteria = "safe-to-deploy"
575 [[exemptions.object]]
577 criteria = "safe-to-deploy"
579 [[exemptions.once_cell]]
581 criteria = "safe-to-deploy"
585 criteria = "safe-to-deploy"
587 [[exemptions.phf_codegen]]
589 criteria = "safe-to-deploy"
591 [[exemptions.phf_generator]]
593 criteria = "safe-to-deploy"
595 [[exemptions.phf_macros]]
597 criteria = "safe-to-deploy"
599 [[exemptions.phf_shared]]
601 criteria = "safe-to-deploy"
605 criteria = "safe-to-deploy"
609 criteria = "safe-to-run"
611 [[exemptions.ppv-lite86]]
613 criteria = "safe-to-deploy"
615 [[exemptions.profiling]]
617 criteria = "safe-to-deploy"
621 criteria = "safe-to-deploy"
623 [[exemptions.prost-derive]]
625 criteria = "safe-to-deploy"
627 [[exemptions.quick-error]]
629 criteria = "safe-to-deploy"
633 criteria = "safe-to-deploy"
635 [[exemptions.remove_dir_all]]
637 criteria = "safe-to-deploy"
639 [[exemptions.replace_with]]
641 criteria = "safe-to-deploy"
643 [[exemptions.ringbuf]]
645 criteria = "safe-to-deploy"
649 criteria = "safe-to-deploy"
651 [[exemptions.runloop]]
653 criteria = "safe-to-deploy"
655 [[exemptions.rusqlite]]
657 criteria = "safe-to-deploy"
659 [[exemptions.rust-ini]]
661 criteria = "safe-to-deploy"
663 [[exemptions.rust_decimal]]
665 criteria = "safe-to-deploy"
667 [[exemptions.scroll]]
669 criteria = "safe-to-deploy"
671 [[exemptions.scroll_derive]]
673 criteria = "safe-to-deploy"
675 [[exemptions.self_cell]]
677 criteria = "safe-to-deploy"
679 [[exemptions.serde_with]]
681 criteria = "safe-to-deploy"
683 [[exemptions.serde_with_macros]]
685 criteria = "safe-to-deploy"
689 criteria = "safe-to-deploy"
693 criteria = "safe-to-deploy"
695 [[exemptions.siphasher]]
697 criteria = "safe-to-deploy"
699 [[exemptions.socket2]]
701 criteria = "safe-to-deploy"
704 version = "0.2.0+1.5.4"
705 criteria = "safe-to-deploy"
707 [[exemptions.stable_deref_trait]]
709 criteria = "safe-to-deploy"
711 [[exemptions.tempfile]]
713 criteria = "safe-to-deploy"
717 criteria = "safe-to-deploy"
719 [[exemptions.triple_buffer]]
721 criteria = "safe-to-deploy"
723 [[exemptions.type-map]]
725 criteria = "safe-to-deploy"
727 [[exemptions.typenum]]
729 criteria = "safe-to-deploy"
731 [[exemptions.unix_path]]
733 criteria = "safe-to-run"
735 [[exemptions.unix_str]]
737 criteria = "safe-to-run"
741 criteria = "safe-to-deploy"
743 [[exemptions.webrtc-sdp]]
745 criteria = "safe-to-deploy"
747 [[exemptions.winapi]]
749 criteria = "safe-to-deploy"
751 [[exemptions.winapi-i686-pc-windows-gnu]]
753 criteria = "safe-to-deploy"
755 [[exemptions.winapi-x86_64-pc-windows-gnu]]
757 criteria = "safe-to-deploy"
761 criteria = "safe-to-deploy"
763 [[exemptions.xml-rs]]
765 criteria = "safe-to-deploy"