Skip to content

Commit

Permalink
Prepare for v0.3.0
Browse files Browse the repository at this point in the history
This updates a few dependencies sets our version to 0.3.0.
  • Loading branch information
cmyr committed Jan 5, 2021
1 parent 9adbb1e commit a8b918c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "norad"
version = "0.2.0"
version = "0.3.0"
authors = ["Colin Rofls <[email protected]>", "Nikolaus Waxweiler <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -20,13 +20,13 @@ uuid = { version = "0.8", features = ["v4"] }
serde = { version = "1.0", features = ["rc"] }
serde_derive = "1.0"
serde_repr = "0.1"
quick-xml = "0.18.0"
quick-xml = "0.20.0"
rayon = { version = "1.3.0", optional = true }

[dependencies.druid]
#git = "https://github.com/xi-editor/druid.git"
#rev = "7fab0485"
version = "0.6.0"
version = "0.7.0"
optional = true

[dev-dependencies]
Expand Down
7 changes: 6 additions & 1 deletion src/glyph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,11 @@ impl From<druid::piet::Color> for Color {
#[cfg(feature = "druid")]
impl From<Color> for druid::piet::Color {
fn from(src: Color) -> druid::piet::Color {
druid::piet::Color::rgba(src.red, src.green, src.blue, src.alpha)
druid::piet::Color::rgba(
src.red.into(),
src.green.into(),
src.blue.into(),
src.alpha.into(),
)
}
}

0 comments on commit a8b918c

Please sign in to comment.