Skip to content

Commit df479e9

Browse files
committed
Renaming crate to Cushy
Refs #117
1 parent a9dcee3 commit df479e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+476
-473
lines changed

.crate-docs.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
![Gooey is considered alpha and unsupported](https://img.shields.io/badge/status-alpha-orange)
2-
[![crate version](https://img.shields.io/crates/v/gooey.svg)](https://crates.io/crates/gooey)
3-
[![Documentation for `main` branch](https://img.shields.io/badge/docs-main-informational)](https://gooey.rs/main/docs/gooey/)
1+
![Cushy is considered alpha and unsupported](https://img.shields.io/badge/status-alpha-orange)
2+
[![crate version](https://img.shields.io/crates/v/cushy.svg)](https://crates.io/crates/cushy)
3+
[![Documentation for `main` branch](https://img.shields.io/badge/docs-main-informational)](https://khonsu.dev/cushy/main/docs/cushy/)
44

5-
Gooey is an experimental Graphical User Interface (GUI) crate for the Rust
5+
Cushy is an experimental Graphical User Interface (GUI) crate for the Rust
66
programming language. It features a reactive data model and aims to enable
77
easily creating responsive, efficient user interfaces. To enable easy
8-
cross-platform development, Gooey uses its own collection of consistently-styled
8+
cross-platform development, Cushy uses its own collection of consistently-styled
99
[`Widget`s][widget].
1010

11-
Gooey is powered by:
11+
Cushy is powered by:
1212

1313
- [`Kludgine`][kludgine], a 2d graphics library powered by:
1414
- [`winit`][winit] for windowing/input
@@ -18,19 +18,19 @@ Gooey is powered by:
1818
- [`arboard`][arboard] for clipboard support
1919
- [`figures`][figures] for integer-based 2d math
2020

21-
## Getting Started with Gooey
21+
## Getting Started with Cushy
2222

23-
The [`Widget`][widget] trait is the building block of Gooey: Every user
23+
The [`Widget`][widget] trait is the building block of Cushy: Every user
2424
interface element implements `Widget`. The `Widget` trait
25-
[documentation][widget] has an overview of how Gooey works. A list of built-in
26-
widgets can be found in the [`gooey::widgets`][widgets] module.
25+
[documentation][widget] has an overview of how Cushy works. A list of built-in
26+
widgets can be found in the [`cushy::widgets`][widgets] module.
2727

28-
Gooey uses a reactive data model. To see [an example][button-example] of how
28+
Cushy uses a reactive data model. To see [an example][button-example] of how
2929
reactive data models work, consider this example that displays a button that
3030
increments its own label:
3131

3232
```rust,ignore
33-
fn main() -> gooey::Result {
33+
fn main() -> cushy::Result {
3434
// Create a dynamic usize.
3535
let count = Dynamic::new(0_isize);
3636
// Create a dynamic that contains `count.to_string()`
@@ -46,8 +46,8 @@ fn main() -> gooey::Result {
4646
}
4747
```
4848

49-
A great way to learn more about Gooey is to explore the [examples
50-
directory][examples]. Nearly every feature in Gooey was initially tested by
49+
A great way to learn more about Cushy is to explore the [examples
50+
directory][examples]. Nearly every feature in Cushy was initially tested by
5151
creating an example.
5252

5353
## Project Status
@@ -61,12 +61,12 @@ If you would like to contribute, bug fixes are always appreciated. Before
6161
working on a new feature, please [open an issue][issues] proposing the feature
6262
and problem it aims to solve. Doing so will help prevent friction in merging
6363
pull requests, as it ensures changes fit the vision the maintainers have for
64-
Gooey.
64+
Cushy.
6565

6666
[widget]: crate::widget::Widget
6767
[widgets]: mod@crate::widgets
68-
[button-example]: https://github.com/khonsulabs/gooey/tree/main/examples/basic-button.rs
69-
[examples]: https://github.com/khonsulabs/gooey/tree/main/examples/
68+
[button-example]: https://github.com/khonsulabs/cushy/tree/main/examples/basic-button.rs
69+
[examples]: https://github.com/khonsulabs/cushy/tree/main/examples/
7070
[kludgine]: https://github.com/khonsulabs/kludgine
7171
[figures]: https://github.com/khonsulabs/figures
7272
[wgpu]: https://github.com/gfx-rs/wgpu
@@ -75,7 +75,7 @@ Gooey.
7575
[palette]: https://github.com/Ogeon/palette
7676
[arboard]: https://github.com/1Password/arboard
7777
[ecton]: https://github.com/khonsulabs/ecton
78-
[issues]: https://github.com/khonsulabs/gooey/issues
78+
[issues]: https://github.com/khonsulabs/cushy/issues
7979

8080
## Open-source Licenses
8181

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
url: ${{ secrets.DOSSIER_URL }}
3131
api-key-id: ${{ secrets.DOSSIER_API_KEY_ID }}
3232
api-key: ${{ secrets.DOSSIER_API_KEY }}
33-
project: gooey
33+
project: cushy
3434
from: target/doc/
3535
to: /${{ github.ref_name }}/docs

.rustme/config.ron

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ Configuration(
3737
release: "v0.1.3",
3838
),
3939
"docs": (
40-
default: "https://gooey.rs/main/docs/gooey/",
41-
release: "https://docs.rs/gooey",
40+
default: "https://khonsu.dev/cushy/main/docs/cushy/",
41+
release: "https://docs.rs/cushy",
4242
),
4343
"widget": (
44-
default: "https://gooey.rs/main/docs/gooey/widget/trait.Widget.html",
45-
release: "https://docs.rs/gooey/*/gooey/widget/trait.Widget.html",
44+
default: "https://khonsu.dev/cushy/main/docs/cushy/widget/trait.Widget.html",
45+
release: "https://docs.rs/cushy/*/cushy/widget/trait.Widget.html",
4646
for_docs: "crate::widget::Widget",
4747
),
4848
"widgets": (
49-
default: "https://gooey.rs/main/docs/gooey/widgets/index.html",
50-
release: "https://docs.rs/gooey/*/gooey/widgets/index.html",
49+
default: "https://khonsu.dev/cushy/main/docs/cushy/widgets/index.html",
50+
release: "https://docs.rs/cushy/*/cushy/widgets/index.html",
5151
for_docs: "mod@crate::widgets",
5252
),
5353
},

.rustme/docs.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
![Gooey is considered alpha and unsupported](https://img.shields.io/badge/status-alpha-orange)
2-
[![crate version](https://img.shields.io/crates/v/gooey.svg)](https://crates.io/crates/gooey)
1+
![Cushy is considered alpha and unsupported](https://img.shields.io/badge/status-alpha-orange)
2+
[![crate version](https://img.shields.io/crates/v/cushy.svg)](https://crates.io/crates/cushy)
33
[![Documentation for `main` branch](https://img.shields.io/badge/docs-main-informational)]($docs$)
44

5-
Gooey is an experimental Graphical User Interface (GUI) crate for the Rust
5+
Cushy is an experimental Graphical User Interface (GUI) crate for the Rust
66
programming language. It features a reactive data model and aims to enable
77
easily creating responsive, efficient user interfaces. To enable easy
8-
cross-platform development, Gooey uses its own collection of consistently-styled
8+
cross-platform development, Cushy uses its own collection of consistently-styled
99
[`Widget`s][widget].
1010

11-
Gooey is powered by:
11+
Cushy is powered by:
1212

1313
- [`Kludgine`][kludgine], a 2d graphics library powered by:
1414
- [`winit`][winit] for windowing/input
@@ -18,23 +18,23 @@ Gooey is powered by:
1818
- [`arboard`][arboard] for clipboard support
1919
- [`figures`][figures] for integer-based 2d math
2020

21-
## Getting Started with Gooey
21+
## Getting Started with Cushy
2222

23-
The [`Widget`][widget] trait is the building block of Gooey: Every user
23+
The [`Widget`][widget] trait is the building block of Cushy: Every user
2424
interface element implements `Widget`. The `Widget` trait
25-
[documentation][widget] has an overview of how Gooey works. A list of built-in
26-
widgets can be found in the [`gooey::widgets`][widgets] module.
25+
[documentation][widget] has an overview of how Cushy works. A list of built-in
26+
widgets can be found in the [`cushy::widgets`][widgets] module.
2727

28-
Gooey uses a reactive data model. To see [an example][button-example] of how
28+
Cushy uses a reactive data model. To see [an example][button-example] of how
2929
reactive data models work, consider this example that displays a button that
3030
increments its own label:
3131

3232
```rust,ignore
3333
$../examples/basic-button.rs:readme$
3434
```
3535

36-
A great way to learn more about Gooey is to explore the [examples
37-
directory][examples]. Nearly every feature in Gooey was initially tested by
36+
A great way to learn more about Cushy is to explore the [examples
37+
directory][examples]. Nearly every feature in Cushy was initially tested by
3838
creating an example.
3939

4040
## Project Status
@@ -48,12 +48,12 @@ If you would like to contribute, bug fixes are always appreciated. Before
4848
working on a new feature, please [open an issue][issues] proposing the feature
4949
and problem it aims to solve. Doing so will help prevent friction in merging
5050
pull requests, as it ensures changes fit the vision the maintainers have for
51-
Gooey.
51+
Cushy.
5252

5353
[widget]: $widget$
5454
[widgets]: $widgets$
55-
[button-example]: https://github.com/khonsulabs/gooey/tree/$ref-name$/examples/basic-button.rs
56-
[examples]: https://github.com/khonsulabs/gooey/tree/$ref-name$/examples/
55+
[button-example]: https://github.com/khonsulabs/cushy/tree/$ref-name$/examples/basic-button.rs
56+
[examples]: https://github.com/khonsulabs/cushy/tree/$ref-name$/examples/
5757
[kludgine]: https://github.com/khonsulabs/kludgine
5858
[figures]: https://github.com/khonsulabs/figures
5959
[wgpu]: https://github.com/gfx-rs/wgpu
@@ -62,4 +62,4 @@ Gooey.
6262
[palette]: https://github.com/Ogeon/palette
6363
[arboard]: https://github.com/1Password/arboard
6464
[ecton]: https://github.com/khonsulabs/ecton
65-
[issues]: https://github.com/khonsulabs/gooey/issues
65+
[issues]: https://github.com/khonsulabs/cushy/issues

.rustme/header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Gooey
1+
# Cushy

CHANGELOG.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Breaking Changes
1111

12+
- This crate has been renamed from `Gooey` to `Cushy`. Other than the name of
13+
the library changing, the only type to change name is `Gooey` -> `Cushy`. This
14+
changelog has had all references and links updated.
1215
- Many bounds required `UnwindSafe` due to a misunderstanding on how to handle
1316
this trait in `appit`. All requirements for `UnwindSafe` have been removed.
14-
- `Gooey` no longer implements default. To gain access to a `Gooey` instance,
17+
- `Cushy` no longer implements default. To gain access to a `Cushy` instance,
1518
create a `PendingApp` or get a reference to the running `App`.
16-
- `Window::new` no longer accepts a `Gooey` parameter. The window now adopts the
17-
`Gooey` from the application it is opened within.
19+
- `Window::new` no longer accepts a `Cushy` parameter. The window now adopts the
20+
`Cushy` from the application it is opened within.
1821
- `MakeWidget::into_window()` no longer takes any parameters.
1922

2023
### Changed
@@ -61,10 +64,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6164
application.
6265

6366
The `multi-window` example demonstates using this feature to open multiple
64-
windows before starting Gooey as well as dynamically opening windows at
67+
windows before starting Cushy as well as dynamically opening windows at
6568
runtime.
6669
- `Window::on_close` sets a callback to be invoked when the window has closed.
67-
- `WindowHandle` is a handle to a Gooey window. It enables requesting that the
70+
- `WindowHandle` is a handle to a Cushy window. It enables requesting that the
6871
window closes, refreshing the window, or invalidating a widget contained in
6972
the window.
7073
- `RunningWindow::handle()` returns a `WindowHandle` for the current window.
@@ -89,10 +92,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8992
ensuring the callback stays alive as long as the dynamic has an instance
9093
alive.
9194

92-
[91]: https://github.com/khonsulabs/gooey/issues/91
93-
[92]: https://github.com/khonsulabs/gooey/issues/92
94-
[112]: https://github.com/khonsulabs/gooey/issues/112
95-
[113]: https://github.com/khonsulabs/gooey/issues/113
95+
[91]: https://github.com/khonsulabs/cushy/issues/91
96+
[92]: https://github.com/khonsulabs/cushy/issues/92
97+
[112]: https://github.com/khonsulabs/cushy/issues/112
98+
[113]: https://github.com/khonsulabs/cushy/issues/113
9699

97100
## v0.1.3 (2023-12-19)
98101

@@ -120,14 +123,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
120123
- An integer underflow has been fixed in the Grid/Stack widgets.
121124
- Padding is now rounded to the nearest whole pixel when applied across widgets.
122125

123-
[94]: https://github.com/khonsulabs/gooey/pull/94
124-
[97]: https://github.com/khonsulabs/gooey/issues/97
126+
[94]: https://github.com/khonsulabs/cushy/pull/94
127+
[97]: https://github.com/khonsulabs/cushy/issues/97
125128

126129
## v0.1.2 (2023-12-18)
127130

128131
### Fixed
129132

130-
- Gooey now compiles for Windows. An indirect dependency, `appit`, also needs to
133+
- Cushy now compiles for Windows. An indirect dependency, `appit`, also needs to
131134
be updated to v0.1.1. Running `cargo update` should be enough to update
132135
`appit`.
133136

@@ -137,4 +140,4 @@ This release only contains fixed links in the README. No code was changed.
137140

138141
## v0.1.0 (2023-12-18)
139142

140-
This is the initial alpha release of Gooey.
143+
This is the initial alpha release of Cushy.

Cargo.lock

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[workspace]
22

33
[package]
4-
name = "gooey"
4+
name = "cushy"
55
version = "0.1.3"
66
edition = "2021"
77
description = "A wgpu-powered graphical user interface (GUI) library with a reactive data model"
8-
repository = "https://github.com/khonsulabs/gooey"
8+
repository = "https://github.com/khonsulabs/cushy"
99
license = "MIT OR Apache-2.0"
1010
keywords = ["gui", "ui", "widgets", "reactive"]
1111
categories = ["gui"]
@@ -33,7 +33,7 @@ tracing-subscriber = { version = "0.3", optional = true, features = [
3333
] }
3434
palette = "0.7.3"
3535
ahash = "0.8.6"
36-
gooey-macros = { version = "0.1.0", path = "gooey-macros" }
36+
cushy-macros = { version = "0.1.0", path = "cushy-macros" }
3737
arboard = "3.2.1"
3838
zeroize = "1.6.1"
3939
unicode-segmentation = "1.10.1"

0 commit comments

Comments
 (0)