web: the library checks for wasm32 (carried)
This commit is contained in:
1 parent
fe467d2bfe
commit
a03df0987c
44 files changed
+141
-104
No files matched your search
+2
-4
@@ -1,13 +1,11 @@
|
||||
use std::{
|
||||
rc::Rc,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use std::{rc::Rc, time::Duration};
|
||||
|
||||
use gpui::{
|
||||
App, ElementId, Entity, FontWeight, InteractiveElement, IntoElement, MouseButton,
|
||||
ParentElement, RenderOnce, SharedString, StatefulInteractiveElement, Styled, Window, div,
|
||||
prelude::*, relative, transparent_black,
|
||||
};
|
||||
use web_time::Instant;
|
||||
|
||||
use super::stream::StreamingText;
|
||||
use crate::{
|
||||
|
||||
+2
-1
@@ -1,10 +1,11 @@
|
||||
use std::time::{Duration, Instant};
|
||||
use std::time::Duration;
|
||||
|
||||
use gpui::{
|
||||
App, ElementId, HighlightStyle, IntoElement, ParentElement, RenderOnce, SharedString, Styled,
|
||||
StyledText, Window, div,
|
||||
};
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
use web_time::Instant;
|
||||
|
||||
use super::code::CodeBlock;
|
||||
use crate::{
|
||||
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
use std::{rc::Rc, time::Instant};
|
||||
use std::rc::Rc;
|
||||
|
||||
use gpui::{App, ElementId, IntoElement, ParentElement, RenderOnce, Styled, Window, div};
|
||||
use web_time::Instant;
|
||||
|
||||
use crate::{
|
||||
buttons::{ButtonVariant, IconButton},
|
||||
|
||||
Reference in new issue
Block a user