Skip to content

arceos-org/axio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axio

Crates.io Docs.rs CI

std::io for no_std environment.

Features

  • alloc:
    • Enables extra methods on Read: read_to_end, read_to_string.
    • Enables extra methods on BufRead: read_until, read_line, split, lines.
    • Enables implementations of axio traits for alloc types like Vec<u8>, Box<T>, etc.

Differences to std::io

  • Error types from axerrno instead of std::io::Error.
  • No IoSlice and *_vectored APIs.

Limitations

  • Requires nightly Rust.

License

Licensed under either of

at your option.


Almost all of the code in this repository is a copy of the Rust language codebase with minor modifications.

For attributions, see https://thanks.rust-lang.org/.

About

std::io-like I/O traits for no_std environment.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages