Skip to content

Commit 97ef6f6

Browse files
authored
Fix crates.io README.md selection and prep v0.8.1. (#2347)
1 parent 70d9ed4 commit 97ef6f6

File tree

7 files changed

+32
-24
lines changed

7 files changed

+32
-24
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

3-
The latest published Druid release is [0.8.0](#080---2023-01-27) which was released on 2023-01-27.
4-
You can find its changes [documented below](#080---2023-01-27).
3+
The latest published Druid release is [0.8.1](#081---2023-01-27) which was released on 2023-01-27.
4+
You can find its changes [documented below](#081---2023-01-27).
55

66
## [Unreleased]
77

@@ -27,6 +27,12 @@ You can find its changes [documented below](#080---2023-01-27).
2727

2828
### Outside News
2929

30+
## [0.8.1] - 2023-01-27
31+
32+
### Docs
33+
34+
- Fixed `README.md` selection for crates.io. ([#2347] by [@xStrom])
35+
3036
## [0.8.0] - 2023-01-27
3137

3238
### Highlights
@@ -1178,8 +1184,10 @@ Last release without a changelog :(
11781184
[#2340]: https://github.com/linebender/druid/pull/2340
11791185
[#2343]: https://github.com/linebender/druid/pull/2343
11801186
[#2345]: https://github.com/linebender/druid/pull/2345
1187+
[#2347]: https://github.com/linebender/druid/pull/2347
11811188

1182-
[Unreleased]: https://github.com/linebender/druid/compare/v0.8.0...master
1189+
[Unreleased]: https://github.com/linebender/druid/compare/v0.8.1...master
1190+
[0.8.1]: https://github.com/linebender/druid/compare/v0.8.0...v0.8.1
11831191
[0.8.0]: https://github.com/linebender/druid/compare/v0.7.0...v0.8.0
11841192
[0.7.0]: https://github.com/linebender/druid/compare/v0.6.0...v0.7.0
11851193
[0.6.0]: https://github.com/linebender/druid/compare/v0.5.0...v0.6.0

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ a lone dependency (it re-exports all the parts of `druid-shell`, `piet`, and `ku
8989
that you'll need):
9090

9191
```toml
92-
druid = "0.8.0"
92+
druid = "0.8.1"
9393
```
9494

9595
Since Druid is currently in fast-evolving state, you might prefer to drink from
@@ -322,14 +322,14 @@ active and friendly community. See the AUTHORS file for more.
322322
[Zulip chat instance]: https://xi.zulipchat.com
323323
[non-`druid` examples]: /druid-shell/examples/shello.rs
324324
[crates.io]: https://crates.io/crates/druid
325-
[EventCtx]: https://docs.rs/druid/0.8.0/druid/struct.EventCtx.html
326-
[LifeCycleCtx]: https://docs.rs/druid/0.8.0/druid/struct.LifeCycleCtx.html
327-
[LayoutCtx]: https://docs.rs/druid/0.8.0/druid/struct.LayoutCtx.html
328-
[PaintCtx]: https://docs.rs/druid/0.8.0/druid/struct.PaintCtx.html
329-
[UpdateCtx]: https://docs.rs/druid/0.8.0/druid/struct.UpdateCtx.html
330-
[Widget trait]: https://docs.rs/druid/0.8.0/druid/trait.Widget.html
331-
[Data trait]: https://docs.rs/druid/0.8.0/druid/trait.Data.html
332-
[Lens datatype]: https://docs.rs/druid/0.8.0/druid/trait.Lens.html
325+
[EventCtx]: https://docs.rs/druid/0.8.1/druid/struct.EventCtx.html
326+
[LifeCycleCtx]: https://docs.rs/druid/0.8.1/druid/struct.LifeCycleCtx.html
327+
[LayoutCtx]: https://docs.rs/druid/0.8.1/druid/struct.LayoutCtx.html
328+
[PaintCtx]: https://docs.rs/druid/0.8.1/druid/struct.PaintCtx.html
329+
[UpdateCtx]: https://docs.rs/druid/0.8.1/druid/struct.UpdateCtx.html
330+
[Widget trait]: https://docs.rs/druid/0.8.1/druid/trait.Widget.html
331+
[Data trait]: https://docs.rs/druid/0.8.1/druid/trait.Data.html
332+
[Lens datatype]: https://docs.rs/druid/0.8.1/druid/trait.Lens.html
333333
[Druid book]: https://linebender.org/druid/
334334
[Iced]: https://github.com/hecrj/iced
335335
[Conrod]: https://github.com/PistonDevelopers/conrod

docs/src/08_widgets_in_depth.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ textbox fire some action (say doing a search) 300ms after the last keypress:
6666
{{#include ../book_examples/src/custom_widgets_md.rs:annoying_textbox}}
6767
```
6868

69-
[`Controller`]: https://docs.rs/druid/0.8.0/druid/widget/trait.Controller.html
69+
[`Controller`]: https://docs.rs/druid/0.8.1/druid/widget/trait.Controller.html
7070
[`Widget`]: ./widget.md
71-
[`Painter`]: https://docs.rs/druid/0.8.0/druid/widget/struct.Painter.html
72-
[`SizedBox`]: https://docs.rs/druid/0.8.0/druid/widget/struct.SizedBox.html
73-
[`Container`]: https://docs.rs/druid/0.8.0/druid/widget/struct.Container.html
74-
[`WidgetExt`]: https://docs.rs/druid/0.8.0/druid/trait.WidgetExt.html
75-
[`background`]: https://docs.rs/druid/0.8.0/druid/trait.WidgetExt.html#background
71+
[`Painter`]: https://docs.rs/druid/0.8.1/druid/widget/struct.Painter.html
72+
[`SizedBox`]: https://docs.rs/druid/0.8.1/druid/widget/struct.SizedBox.html
73+
[`Container`]: https://docs.rs/druid/0.8.1/druid/widget/struct.Container.html
74+
[`WidgetExt`]: https://docs.rs/druid/0.8.1/druid/trait.WidgetExt.html
75+
[`background`]: https://docs.rs/druid/0.8.1/druid/trait.WidgetExt.html#background

druid-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ quote = "1.0.23"
2020
proc-macro2 = "1.0.50"
2121

2222
[dev-dependencies]
23-
druid = { version = "0.8.0", path = "../druid" }
23+
druid = { version = "0.8.1", path = "../druid" }
2424
trybuild = "1.0"
2525

2626
float-cmp = { version = "0.9.0", features = ["std"], default-features = false }

druid/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "druid"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
license = "Apache-2.0"
55
authors = ["Raph Levien <raph.levien@gmail.com>"]
66
description = "Data-oriented Rust UI design toolkit."
77
repository = "https://github.com/linebender/druid"
88
categories = ["gui"]
9-
readme = "README.md"
9+
readme = "../README.md"
1010
keywords = ["gui", "ui", "toolkit"]
1111
edition = "2021"
1212

druid/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
//! Features can be added with `cargo`. For example, in your `Cargo.toml`:
126126
//! ```no_compile
127127
//! [dependencies.druid]
128-
//! version = "0.8.0"
128+
//! version = "0.8.1"
129129
//! features = ["im", "svg", "image"]
130130
//! ```
131131
//!
@@ -142,7 +142,7 @@
142142
//! [`Event`]: enum.Event.html
143143
//! [`druid-shell`]: druid_shell
144144
//! [`piet`]: piet
145-
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.0/druid/examples
145+
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.1/druid/examples
146146
//! [Druid book]: https://linebender.org/druid/
147147
//! [`im` crate]: https://crates.io/crates/im
148148
//! [`im` module]: im/index.html

druid/src/widget/flex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl<T: Data> Flex<T> {
568568
flex: params.flex,
569569
}
570570
} else {
571-
tracing::warn!("Flex value should be > 0.0. To add a non-flex child use the add_child or with_child methods.\nSee the docs for more information: https://docs.rs/druid/0.8.0/druid/widget/struct.Flex.html");
571+
tracing::warn!("Flex value should be > 0.0. To add a non-flex child use the add_child or with_child methods.\nSee the docs for more information: https://docs.rs/druid/0.8.1/druid/widget/struct.Flex.html");
572572
Child::Fixed {
573573
widget: WidgetPod::new(Box::new(child)),
574574
alignment: None,

0 commit comments

Comments
 (0)