Rename iced_native to iced_runtime
This commit is contained in:
parent
8af69be47e
commit
99e0a71504
39 changed files with 87 additions and 97 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue