Skip to content

Commit

Permalink
Increase crate versions in preparation for releasing v0.8.0 (#2336)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom authored Jan 27, 2023
1 parent fa9bd86 commit 70d9ed4
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 24 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ fn ui_builder() -> impl Widget<u32> {
Flex::column().with_child(label).with_child(button)
}
```
This example works with master. Here's an example for 0.7.0: https://docs.rs/druid/latest/druid/#examples

Check out the [the examples folder] for a more comprehensive demonstration of
Druid's existing functionality and widgets. Check [druid_widget_nursery](https://github.com/linebender/druid-widget-nursery) for more widgets.
Expand All @@ -90,7 +89,7 @@ a lone dependency (it re-exports all the parts of `druid-shell`, `piet`, and `ku
that you'll need):

```toml
druid = "0.7.0"
druid = "0.8.0"
```

Since Druid is currently in fast-evolving state, you might prefer to drink from
Expand Down Expand Up @@ -323,14 +322,14 @@ active and friendly community. See the AUTHORS file for more.
[Zulip chat instance]: https://xi.zulipchat.com
[non-`druid` examples]: /druid-shell/examples/shello.rs
[crates.io]: https://crates.io/crates/druid
[EventCtx]: https://docs.rs/druid/0.7.0/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.7.0/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.7.0/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.7.0/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.7.0/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.7.0/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.7.0/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.7.0/druid/trait.Lens.html
[EventCtx]: https://docs.rs/druid/0.8.0/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.8.0/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.8.0/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.8.0/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.8.0/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.8.0/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.8.0/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.8.0/druid/trait.Lens.html
[Druid book]: https://linebender.org/druid/
[Iced]: https://github.com/hecrj/iced
[Conrod]: https://github.com/PistonDevelopers/conrod
Expand Down
12 changes: 6 additions & 6 deletions docs/src/08_widgets_in_depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ textbox fire some action (say doing a search) 300ms after the last keypress:
{{#include ../book_examples/src/custom_widgets_md.rs:annoying_textbox}}
```

[`Controller`]: https://docs.rs/druid/0.7.0/druid/widget/trait.Controller.html
[`Controller`]: https://docs.rs/druid/0.8.0/druid/widget/trait.Controller.html
[`Widget`]: ./widget.md
[`Painter`]: https://docs.rs/druid/0.7.0/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.7.0/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.7.0/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.7.0/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.7.0/druid/trait.WidgetExt.html#background
[`Painter`]: https://docs.rs/druid/0.8.0/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.8.0/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.8.0/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.8.0/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.8.0/druid/trait.WidgetExt.html#background
4 changes: 2 additions & 2 deletions druid-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "druid-derive"
version = "0.4.0"
version = "0.5.0"
license = "Apache-2.0"
authors = ["Druid authors"]
description = "derive impls for Druid, a Rust UI toolkit."
Expand All @@ -20,7 +20,7 @@ quote = "1.0.23"
proc-macro2 = "1.0.50"

[dev-dependencies]
druid = { version = "0.7.0", path = "../druid" }
druid = { version = "0.8.0", path = "../druid" }
trybuild = "1.0"

float-cmp = { version = "0.9.0", features = ["std"], default-features = false }
2 changes: 1 addition & 1 deletion druid-shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "druid-shell"
version = "0.7.0"
version = "0.8.0"
license = "Apache-2.0"
authors = ["Raph Levien <[email protected]>"]
description = "Platform abstracting application shell used for Druid toolkit."
Expand Down
6 changes: 3 additions & 3 deletions druid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "druid"
version = "0.7.0"
version = "0.8.0"
license = "Apache-2.0"
authors = ["Raph Levien <[email protected]>"]
description = "Data-oriented Rust UI design toolkit."
Expand Down Expand Up @@ -54,8 +54,8 @@ hdr = ["druid-shell/hdr"]
image-all = ["image", "svg", "png", "jpeg", "jpeg_rayon", "gif", "bmp", "ico", "tiff", "webp", "pnm", "dds", "tga", "farbfeld", "dxt", "hdr"]

[dependencies]
druid-shell = { version = "0.7.0", default-features = false, path = "../druid-shell" }
druid-derive = { version = "0.4.0", path = "../druid-derive" }
druid-shell = { version = "0.8.0", default-features = false, path = "../druid-shell" }
druid-derive = { version = "0.5.0", path = "../druid-derive" }

tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.16", features = ["fmt", "ansi"], default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions druid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
//! Features can be added with `cargo`. For example, in your `Cargo.toml`:
//! ```no_compile
//! [dependencies.druid]
//! version = "0.7.0"
//! version = "0.8.0"
//! features = ["im", "svg", "image"]
//! ```
//!
Expand All @@ -142,7 +142,7 @@
//! [`Event`]: enum.Event.html
//! [`druid-shell`]: druid_shell
//! [`piet`]: piet
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.7.0/druid/examples
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.0/druid/examples
//! [Druid book]: https://linebender.org/druid/
//! [`im` crate]: https://crates.io/crates/im
//! [`im` module]: im/index.html
Expand Down

0 comments on commit 70d9ed4

Please sign in to comment.