diff --git a/Cargo.toml b/Cargo.toml index f1f7b1b..af2c3e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,12 +25,12 @@ bevy_render = "0.11" bevy_utils = "0.11" bevy_window = "0.11" -iced = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } -iced_core = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } -iced_graphics = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } -iced_runtime = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } -iced_wgpu = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } -iced_winit = { git = "https://github.com/iced-rs/iced.git", rev = "5dd9234" } +iced = "0.10.0" +iced_core = "0.10.0" +iced_graphics = "0.9.0" +iced_runtime = "0.1.0" +iced_wgpu = "0.11.0" +iced_winit = "0.10.0" [dev-dependencies] bevy = "0.11" diff --git a/examples/fonts.rs b/examples/fonts.rs index 534903d..fc478e4 100644 --- a/examples/fonts.rs +++ b/examples/fonts.rs @@ -1,9 +1,13 @@ use bevy::prelude::*; -use bevy_iced::iced::{Font, widget::{text, column}}; +use bevy_iced::iced::{ + widget::{column, text}, + Font, +}; use bevy_iced::{IcedContext, IcedPlugin}; static ALPHAPROTA_FONT_BYTES: &'static [u8] = include_bytes!("../assets/fonts/AlphaProta.ttf"); -static RAINBOW2000_FONT_BYTES: &'static [u8] = include_bytes!("../assets/fonts/Rainbow2000-Regular.ttf"); +static RAINBOW2000_FONT_BYTES: &'static [u8] = + include_bytes!("../assets/fonts/Rainbow2000-Regular.ttf"); const ALPHAPROTA_FONT: Font = Font::with_name("Alpha Prota"); const RAINBOW2000_FONT: Font = Font::with_name("Rainbow 2000"); @@ -30,4 +34,4 @@ fn ui_system(mut ctx: IcedContext) { text(format!("I am the default font")), text(format!("I am another font")).font(RAINBOW2000_FONT) )); -} \ No newline at end of file +}