~sircmpwn/hare-tar

Backport improvements from Mercury fork

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Add extlib meta bits

README, COPYING, Makefile

Signed-off-by: Drew DeVault <sir@cmpwn.com>
format::tar: reparent

Signed-off-by: Drew DeVault <sir@cmpwn.com>
strconv: Merge functions with their -b versions

This is a breaking change: all calls to stoub and similar functions should drop
the -b suffix.

Signed-off-by: Alexey Yerin <yyp@disroot.org>
follow style guide for void match/switch cases

Replace instances of `case _ => yield;` with `case _ => void;` and reorder
certain cases to align with the style guide.
simplify copyright headers

use SPDX-License-Identifier and only provide a (c) Hare authors (with
the goal of helping people get back to the stdlib from a vendored copy)
rather than trying to keep an author list up to date. also enforce that
the headers exist and have the right format in ci

Signed-off-by: Ember Sawady <ecs@d2evs.net>
format::tar: make use of io::readall

Signed-off-by: Ember Sawady <ecs@d2evs.net>
use SZ as suffix for sizes in other modules

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
Remove unused imports

Signed-off-by: Sebastian <sebastian@sebsite.pw>
strio,bufio: merge memstream implementation into memio

- memio functions will now error instead of aborting
- renames bufio::{buffered,bufstream} to bufio::{new,stream}
- removes truncate()

Signed-off-by: Autumn! <autumnull@posteo.net>
Remove char from language; add char to types::c

Signed-off-by: Sebastian <sebastian@sebsite.pw>
Move C string funcs from strings to types::c

Signed-off-by: Sebastian <sebastian@sebsite.pw>
strings: return utf8::invalid from fromc on invalid UTF-8

Signed-off-by: Sebastian <sebastian@sebsite.pw>
all: don't autofill fields without a default value

Signed-off-by: Sebastian <sebastian@sebsite.pw>
format::tar: implement seek within entries
format::tar: new module

Just contains a reader for now.