remove redundant imports and leftover log timestamp disabling thing
This commit is contained in:
parent
845c9f0f5b
commit
667eef136e
4 changed files with 2 additions and 12 deletions
|
@ -7,7 +7,7 @@ use std::{
|
||||||
slice,
|
slice,
|
||||||
};
|
};
|
||||||
|
|
||||||
use log::{debug, trace};
|
use log::trace;
|
||||||
|
|
||||||
#[unsafe(no_mangle)]
|
#[unsafe(no_mangle)]
|
||||||
unsafe extern "C" fn __haku2_alloc(size: usize, align: usize) -> *mut u8 {
|
unsafe extern "C" fn __haku2_alloc(size: usize, align: usize) -> *mut u8 {
|
||||||
|
|
|
@ -12,7 +12,6 @@ use axum::{
|
||||||
};
|
};
|
||||||
use base64::Engine;
|
use base64::Engine;
|
||||||
use eyre::{bail, Context, OptionExt};
|
use eyre::{bail, Context, OptionExt};
|
||||||
use haku::value::Value;
|
|
||||||
use schema::{
|
use schema::{
|
||||||
ChunkInfo, Error, LoginRequest, LoginResponse, Notify, Online, Request, Version, WallInfo,
|
ChunkInfo, Error, LoginRequest, LoginResponse, Notify, Online, Request, Version, WallInfo,
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,19 +10,13 @@ use haku::{
|
||||||
compiler::{ClosureSpec, Compiler, Source},
|
compiler::{ClosureSpec, Compiler, Source},
|
||||||
lexer::{lex, Lexer},
|
lexer::{lex, Lexer},
|
||||||
parser::{self, Parser, ParserLimits},
|
parser::{self, Parser, ParserLimits},
|
||||||
render::{tiny_skia::Pixmap, Renderer, RendererLimits},
|
|
||||||
source::SourceCode,
|
source::SourceCode,
|
||||||
system::{ChunkId, System, SystemImage},
|
system::{ChunkId, System, SystemImage},
|
||||||
token::Lexis,
|
token::Lexis,
|
||||||
trampoline::{Cont, Trampoline},
|
|
||||||
value::{Closure, Ref, Value},
|
|
||||||
vm::{Vm, VmImage, VmLimits},
|
|
||||||
};
|
};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use tracing::{info, instrument, Level};
|
use tracing::{info, instrument, Level};
|
||||||
|
|
||||||
use crate::schema::Vec2;
|
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, Serialize)]
|
#[derive(Debug, Clone, Deserialize, Serialize)]
|
||||||
// NOTE: For serialization, this struct does _not_ have serde(rename_all = "camelCase") on it,
|
// NOTE: For serialization, this struct does _not_ have serde(rename_all = "camelCase") on it,
|
||||||
// because we do some dynamic typing magic over on the JavaScript side to automatically call all
|
// because we do some dynamic typing magic over on the JavaScript side to automatically call all
|
||||||
|
|
|
@ -95,10 +95,7 @@ async fn main() {
|
||||||
|
|
||||||
color_eyre::install().unwrap();
|
color_eyre::install().unwrap();
|
||||||
tracing_subscriber::registry()
|
tracing_subscriber::registry()
|
||||||
.with(
|
.with(tracing_subscriber::fmt::layer())
|
||||||
tracing_subscriber::fmt::layer()
|
|
||||||
.event_format(tracing_subscriber::fmt::format().without_time()),
|
|
||||||
)
|
|
||||||
.with(
|
.with(
|
||||||
EnvFilter::builder()
|
EnvFilter::builder()
|
||||||
.with_default_directive(LevelFilter::INFO.into())
|
.with_default_directive(LevelFilter::INFO.into())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue