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"
23 audit-as-crates-io = true
24 notes = "This is the upstream code plus a few local fixes, see bug 1685697."
27 audit-as-crates-io = true
28 notes = "This is a crate Henri wrote which is also published. We should probably update Firefox to tip and certify that."
31 audit-as-crates-io = true
32 notes = "This is a crate Henri wrote which is also published. We should probably update Firefox to tip and certify that."
35 audit-as-crates-io = true
36 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."
39 audit-as-crates-io = true
40 notes = "This is upstream plus a warning fix from bug 1823866."
43 audit-as-crates-io = true
44 notes = "Upstream version not to use syn 1.x"
46 [policy.diplomat-runtime]
47 audit-as-crates-io = true
48 notes = "Upstream version not to use syn 1.x"
50 [policy.diplomat_core]
51 audit-as-crates-io = true
52 notes = "Upstream version not to use syn 1.x"
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."
79 [policy.icu_provider_macros]
80 audit-as-crates-io = true
81 notes = "Upstream version not to use syn 1.x"
84 audit-as-crates-io = false
85 notes = "Customized ICU4X baked data only that Gecko wants"
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.malloc_size_of_derive]
96 audit-as-crates-io = false
97 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."
100 audit-as-crates-io = false
101 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."
104 audit-as-crates-io = true
105 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."
107 [policy."minidump-common:0.17.0@git:6ae42a7f992e8a88ebee661bc77bcedb95cd671f"]
108 audit-as-crates-io = true
109 notes = "Unreleased upstream."
111 [policy.minidump-writer]
112 audit-as-crates-io = true
113 notes = "Unreleased upstream."
115 [policy."mio:0.6.23"]
116 audit-as-crates-io = true
117 notes = "Version 0.6.23 is a local fork of upstream which just twiddles some dependencies."
120 audit-as-crates-io = false
121 notes = "The crates.io version of this is just a placeholder to allow public crates to depend on mozbuild."
124 audit-as-crates-io = false
125 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."
127 [policy.mozglue-static]
128 dependency-criteria = { rustc_version = "safe-to-run" }
129 notes = "The rustc_version dependency is only used in the build script, and does not generate any runtime code"
131 [policy.mozilla-central-workspace-hack]
132 audit-as-crates-io = false
133 criteria = "safe-to-run"
134 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."
137 audit-as-crates-io = false
138 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."
141 audit-as-crates-io = false
142 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."
145 audit-as-crates-io = false
146 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."
149 audit-as-crates-io = false
151 [policy.mp4parse_capi]
152 audit-as-crates-io = false
155 audit-as-crates-io = true
156 notes = "wgpu-core pins this crate."
159 audit-as-crates-io = false
161 [policy.peek-poke-derive]
162 audit-as-crates-io = false
165 audit-as-crates-io = false
166 notes = "This is a first-party crate which is entirely unrelated to the crates.io package of the same name."
169 audit-as-crates-io = true
170 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."
173 audit-as-crates-io = true
174 notes = "Identical to upstream, but with cdylib and staticlib targets disabled to avoid unnecessary build artifacts and linker errors."
177 audit-as-crates-io = true
178 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."
181 audit-as-crates-io = true
182 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."
185 criteria = "safe-to-run"
186 notes = "We're not shipping this and have no plans to ship it."
189 audit-as-crates-io = false
190 notes = "This is a first-party crate which is entirely unrelated to the crates.io package of the same name."
193 audit-as-crates-io = false
194 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."
197 audit-as-crates-io = false
198 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."
201 audit-as-crates-io = true
202 notes = "This is a third-party crate, with an extra patch."
205 audit-as-crates-io = false
206 criteria = "safe-to-run"
207 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."
210 audit-as-crates-io = false
212 [policy.webrender_api]
213 audit-as-crates-io = false
215 [policy.webrender_build]
216 audit-as-crates-io = false
219 audit-as-crates-io = true
220 notes = "Upstream project which we pin."
223 audit-as-crates-io = true
224 notes = "Upstream project which we pin."
227 audit-as-crates-io = true
228 notes = "Upstream project which we pin."
230 [policy.wr_malloc_size_of]
231 audit-as-crates-io = false
234 audit-as-crates-io = true
235 notes = "Upstream version not to use syn 1.x"
237 [policy.zerofrom-derive]
238 audit-as-crates-io = true
239 notes = "Upstream version not to use syn 1.x"
241 [policy.zerovec-derive]
242 audit-as-crates-io = true
243 notes = "Upstream version not to use syn 1.x"
247 criteria = "safe-to-deploy"
251 criteria = "safe-to-deploy"
253 [[exemptions.alsa-sys]]
255 criteria = "safe-to-deploy"
257 [[exemptions.android_log-sys]]
259 criteria = "safe-to-deploy"
261 [[exemptions.askama_derive]]
263 criteria = "safe-to-deploy"
265 [[exemptions.askama_escape]]
267 criteria = "safe-to-deploy"
269 [[exemptions.async-task]]
271 criteria = "safe-to-deploy"
273 [[exemptions.bincode]]
275 criteria = "safe-to-deploy"
277 [[exemptions.bitflags]]
279 criteria = "safe-to-deploy"
281 [[exemptions.bitreader]]
283 criteria = "safe-to-deploy"
287 criteria = "safe-to-deploy"
289 [[exemptions.cache-padded]]
291 criteria = "safe-to-deploy"
293 [[exemptions.camino]]
295 criteria = "safe-to-deploy"
297 [[exemptions.chrono]]
299 criteria = "safe-to-deploy"
301 [[exemptions.chunky-vec]]
303 criteria = "safe-to-deploy"
305 [[exemptions.clang-sys]]
307 criteria = "safe-to-deploy"
309 [[exemptions.cookie]]
311 criteria = "safe-to-run"
313 [[exemptions.coreaudio-sys]]
315 criteria = "safe-to-deploy"
317 [[exemptions.coremidi]]
318 version = "0.6.0@git:fc68464b5445caf111e41f643a2e69ccce0b4f83"
319 criteria = "safe-to-deploy"
321 [[exemptions.coremidi-sys]]
323 criteria = "safe-to-deploy"
327 criteria = "safe-to-deploy"
329 [[exemptions.cose-c]]
331 criteria = "safe-to-deploy"
333 [[exemptions.cpufeatures]]
335 criteria = "safe-to-deploy"
337 [[exemptions.crc32fast]]
339 criteria = "safe-to-deploy"
341 [[exemptions.crossbeam-channel]]
343 criteria = "safe-to-deploy"
345 [[exemptions.crossbeam-deque]]
347 criteria = "safe-to-deploy"
349 [[exemptions.crossbeam-epoch]]
351 criteria = "safe-to-deploy"
353 [[exemptions.crossbeam-utils]]
355 criteria = "safe-to-deploy"
359 criteria = "safe-to-deploy"
361 [[exemptions.darling]]
363 criteria = "safe-to-deploy"
365 [[exemptions.darling_core]]
367 criteria = "safe-to-deploy"
369 [[exemptions.darling_macro]]
371 criteria = "safe-to-deploy"
373 [[exemptions.data-encoding]]
375 criteria = "safe-to-deploy"
379 criteria = "safe-to-deploy"
381 [[exemptions.derive_more-impl]]
382 version = "1.0.0-beta.2"
383 criteria = "safe-to-deploy"
384 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."
386 [[exemptions.devd-rs]]
388 criteria = "safe-to-deploy"
390 [[exemptions.digest]]
392 criteria = "safe-to-deploy"
396 criteria = "safe-to-deploy"
398 [[exemptions.dirs-sys]]
400 criteria = "safe-to-deploy"
402 [[exemptions.dns-parser]]
404 criteria = "safe-to-deploy"
406 [[exemptions.enumset]]
408 criteria = "safe-to-deploy"
410 [[exemptions.enumset_derive]]
412 criteria = "safe-to-deploy"
414 [[exemptions.env_logger]]
416 criteria = "safe-to-deploy"
418 [[exemptions.error-chain]]
420 criteria = "safe-to-deploy"
422 [[exemptions.fallible-iterator]]
424 criteria = "safe-to-deploy"
426 [[exemptions.fallible-streaming-iterator]]
428 criteria = "safe-to-deploy"
430 [[exemptions.fallible_collections]]
432 criteria = "safe-to-deploy"
434 [[exemptions.ffi-support]]
436 criteria = "safe-to-deploy"
438 [[exemptions.float-cmp]]
440 criteria = "safe-to-deploy"
442 [[exemptions.fs-err]]
444 criteria = "safe-to-deploy"
446 [[exemptions.fuchsia-zircon]]
448 criteria = "safe-to-run"
450 [[exemptions.fuchsia-zircon-sys]]
452 criteria = "safe-to-run"
454 [[exemptions.futures-macro]]
456 criteria = "safe-to-deploy"
458 [[exemptions.futures-task]]
460 criteria = "safe-to-deploy"
462 [[exemptions.futures-util]]
464 criteria = "safe-to-deploy"
466 [[exemptions.generic-array]]
468 criteria = "safe-to-deploy"
470 [[exemptions.getrandom]]
472 criteria = "safe-to-deploy"
474 [[exemptions.gl_generator]]
476 criteria = "safe-to-deploy"
480 criteria = "safe-to-deploy"
482 [[exemptions.goblin]]
484 criteria = "safe-to-deploy"
486 [[exemptions.gpu-alloc]]
488 criteria = "safe-to-deploy"
490 [[exemptions.gpu-alloc-types]]
492 criteria = "safe-to-deploy"
494 [[exemptions.gpu-descriptor]]
496 criteria = "safe-to-deploy"
498 [[exemptions.gpu-descriptor-types]]
500 criteria = "safe-to-deploy"
502 [[exemptions.hashlink]]
504 criteria = "safe-to-deploy"
506 [[exemptions.hermit-abi]]
508 criteria = "safe-to-deploy"
510 [[exemptions.hexf-parse]]
512 criteria = "safe-to-deploy"
514 [[exemptions.instant]]
516 criteria = "safe-to-deploy"
518 [[exemptions.ioctl-sys]]
520 criteria = "safe-to-deploy"
522 [[exemptions.itertools]]
524 criteria = "safe-to-deploy"
526 [[exemptions.khronos-egl]]
528 criteria = "safe-to-deploy"
530 [[exemptions.khronos_api]]
532 criteria = "safe-to-deploy"
534 [[exemptions.lazycell]]
536 criteria = "safe-to-deploy"
538 [[exemptions.libdbus-sys]]
540 criteria = "safe-to-deploy"
542 [[exemptions.libloading]]
544 criteria = "safe-to-deploy"
546 [[exemptions.libsqlite3-sys]]
548 criteria = "safe-to-deploy"
550 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"
552 [[exemptions.libudev]]
554 criteria = "safe-to-deploy"
556 [[exemptions.lmdb-rkv-sys]]
558 criteria = "safe-to-deploy"
560 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"
564 criteria = "safe-to-deploy"
566 [[exemptions.memalloc]]
568 criteria = "safe-to-deploy"
570 [[exemptions.memmap2]]
572 criteria = "safe-to-deploy"
574 [[exemptions.memoffset]]
576 criteria = "safe-to-deploy"
580 criteria = "safe-to-deploy"
582 [[exemptions.mime_guess]]
584 criteria = "safe-to-deploy"
586 [[exemptions.minimal-lexical]]
588 criteria = "safe-to-deploy"
590 [[exemptions.miniz_oxide]]
592 criteria = "safe-to-deploy"
596 criteria = "safe-to-deploy"
598 [[exemptions.mio-extras]]
600 criteria = "safe-to-run"
604 criteria = "safe-to-deploy"
606 [[exemptions.murmurhash3]]
608 criteria = "safe-to-deploy"
612 criteria = "safe-to-run"
616 criteria = "safe-to-deploy"
620 criteria = "safe-to-deploy"
624 criteria = "safe-to-deploy"
628 criteria = "safe-to-deploy"
630 [[exemptions.objc_exception]]
632 criteria = "safe-to-deploy"
634 [[exemptions.object]]
636 criteria = "safe-to-deploy"
638 [[exemptions.once_cell]]
640 criteria = "safe-to-deploy"
642 [[exemptions.owning_ref]]
644 criteria = "safe-to-deploy"
646 [[exemptions.packed_simd]]
648 criteria = "safe-to-deploy"
652 criteria = "safe-to-deploy"
654 [[exemptions.phf_codegen]]
656 criteria = "safe-to-deploy"
658 [[exemptions.phf_generator]]
660 criteria = "safe-to-deploy"
662 [[exemptions.phf_macros]]
664 criteria = "safe-to-deploy"
666 [[exemptions.phf_shared]]
668 criteria = "safe-to-deploy"
672 criteria = "safe-to-deploy"
676 criteria = "safe-to-run"
678 [[exemptions.ppv-lite86]]
680 criteria = "safe-to-deploy"
682 [[exemptions.profiling]]
684 criteria = "safe-to-deploy"
688 criteria = "safe-to-deploy"
690 [[exemptions.prost-derive]]
692 criteria = "safe-to-deploy"
696 criteria = "safe-to-deploy"
698 [[exemptions.quick-error]]
700 criteria = "safe-to-deploy"
704 criteria = "safe-to-deploy"
706 [[exemptions.remove_dir_all]]
708 criteria = "safe-to-deploy"
710 [[exemptions.replace_with]]
712 criteria = "safe-to-deploy"
714 [[exemptions.ringbuf]]
716 criteria = "safe-to-deploy"
720 criteria = "safe-to-deploy"
722 [[exemptions.runloop]]
724 criteria = "safe-to-deploy"
726 [[exemptions.rusqlite]]
728 criteria = "safe-to-deploy"
730 [[exemptions.rust-ini]]
732 criteria = "safe-to-deploy"
734 [[exemptions.rust_decimal]]
736 criteria = "safe-to-deploy"
738 [[exemptions.scroll]]
740 criteria = "safe-to-deploy"
742 [[exemptions.scroll_derive]]
744 criteria = "safe-to-deploy"
746 [[exemptions.self_cell]]
748 criteria = "safe-to-deploy"
750 [[exemptions.serde_with]]
752 criteria = "safe-to-deploy"
754 [[exemptions.serde_with_macros]]
756 criteria = "safe-to-deploy"
760 criteria = "safe-to-deploy"
764 criteria = "safe-to-deploy"
766 [[exemptions.siphasher]]
768 criteria = "safe-to-deploy"
770 [[exemptions.socket2]]
772 criteria = "safe-to-deploy"
775 version = "0.2.0+1.5.4"
776 criteria = "safe-to-deploy"
778 [[exemptions.stable_deref_trait]]
780 criteria = "safe-to-deploy"
782 [[exemptions.static_assertions]]
784 criteria = "safe-to-deploy"
786 [[exemptions.strsim]]
788 criteria = "safe-to-deploy"
790 [[exemptions.tempfile]]
792 criteria = "safe-to-deploy"
796 criteria = "safe-to-deploy"
800 criteria = "safe-to-run"
802 [[exemptions.triple_buffer]]
804 criteria = "safe-to-deploy"
806 [[exemptions.type-map]]
808 criteria = "safe-to-deploy"
810 [[exemptions.typenum]]
812 criteria = "safe-to-deploy"
814 [[exemptions.unix_path]]
816 criteria = "safe-to-run"
818 [[exemptions.unix_str]]
820 criteria = "safe-to-run"
824 criteria = "safe-to-deploy"
828 criteria = "safe-to-deploy"
830 [[exemptions.webrtc-sdp]]
832 criteria = "safe-to-deploy"
834 [[exemptions.winapi]]
836 criteria = "safe-to-deploy"
838 [[exemptions.winapi-i686-pc-windows-gnu]]
840 criteria = "safe-to-deploy"
842 [[exemptions.winapi-x86_64-pc-windows-gnu]]
844 criteria = "safe-to-deploy"
848 criteria = "safe-to-deploy"
850 [[exemptions.xml-rs]]
852 criteria = "safe-to-deploy"
856 criteria = "safe-to-run"