use separated mod for system tools

This commit is contained in:
yggverse 2025-02-24 02:54:18 +02:00
parent 8622fb10b4
commit 1d60db70c9
22 changed files with 44 additions and 43 deletions

View file

@ -8,7 +8,7 @@ impl Meta {
/// Build `Self` from UTF-8 meta bytes
/// * expected buffer includes leading status code, message, CRLF
pub fn from_bytes(buffer: &[u8]) -> Result<Self> {
use crate::Header;
use crate::tool::Header;
use regex::Regex;
use std::str::from_utf8;
let h = buffer.header_bytes()?;