bsd-errnos

Crates.iobsd-errnos
lib.rsbsd-errnos
version0.0.1
sourcesrc
created_at2023-07-23 20:14:38.586058
updated_at2023-07-23 20:14:38.586058
descriptionA list of error numbers for BSDs
homepagehttps://github.com/shurizzle/bsd-errnos
repositoryhttps://github.com/shurizzle/bsd-errnos
max_upload_size
id923950
size85,369
shurizzle (shurizzle)

documentation

https://docs.rs/bsd-errnos

README

bsd-errnos

Crates.io docs.rs Crates.io

Cross-arch enumeration of BSDs error numbers that may vary across archs.

Feature flags

  • std: enable std support (dealing with std::io::Error).
  • iter: enable Errno::iter() function.

![no_std]

Enable #![no_std] support by disabling the default std feature:

[dependencies]
bsd-errnos = { version = "*", default-features = false }

Code generation

All the code is generated by the an inner crate in the errno-gen directory except for the src/lib.rs file, so don't touch auto generated files please.

MSRV

1.32.0

Commit count: 6

cargo fmt