mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-10 20:40:30 -06:00
UPD.1: honor pretend versions and restore dev-testkit checks (#2486)
This commit is contained in:
Generated
+1
-1
@@ -1191,7 +1191,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "craft-update"
|
name = "craft-update"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/storytold/craft-libs?rev=1065653e75854e9c17e1ff563acdd344c1b185f0#1065653e75854e9c17e1ff563acdd344c1b185f0"
|
source = "git+https://github.com/storytold/craft-libs?rev=04aa1703b32d299e54f78fcde4182f2b393a9116#04aa1703b32d299e54f78fcde4182f2b393a9116"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"dunce",
|
"dunce",
|
||||||
|
|||||||
+2
-2
@@ -65,8 +65,8 @@ eframe = { version = "0.37", default-features = false }
|
|||||||
egui-wgpu = "0.37"
|
egui-wgpu = "0.37"
|
||||||
# Monotonic time on native and web (performance.now on wasm).
|
# Monotonic time on native and web (performance.now on wasm).
|
||||||
web-time = "1.1"
|
web-time = "1.1"
|
||||||
# craft-update with storytold/craft-libs#434: the update prompt shows the app's icon, accent and developer.
|
# craft-update: app-specific pretend versions apply to startup and manual checks.
|
||||||
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "1065653e75854e9c17e1ff563acdd344c1b185f0", features = ["egui"] }
|
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "04aa1703b32d299e54f78fcde4182f2b393a9116", features = ["egui"] }
|
||||||
rfd = "0.17"
|
rfd = "0.17"
|
||||||
arboard = { version = "3.6", default-features = false }
|
arboard = { version = "3.6", default-features = false }
|
||||||
|
|
||||||
|
|||||||
@@ -96,3 +96,6 @@ real_name = "Doan Huynh Huu Khuong"
|
|||||||
display_name = "Doan Huynh Huu Khuong"
|
display_name = "Doan Huynh Huu Khuong"
|
||||||
sync_github_name = false
|
sync_github_name = false
|
||||||
|
|
||||||
|
|
||||||
|
[people.dylanmtaylor]
|
||||||
|
sync_github_name = true
|
||||||
|
|||||||
@@ -170,6 +170,8 @@ pub fn check(crates: &[Crate]) -> Vec<Violation> {
|
|||||||
Some(Class::Testkit) if d.kind != DepKind::Dev => {
|
Some(Class::Testkit) if d.kind != DepKind::Dev => {
|
||||||
out.push(Violation::TestkitAsNormalDep { krate: c.name.clone() });
|
out.push(Violation::TestkitAsNormalDep { krate: c.name.clone() });
|
||||||
}
|
}
|
||||||
|
// Test support is allowed as a dev-dependency, regardless of its layer.
|
||||||
|
Some(Class::Testkit) => {}
|
||||||
Some(dc) => {
|
Some(dc) => {
|
||||||
let to = dc.layer().unwrap_or(u8::MAX);
|
let to = dc.layer().unwrap_or(u8::MAX);
|
||||||
if to >= layer && !(to == layer && intra_layer_allowed(&c.name, &d.name)) {
|
if to >= layer && !(to == layer && intra_layer_allowed(&c.name, &d.name)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user