diff --git a/Cargo.toml b/Cargo.toml index aa664a462..97288f281 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -156,3 +156,5 @@ opt-level = 3 [profile.dev.package.similar] opt-level = 3 + +[workspace] diff --git a/examples/01_allow_license/Cargo.toml b/examples/01_allow_license/Cargo.toml index e85d88a57..ff65e878f 100644 --- a/examples/01_allow_license/Cargo.toml +++ b/examples/01_allow_license/Cargo.toml @@ -12,3 +12,5 @@ path = "main.rs" [dependencies] shared = { path = "../shared" } las = { version = "=0.7.7", features = ["laz"] } + +[workspace] diff --git a/examples/02_deny_license/Cargo.toml b/examples/02_deny_license/Cargo.toml index 444078700..9a1418991 100644 --- a/examples/02_deny_license/Cargo.toml +++ b/examples/02_deny_license/Cargo.toml @@ -8,3 +8,5 @@ edition = "2018" [[bin]] name = "deny-license" path = "main.rs" + +[workspace] diff --git a/examples/03_deny_copyleft/Cargo.toml b/examples/03_deny_copyleft/Cargo.toml index 64d466fad..b46f84c90 100644 --- a/examples/03_deny_copyleft/Cargo.toml +++ b/examples/03_deny_copyleft/Cargo.toml @@ -8,3 +8,5 @@ edition = "2018" [[bin]] name = "deny-copyleft" path = "main.rs" + +[workspace] diff --git a/examples/04_gnu_licenses/Cargo.toml b/examples/04_gnu_licenses/Cargo.toml index c3ac64f5a..152f17146 100644 --- a/examples/04_gnu_licenses/Cargo.toml +++ b/examples/04_gnu_licenses/Cargo.toml @@ -8,3 +8,5 @@ edition = "2018" [[bin]] name = "gnu-license" path = "main.rs" + +[workspace] diff --git a/examples/06_advisories/Cargo.toml b/examples/06_advisories/Cargo.toml index 3e791b1f4..731ee7d5f 100644 --- a/examples/06_advisories/Cargo.toml +++ b/examples/06_advisories/Cargo.toml @@ -31,3 +31,5 @@ static_type_map = "0.3" # The advisory applies to 0.10.0-alpha.1 >= && < 0.10.0-alpha.4 # https://github.com/RustSec/advisory-db/blob/c71cfec8c3fe313c9445a9ab0ae9b7faedda850a/crates/lettre/RUSTSEC-2020-0069.md lettre = "0.10.0-alpha.3" + +[workspace] diff --git a/examples/07_deny_sources/Cargo.toml b/examples/07_deny_sources/Cargo.toml index 2525d9977..ffd299142 100644 --- a/examples/07_deny_sources/Cargo.toml +++ b/examples/07_deny_sources/Cargo.toml @@ -22,3 +22,5 @@ gitea-release = { git = "https://tulpa.dev/cadey/gitea-release" } # This will not be since the base path doesn't match mlua_serde = { git = "https://tulpa.dev/lua/mlua_serde" } + +[workspace] diff --git a/examples/08_target_filtering/Cargo.toml b/examples/08_target_filtering/Cargo.toml index 642ad78b7..dd5fec6cd 100644 --- a/examples/08_target_filtering/Cargo.toml +++ b/examples/08_target_filtering/Cargo.toml @@ -40,3 +40,5 @@ difference = "2.0.0" [target.'cfg(all(target_arch = "wasm32", target_feature = "atomics"))'.dependencies] wasm-bindgen-futures = "0.4.6" + +[workspace] diff --git a/examples/09_bans/Cargo.toml b/examples/09_bans/Cargo.toml index c076441f4..169ef1e55 100644 --- a/examples/09_bans/Cargo.toml +++ b/examples/09_bans/Cargo.toml @@ -13,3 +13,5 @@ version = "0.10.1" # duplicate as well! # default-features = false # features = ["rustls"] + +[workspace] diff --git a/examples/10_allow_build_script/Cargo.toml b/examples/10_allow_build_script/Cargo.toml index b8e1045a6..d06813c5e 100644 --- a/examples/10_allow_build_script/Cargo.toml +++ b/examples/10_allow_build_script/Cargo.toml @@ -5,3 +5,5 @@ edition = "2021" [dependencies] openssl-sys = "0.9.74" + +[workspace] diff --git a/examples/11_feature_bans/Cargo.toml b/examples/11_feature_bans/Cargo.toml index ccb85a522..46e008ec6 100644 --- a/examples/11_feature_bans/Cargo.toml +++ b/examples/11_feature_bans/Cargo.toml @@ -10,3 +10,5 @@ reqwest = { version = "=0.11.11", default-features = false, features = [ [features] foo = [] + +[workspace] diff --git a/examples/12_yank_check/Cargo.toml b/examples/12_yank_check/Cargo.toml index 16ee90567..3598b1705 100644 --- a/examples/12_yank_check/Cargo.toml +++ b/examples/12_yank_check/Cargo.toml @@ -14,3 +14,5 @@ spdx = "=0.3.1" crate-two = { version = "=0.1.0", registry = "embark-deny" } # This one is not crate-one = { version = "=0.1.0", registry = "embark-deny-sparse" } + +[workspace] diff --git a/examples/13_license_clarification/Cargo.toml b/examples/13_license_clarification/Cargo.toml index 22cfb9926..25ae79cbe 100644 --- a/examples/13_license_clarification/Cargo.toml +++ b/examples/13_license_clarification/Cargo.toml @@ -11,3 +11,5 @@ path = "main.rs" [dependencies] rustls-webpki = "=0.100.1" + +[workspace] diff --git a/examples/shared/Cargo.toml b/examples/shared/Cargo.toml index 0c8d088ba..277a58891 100644 --- a/examples/shared/Cargo.toml +++ b/examples/shared/Cargo.toml @@ -7,3 +7,5 @@ publish = false [lib] path = "lib.rs" + +[workspace] diff --git a/tests/test_data/allow_wrappers/dangerous-dep/Cargo.toml b/tests/test_data/allow_wrappers/dangerous-dep/Cargo.toml index a185a637a..578de32d1 100644 --- a/tests/test_data/allow_wrappers/dangerous-dep/Cargo.toml +++ b/tests/test_data/allow_wrappers/dangerous-dep/Cargo.toml @@ -7,3 +7,5 @@ license = "MIT" [features] not-dangerous-at-all = [] + +[workspace] diff --git a/tests/test_data/allow_wrappers/maincrate/Cargo.toml b/tests/test_data/allow_wrappers/maincrate/Cargo.toml index 83fc27b56..b4e870ca4 100644 --- a/tests/test_data/allow_wrappers/maincrate/Cargo.toml +++ b/tests/test_data/allow_wrappers/maincrate/Cargo.toml @@ -7,3 +7,5 @@ license = "MIT" [dependencies] safe-wrapper = { path = "../safe-wrapper", version = "0.1.0" } + +[workspace] diff --git a/tests/test_data/allow_wrappers/safe-wrapper/Cargo.toml b/tests/test_data/allow_wrappers/safe-wrapper/Cargo.toml index 4eb4c2601..18803a78b 100644 --- a/tests/test_data/allow_wrappers/safe-wrapper/Cargo.toml +++ b/tests/test_data/allow_wrappers/safe-wrapper/Cargo.toml @@ -9,3 +9,5 @@ license = "MIT" dangerous-dep = { version = "0.1.0", path = "../dangerous-dep", features = [ "not-dangerous-at-all", ] } + +[workspace] diff --git a/tests/test_data/build-bans/Cargo.toml b/tests/test_data/build-bans/Cargo.toml index 8d1844848..44afb36f1 100644 --- a/tests/test_data/build-bans/Cargo.toml +++ b/tests/test_data/build-bans/Cargo.toml @@ -19,3 +19,5 @@ prost-build = { version = "<0.10", optional = true } ring = { version = "0.16.20", optional = true } # The shot heard around the world serde = { version = "=1.0.172", features = ["derive"], optional = true } + +[workspace] diff --git a/tests/test_data/duplicates/Cargo.toml b/tests/test_data/duplicates/Cargo.toml index b12ec99a1..84a8b3c12 100644 --- a/tests/test_data/duplicates/Cargo.toml +++ b/tests/test_data/duplicates/Cargo.toml @@ -8,3 +8,5 @@ sqlx = "0.5" [dev-dependencies] async-graphql = "3.0" + +[workspace] diff --git a/tests/test_data/features-galore/Cargo.toml b/tests/test_data/features-galore/Cargo.toml index 2d07afeb9..4528ca1f4 100644 --- a/tests/test_data/features-galore/Cargo.toml +++ b/tests/test_data/features-galore/Cargo.toml @@ -42,3 +42,5 @@ stream = ["request?/stream"] tls = ["tls-no-reqwest", "request?/rustls-tls"] tls-no-reqwest = ["rustls"] zlib = ["git/zlib-ng-compat", "request?/deflate"] + +[workspace] diff --git a/tests/test_data/features/Cargo.toml b/tests/test_data/features/Cargo.toml index 00c317839..a41bec82b 100644 --- a/tests/test_data/features/Cargo.toml +++ b/tests/test_data/features/Cargo.toml @@ -33,3 +33,5 @@ serde = ["dep:serde", "rgb?/serde"] stream = ["request?/stream"] zlib = ["git/zlib-ng-compat", "request?/deflate"] ssh = ["git/ssh", "git/ssh_key_from_memory"] + +[workspace] diff --git a/tests/test_data/non-crates-io/Cargo.toml b/tests/test_data/non-crates-io/Cargo.toml index aad346cbb..0e03236f8 100644 --- a/tests/test_data/non-crates-io/Cargo.toml +++ b/tests/test_data/non-crates-io/Cargo.toml @@ -6,3 +6,5 @@ edition = "2021" [dependencies] from-git = { version = "*", package = "crate-one", registry = "embark-deny-git" } from-sparse = { version = "*", package = "crate-two", registry = "embark-deny-sparse" } + +[workspace] diff --git a/tests/test_data/non-crates-io/crate-one/Cargo.toml b/tests/test_data/non-crates-io/crate-one/Cargo.toml index a0822c9de..620402e61 100644 --- a/tests/test_data/non-crates-io/crate-one/Cargo.toml +++ b/tests/test_data/non-crates-io/crate-one/Cargo.toml @@ -4,3 +4,5 @@ version = "0.1.0" edition = "2021" [dependencies] + +[workspace] diff --git a/tests/test_data/non-crates-io/crate-two/Cargo.toml b/tests/test_data/non-crates-io/crate-two/Cargo.toml index 3b37e4b54..7d461f88d 100644 --- a/tests/test_data/non-crates-io/crate-two/Cargo.toml +++ b/tests/test_data/non-crates-io/crate-two/Cargo.toml @@ -4,3 +4,5 @@ version = "0.2.0" edition = "2021" [dependencies] + +[workspace] diff --git a/tests/test_data/so-annoying/Cargo.toml b/tests/test_data/so-annoying/Cargo.toml index 5194f9cd0..26f9b499f 100644 --- a/tests/test_data/so-annoying/Cargo.toml +++ b/tests/test_data/so-annoying/Cargo.toml @@ -3,3 +3,5 @@ name = "so-annoying" version = "0.1.0" edition = "2021" publish = false + +[workspace] diff --git a/tests/test_data/sources/Cargo.toml b/tests/test_data/sources/Cargo.toml index 88b276229..7a07442b0 100644 --- a/tests/test_data/sources/Cargo.toml +++ b/tests/test_data/sources/Cargo.toml @@ -26,3 +26,5 @@ amethyst_core = { git = "https://gitlab.com/amethyst-engine/amethyst", rev = "0c krates = { git = "https://github.com/EmbarkStudios/krates", branch = "main" } line-wrap = { git = "https://bitbucket.org/marshallpierce/line-wrap-rs" } spdx = { git = "https://github.com/EmbarkStudios/spdx", tag = "0.3.4" } + +[workspace] diff --git a/tests/test_data/wildcards/allow-git/Cargo.toml b/tests/test_data/wildcards/allow-git/Cargo.toml index 0f9e5a589..262a46e55 100644 --- a/tests/test_data/wildcards/allow-git/Cargo.toml +++ b/tests/test_data/wildcards/allow-git/Cargo.toml @@ -12,3 +12,5 @@ publish = false [dependencies] # An arbitrary choice of actually existent Git repository wildcards-test-allow-git = { package = "krates", git = "https://github.com/EmbarkStudios/krates", rev = "b03ecd6f3204a1b1ec04fbaead2d0d122a3a4494" } + +[workspace] diff --git a/tests/test_data/wildcards/allow-paths-dependency/Cargo.toml b/tests/test_data/wildcards/allow-paths-dependency/Cargo.toml index 7bf081e3e..4166805bc 100644 --- a/tests/test_data/wildcards/allow-paths-dependency/Cargo.toml +++ b/tests/test_data/wildcards/allow-paths-dependency/Cargo.toml @@ -9,3 +9,5 @@ license = "MIT" [dependencies] sqlx = "0.5" + +[workspace] diff --git a/tests/test_data/wildcards/allow-paths-private/Cargo.toml b/tests/test_data/wildcards/allow-paths-private/Cargo.toml index 5691a1479..c563069c2 100644 --- a/tests/test_data/wildcards/allow-paths-private/Cargo.toml +++ b/tests/test_data/wildcards/allow-paths-private/Cargo.toml @@ -9,3 +9,5 @@ publish = false [dependencies] wildcards-test-allow-paths-dependency = { path = "../allow-paths-dependency" } + +[workspace] diff --git a/tests/test_data/wildcards/allow-paths-public/Cargo.toml b/tests/test_data/wildcards/allow-paths-public/Cargo.toml index 528c158a4..ff9c25159 100644 --- a/tests/test_data/wildcards/allow-paths-public/Cargo.toml +++ b/tests/test_data/wildcards/allow-paths-public/Cargo.toml @@ -7,3 +7,5 @@ license = "MIT" [dependencies] wildcards-test-allow-paths-dependency = { path = "../allow-paths-dependency" } + +[workspace] diff --git a/tests/test_data/wildcards/dependency/Cargo.toml b/tests/test_data/wildcards/dependency/Cargo.toml index d0cf60726..5d126dc05 100644 --- a/tests/test_data/wildcards/dependency/Cargo.toml +++ b/tests/test_data/wildcards/dependency/Cargo.toml @@ -7,3 +7,5 @@ license = "MIT" [dependencies] itoa = "*" + +[workspace] diff --git a/tests/test_data/wildcards/maincrate/Cargo.toml b/tests/test_data/wildcards/maincrate/Cargo.toml index f325742db..bc42cbebb 100644 --- a/tests/test_data/wildcards/maincrate/Cargo.toml +++ b/tests/test_data/wildcards/maincrate/Cargo.toml @@ -8,3 +8,5 @@ license = "MIT" [dependencies] ansi_term = "*" wildcards-test-dep = { path = "../dependency", version = "0.1.0" } + +[workspace]