fixes: various fixes and cleanup
This commit is contained in:
parent
b4346ff3ca
commit
c1edb81084
27 changed files with 676 additions and 1455 deletions
23
src/lib.rs
23
src/lib.rs
|
|
@ -492,17 +492,17 @@ pub use iced_widget::core;
|
|||
#[cfg(feature = "winit")]
|
||||
use iced_winit as shell;
|
||||
|
||||
#[cfg(not(any(
|
||||
target_arch = "wasm32",
|
||||
feature = "thread-pool",
|
||||
feature = "tokio",
|
||||
feature = "smol"
|
||||
)))]
|
||||
compile_error!(
|
||||
"No futures executor has been enabled! You must enable an \
|
||||
executor feature.\n\
|
||||
Available options: thread-pool, tokio, or smol."
|
||||
);
|
||||
// #[cfg(not(any(
|
||||
// target_arch = "wasm32",
|
||||
// feature = "thread-pool",
|
||||
// feature = "tokio",
|
||||
// feature = "smol"
|
||||
// )))]
|
||||
// compile_error!(
|
||||
// "No futures executor has been enabled! You must enable an \
|
||||
// executor feature.\n\
|
||||
// Available options: thread-pool, tokio, or smol."
|
||||
// );
|
||||
|
||||
// #[cfg(all(
|
||||
// target_family = "unix",
|
||||
|
|
@ -515,7 +515,6 @@ compile_error!(
|
|||
// display server feature.\n\
|
||||
// Available options: x11, wayland."
|
||||
// );
|
||||
|
||||
#[cfg(feature = "highlighter")]
|
||||
pub use iced_highlighter as highlighter;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue