Skip to content

Commit

Permalink
Release 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcaricio committed Mar 6, 2021
1 parent 3f226e9 commit 7f5bec7
Show file tree
Hide file tree
Showing 5 changed files with 712 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lvgl-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lvgl-codegen"
version = "0.5.1"
version = "0.5.2"
description = "Code generation based on LVGL source code"
authors = ["Rafael Caricio <crates.lvgl@caric.io>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion lvgl-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lvgl-sys"
description = "Raw bindings to the LittlevGL C library."
version = "0.5.1"
version = "0.5.2"
authors = ["Rafael Caricio <crates.lvgl-sys@caric.io>"]
edition = "2018"
license = "MIT"
Expand Down
7 changes: 4 additions & 3 deletions lvgl-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ fn main() {
match std::env::var("DOCS_RS") {
Ok(_) => {
// We've detected that we are building for docs.rs
// so let's set the examples `lv_conf.h` file.
project_dir.join("..").join("examples").join("include")
// so let's use the vendored `lv_conf.h` file.
vendor.clone()
}
Err(_) => panic!(
"The environment variable {} is required to be defined",
Expand All @@ -38,7 +38,8 @@ fn main() {
}
if !conf_path.join("lv_conf.h").exists() {
panic!(format!(
"Directory referenced by {} needs to contain a file called lv_conf.h",
"Directory {} referenced by {} needs to contain a file called lv_conf.h",
conf_path.to_string_lossy(),
CONFIG_NAME
));
}
Expand Down
Loading

0 comments on commit 7f5bec7

Please sign in to comment.