Updated edition to 2024
This commit is contained in:
parent
277ecbad00
commit
cdbdaed362
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "pukram-server"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
percent-encoding = "2.3"
|
||||
|
||||
10
src/main.rs
10
src/main.rs
@ -1,8 +1,8 @@
|
||||
use std::{
|
||||
collections::{hash_map::Entry, HashMap},
|
||||
collections::{HashMap, hash_map::Entry},
|
||||
env,
|
||||
fs::File,
|
||||
io::{prelude::*, BufReader, Error, ErrorKind, Result},
|
||||
io::{BufReader, Error, ErrorKind, Result, prelude::*},
|
||||
net::{TcpListener, TcpStream},
|
||||
path::{Path, PathBuf},
|
||||
sync::{Arc, Mutex},
|
||||
@ -11,12 +11,12 @@ use std::{
|
||||
};
|
||||
|
||||
use data_stream::{
|
||||
collections::SizeSettings, default_settings::PortableSettings, from_stream, to_stream,
|
||||
FromStream, ToStream,
|
||||
FromStream, ToStream, collections::SizeSettings, default_settings::PortableSettings,
|
||||
from_stream, to_stream,
|
||||
};
|
||||
use maud::html;
|
||||
use percent_encoding::percent_decode_str;
|
||||
use pukram2html::{convert, convert_extended, convert_subheader, Settings};
|
||||
use pukram2html::{Settings, convert, convert_extended, convert_subheader};
|
||||
use threadpool::ThreadPool;
|
||||
|
||||
mod request;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user