macos-errno 1.0.0

macOS error numbers
Documentation
  • Coverage
  • 100%
    113 out of 113 items documented0 out of 5 items with examples
  • Size
  • Source code size: 18.67 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 830.53 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • jmillikin/rust-macos-errno
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jmillikin

macOS error numbers for Rust

This library defines an Error struct that represents error numbers returned from macOS system calls.

To depend on macos-errno from a Bazel workspace:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rust_posix_errno",
    sha256 = "0c86c849ff673372fe6415d4004a233565b57b2884ea49d3b725dd1296cc2529",
    strip_prefix = "posix-errno-1.0.1",
    urls = ["https://github.com/jmillikin/rust-posix-errno/releases/download/v1.0.1/posix-errno-1.0.1.tar.xz"],
)

http_archive(
    name = "rust_macos_errno",
    # Obtain the package checksum from the release page:
    # https://github.com/jmillikin/rust-macos-errno/releases/tag/v1.0.0
    sha256 = "",
    strip_prefix = "macos-errno-1.0.0",
    urls = ["https://github.com/jmillikin/rust-macos-errno/releases/download/v1.0.0/macos-errno-1.0.0.tar.xz"],
)

To depend on macos-errno from a Cargo workspace:

[dependencies]
macos-errno = { version = "1.0.0" }