2024-04-21 17:05:44 +08:00
|
|
|
# Copied from https://github.com/rerun-io/rerun_template
|
|
|
|
#
|
|
|
|
# https://github.com/EmbarkStudios/cargo-deny
|
|
|
|
#
|
|
|
|
# cargo-deny checks our dependency tree for copy-left licenses,
|
|
|
|
# duplicate dependencies, and rustsec advisories (https://rustsec.org/advisories).
|
|
|
|
#
|
|
|
|
# Install: `cargo install cargo-deny`
|
|
|
|
# Check: `cargo deny check`.
|
|
|
|
|
2022-02-05 05:08:15 +08:00
|
|
|
|
2023-04-18 22:10:53 +08:00
|
|
|
# Note: running just `cargo deny check` without a `--target` can result in
|
|
|
|
# false positives due to https://github.com/EmbarkStudios/cargo-deny/issues/324
|
2024-04-21 17:05:44 +08:00
|
|
|
[graph]
|
2022-02-05 05:08:15 +08:00
|
|
|
targets = [
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ triple = "aarch64-apple-darwin" },
|
|
|
|
{ triple = "i686-pc-windows-gnu" },
|
|
|
|
{ triple = "i686-pc-windows-msvc" },
|
|
|
|
{ triple = "i686-unknown-linux-gnu" },
|
|
|
|
{ triple = "wasm32-unknown-unknown" },
|
|
|
|
{ triple = "x86_64-apple-darwin" },
|
|
|
|
{ triple = "x86_64-pc-windows-gnu" },
|
|
|
|
{ triple = "x86_64-pc-windows-msvc" },
|
|
|
|
{ triple = "x86_64-unknown-linux-gnu" },
|
|
|
|
{ triple = "x86_64-unknown-linux-musl" },
|
|
|
|
{ triple = "x86_64-unknown-redox" },
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
2024-04-21 17:05:44 +08:00
|
|
|
all-features = true
|
|
|
|
|
2022-02-05 05:08:15 +08:00
|
|
|
|
|
|
|
[advisories]
|
2024-04-21 17:05:44 +08:00
|
|
|
version = 2
|
2022-02-05 05:08:15 +08:00
|
|
|
ignore = [
|
2024-04-21 17:05:44 +08:00
|
|
|
"RUSTSEC-2024-0320", # unmaintaines yaml-rust pulled in by syntect
|
|
|
|
{ name = "async-process" }, # yanked crated pulled in by old accesskit
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
|
|
|
|
2024-04-21 17:05:44 +08:00
|
|
|
|
2022-02-05 05:08:15 +08:00
|
|
|
[bans]
|
|
|
|
multiple-versions = "deny"
|
2024-04-21 17:05:44 +08:00
|
|
|
wildcards = "deny"
|
2022-02-05 05:08:15 +08:00
|
|
|
deny = [
|
2024-04-21 17:05:44 +08:00
|
|
|
{ name = "cmake", reason = "It has hurt me too much" },
|
|
|
|
{ name = "openssl-sys", reason = "Use rustls" },
|
|
|
|
{ name = "openssl", reason = "Use rustls" },
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
skip = [
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ name = "bitflags" }, # old 1.0 version via glutin, png, spirv, …
|
2024-04-21 17:05:44 +08:00
|
|
|
{ name = "event-listener" }, # TODO(emilk): rustls pulls in two versions of this 😭
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ name = "libloading" }, # wgpu-hal itself depends on 0.8 while some of its dependencies, like ash and d3d12, depend on 0.7
|
|
|
|
{ name = "memoffset" }, # tiny dependency
|
|
|
|
{ name = "quick-xml" }, # old version via wayland-scanner
|
|
|
|
{ name = "redox_syscall" }, # old version via directories-next
|
|
|
|
{ name = "spin" }, # old version via ring through rusttls and other libraries, newer for wgpu.
|
|
|
|
{ name = "time" }, # old version pulled in by unmaintianed crate 'chrono'
|
|
|
|
{ name = "windows" }, # old version via accesskit_windows
|
|
|
|
{ name = "x11rb-protocol" }, # old version via arboard
|
2024-04-21 17:05:44 +08:00
|
|
|
{ name = "x11rb" }, # old version via arboard
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
|
|
|
skip-tree = [
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ name = "criterion" }, # dev-dependency
|
2024-02-16 17:57:54 +08:00
|
|
|
{ name = "fastrand" }, # old version via accesskit_unix
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ name = "foreign-types" }, # small crate. Old version via cocoa and core-graphics (winit).
|
|
|
|
{ name = "objc2" }, # old version via accesskit_macos
|
2024-02-16 17:57:54 +08:00
|
|
|
{ name = "polling" }, # old version via accesskit_unix
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
{ name = "rfd" }, # example dependency
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
[licenses]
|
2024-04-21 17:05:44 +08:00
|
|
|
version = 2
|
|
|
|
private = { ignore = true }
|
|
|
|
confidence-threshold = 0.93 # We want really high confidence when inferring licenses from text
|
2022-02-05 05:08:15 +08:00
|
|
|
allow = [
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
"Apache-2.0 WITH LLVM-exception", # https://spdx.org/licenses/LLVM-exception.html
|
|
|
|
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
|
|
|
|
"BSD-2-Clause", # https://tldrlegal.com/license/bsd-2-clause-license-(freebsd)
|
|
|
|
"BSD-3-Clause", # https://tldrlegal.com/license/bsd-3-clause-license-(revised)
|
|
|
|
"BSL-1.0", # https://tldrlegal.com/license/boost-software-license-1.0-explained
|
|
|
|
"CC0-1.0", # https://creativecommons.org/publicdomain/zero/1.0/
|
2024-04-21 17:05:44 +08:00
|
|
|
"ISC", # https://www.tldrlegal.com/license/isc-license
|
|
|
|
"LicenseRef-UFL-1.0", # no official SPDX, see https://github.com/emilk/egui/issues/2321
|
|
|
|
"MIT-0", # https://choosealicense.com/licenses/mit-0/
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
"MIT", # https://tldrlegal.com/license/mit-license
|
2024-04-21 17:05:44 +08:00
|
|
|
"MPL-2.0", # https://www.mozilla.org/en-US/MPL/2.0/FAQ/ - see Q11. Used by webpki-roots on Linux.
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
"OFL-1.1", # https://spdx.org/licenses/OFL-1.1.html
|
2024-04-21 17:05:44 +08:00
|
|
|
"OpenSSL", # https://www.openssl.org/source/license.html - used on Linux
|
Bump `winit` to `0.29.7` (#3753)
Compiled changelog below:
- On X11, fix Xft.dpi reload during runtime.
- On X11, fix window minimize.
- On Web, fix context menu not being disabled by
with_prevent_default(true).
- On Wayland, fix WindowEvent::Destroyed not being delivered after
destroying window.
- Fix EventLoopExtRunOnDemand::run_on_demand not working for consequent
invocation
- On macOS, remove spurious error logging when handling Fn.
- On X11, fix an issue where floating point data from the server is
- misinterpreted during a drag and drop operation.
- On X11, fix a bug where focusing the window would panic.
- On macOS, fix refresh_rate_millihertz.
- On Wayland, disable Client Side Decorations when wl_subcompositor is
not supported.
- On X11, fix Xft.dpi detection from Xresources.
- On Windows, fix consecutive calls to
window.set_fullscreen(Some(Fullscreen::Borderless(None))) resulting in
losing previous window state when eventually exiting fullscreen using
window.set_fullscreen(None).
- On Wayland, fix resize being sent on focus change.
- On Windows, fix set_ime_cursor_area.
2024-01-02 14:27:52 +08:00
|
|
|
"Unicode-DFS-2016", # https://spdx.org/licenses/Unicode-DFS-2016.html
|
|
|
|
"Zlib", # https://tldrlegal.com/license/zlib-libpng-license-(zlib)
|
2022-02-05 05:08:15 +08:00
|
|
|
]
|
2024-04-21 17:05:44 +08:00
|
|
|
exceptions = []
|
2022-02-05 05:08:15 +08:00
|
|
|
|
|
|
|
[[licenses.clarify]]
|
|
|
|
name = "webpki"
|
|
|
|
expression = "ISC"
|
2022-04-10 22:41:07 +08:00
|
|
|
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
|
2022-02-05 05:08:15 +08:00
|
|
|
|
|
|
|
[[licenses.clarify]]
|
|
|
|
name = "ring"
|
|
|
|
expression = "MIT AND ISC AND OpenSSL"
|
2022-04-10 22:41:07 +08:00
|
|
|
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
|
2024-04-21 17:05:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
[sources]
|
|
|
|
unknown-registry = "deny"
|
|
|
|
unknown-git = "deny"
|