#bit-fields #mode #posix #file #standalone #nix #num

yz-posix-mode

standalone POSIX.1 file mode bitfields and bitmasks

1 unstable release

0.0.0 Aug 23, 2020

#39 in #num

MIT/Apache

12KB
218 lines

yz-posix-mode

This crate provides the types FileType and Mode.

Features

  • nix: Provides compatibility with the nix crate (implements the From & Into traits).
  • num: Provides conversion between primitive integer types and the types defined in this crate.
  • serde: Activates implementations of the serde Deserialize & Serialize traits.
  • umask: Provides compatibility with the umask crate (similiar to the nix feature, just for another crate)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–0.8MB
~18K SLoC