zed/crates/ui2/src/lib.rs

31 lines
754 B
Rust
Raw Normal View History

#![allow(dead_code, unused_variables)]
2023-10-06 20:52:05 +00:00
mod components;
mod element_ext;
mod elements;
pub mod prelude;
mod settings;
2023-10-06 21:47:10 +00:00
mod static_data;
mod theme;
2023-10-06 20:52:05 +00:00
pub use components::*;
pub use element_ext::*;
pub use elements::*;
pub use prelude::*;
2023-10-06 21:47:10 +00:00
pub use static_data::*;
// This needs to be fully qualified with `crate::` otherwise we get a panic
// at:
// thread '<unnamed>' panicked at crates/gpui3/src/platform/mac/platform.rs:66:81:
// called `Option::unwrap()` on a `None` value
//
// AFAICT this is something to do with conflicting names between crates and modules that
// interfaces with declaring the `ClassDecl`.
pub use crate::settings::*;
pub use crate::theme::*;
#[cfg(feature = "stories")]
mod story;
#[cfg(feature = "stories")]
pub use story::*;