diff options
author | 2023-03-05 06:35:20 +0100 | |
---|---|---|
committer | 2023-03-05 06:35:20 +0100 | |
commit | 99e0a71504456976ba88040f5d1d3bbc347694ea (patch) | |
tree | a228c064fd3847831ff8072aa9375dc59db47f47 /widget | |
parent | 8af69be47e88896b3c5f70174db609eee0c67971 (diff) | |
download | iced-99e0a71504456976ba88040f5d1d3bbc347694ea.tar.gz iced-99e0a71504456976ba88040f5d1d3bbc347694ea.tar.bz2 iced-99e0a71504456976ba88040f5d1d3bbc347694ea.zip |
Rename `iced_native` to `iced_runtime`
Diffstat (limited to 'widget')
-rw-r--r-- | widget/Cargo.toml | 4 | ||||
-rw-r--r-- | widget/src/helpers.rs | 2 | ||||
-rw-r--r-- | widget/src/lib.rs | 4 | ||||
-rw-r--r-- | widget/src/scrollable.rs | 2 | ||||
-rw-r--r-- | widget/src/text_input.rs | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/widget/Cargo.toml b/widget/Cargo.toml index fb617079..4c23f3e8 100644 --- a/widget/Cargo.toml +++ b/widget/Cargo.toml @@ -15,9 +15,9 @@ unicode-segmentation = "1.6" num-traits = "0.2" thiserror = "1" -[dependencies.iced_native] +[dependencies.iced_runtime] version = "0.9" -path = "../native" +path = "../runtime" [dependencies.iced_renderer] version = "0.1" diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs index 1a73c16f..a43e7248 100644 --- a/widget/src/helpers.rs +++ b/widget/src/helpers.rs @@ -5,12 +5,12 @@ use crate::container::{self, Container}; use crate::core; use crate::core::widget::operation; use crate::core::{Element, Length, Pixels}; -use crate::native::Command; use crate::overlay; use crate::pick_list::{self, PickList}; use crate::progress_bar::{self, ProgressBar}; use crate::radio::{self, Radio}; use crate::rule::{self, Rule}; +use crate::runtime::Command; use crate::scrollable::{self, Scrollable}; use crate::slider::{self, Slider}; use crate::text::{self, Text}; diff --git a/widget/src/lib.rs b/widget/src/lib.rs index 4c1e7c1c..a3e7c8bc 100644 --- a/widget/src/lib.rs +++ b/widget/src/lib.rs @@ -14,10 +14,10 @@ )] #![forbid(unsafe_code, rust_2018_idioms)] #![allow(clippy::inherent_to_string, clippy::type_complexity)] -pub use iced_native as native; -pub use iced_native::core; pub use iced_renderer as renderer; pub use iced_renderer::graphics; +pub use iced_runtime as runtime; +pub use iced_runtime::core; pub use iced_style as style; mod column; diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs index 49c780de..5a7481f7 100644 --- a/widget/src/scrollable.rs +++ b/widget/src/scrollable.rs @@ -13,7 +13,7 @@ use crate::core::{ Background, Clipboard, Color, Element, Layout, Length, Pixels, Point, Rectangle, Shell, Size, Vector, Widget, }; -use crate::native::Command; +use crate::runtime::Command; pub use crate::style::scrollable::{Scrollbar, Scroller, StyleSheet}; pub use operation::scrollable::RelativeOffset; diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index d1c48fbd..d066109a 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -28,7 +28,7 @@ use crate::core::{ Clipboard, Color, Element, Layout, Length, Padding, Pixels, Point, Rectangle, Shell, Size, Vector, Widget, }; -use crate::native::Command; +use crate::runtime::Command; pub use iced_style::text_input::{Appearance, StyleSheet}; |