mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-22 20:35:20 +00:00
feat: init log in web (#2068)
This commit is contained in:
parent
5ee01b59a9
commit
d85717f81e
7 changed files with 150 additions and 35 deletions
|
|
@ -29,7 +29,7 @@ serde_json.workspace = true
|
|||
serde_with.workspace = true
|
||||
siphasher.workspace = true
|
||||
web-time = { workspace = true, optional = true }
|
||||
time.workspace = true
|
||||
time = { workspace = true, features = ["formatting"] }
|
||||
lsp-types.workspace = true
|
||||
tempfile = { workspace = true, optional = true }
|
||||
same-file = { workspace = true, optional = true }
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ pub fn now() -> Time {
|
|||
Time::UNIX_EPOCH
|
||||
}
|
||||
|
||||
pub use time::format_description::well_known::Rfc3339;
|
||||
|
||||
/// The trait helping convert to a [`UtcDateTime`].
|
||||
pub trait ToUtcDateTime {
|
||||
/// Converts to a [`UtcDateTime`].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue