Skip to content

Commit

Permalink
Update palette to 0.5.0 for no_std compatibility
Browse files Browse the repository at this point in the history
We are now ready to merge in basic no_std support.
  • Loading branch information
CryZe committed Nov 18, 2019
1 parent 6ca690d commit adcf751
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ chrono = { version = "0.4.0", features = ["serde", "clock"], default-features =
derive_more = { version = "0.99.1", default-features = false, features = ["not", "add", "from", "deref"] }
odds = { version = "0.3.1", default-features = false }
ordered-float = { version = "1.0.2", default-features = false }
palette = { version = "0.4.0", default-features = false }
palette = { version = "0.5.0", default-features = false, features = ["std"] }
serde = { version = "1.0.98", default-features = false, features = ["derive", "alloc", "std"] }
snafu = { version = "0.6.0", default-features = false, features = ["std"] }
unicase = "2.6.0"
Expand Down
8 changes: 4 additions & 4 deletions src/rendering/software/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ fn all_components() {

let state = layout.state(&timer);

check_dims(&state, [300, 800], 0x1f1af5d2, "all_components");
check_dims(&state, [300, 800], 0xd21110cb, "all_components");

check_dims(&state, [150, 800], 0x8954836d, "all_components_thin");
check_dims(&state, [150, 800], 0x84c64e2b, "all_components_thin");
}

#[test]
Expand Down Expand Up @@ -105,7 +105,7 @@ fn dark_layout() {
let timer = Timer::new(run).unwrap();
let mut layout = lsl("tests/layout_files/dark.lsl");

check(&layout.state(&timer), 0xad57b961, "dark_layout");
check(&layout.state(&timer), 0xb396e581, "dark_layout");
}

#[test]
Expand All @@ -123,7 +123,7 @@ fn subsplits_layout() {
check_dims(
&layout.state(&timer),
[300, 800],
0x205cdb95,
0xd83838ca,
"subsplits_layout",
);
}
Expand Down

0 comments on commit adcf751

Please sign in to comment.