Skip to content

Commit

Permalink
Release 0.9.3 with pub mod required renamed to bootstrap when icon fe…
Browse files Browse the repository at this point in the history
…ature is disabled
  • Loading branch information
genusistimelord committed May 8, 2024
1 parent 7544b0a commit 67de1be
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.3] - 2024-05-08

### Fixed
- pub mod required being renamed to pub mod bootstrap via cfg.

## [0.9.2] - 2024-05-08

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_aw"
version = "0.9.2"
version = "0.9.3"
authors = [
"Kaiden42 <gitlab@tinysn.com>",
"Andrew Wheeler <genusistimelord@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Include `iced_aw` as a dependency in your `Cargo.toml`:
```toml
[dependencies]
iced = "0.12.0"
iced_aw = { version = "0.9.2", default-features = false, features = [...] }
iced_aw = { version = "0.9.3", default-features = false, features = [...] }
```

## Versioning
Expand Down
4 changes: 2 additions & 2 deletions examples/card/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced_aw = { workspace = true, features = [
"card", "icons"
iced_aw = { workspace = true, default-features = false , features = [
"card"
] }
iced.workspace=true

5 changes: 3 additions & 2 deletions src/core/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ cfg_if! {
/// The default cupertino font for alerts and button.
pub const SF_UI_ROUNDED: iced::Font = iced::Font::with_name(".SF UI Rounded");
} else {
pub mod required;
pub use required::Bootstrap;
#[path = "icons/required.rs"]
pub mod bootstrap;
pub use bootstrap::Bootstrap;
// pub use required::{Bootstrap, icon_to_char, icon_to_string};
/// The default icon font bytes for loading the font into iced.
pub const BOOTSTRAP_FONT_BYTES: &[u8] = include_bytes!("./fonts/required-icons.ttf");
Expand Down

0 comments on commit 67de1be

Please sign in to comment.