freebsd-errno

Crates.iofreebsd-errno
lib.rsfreebsd-errno
version1.0.0
sourcesrc
created_at2022-09-12 05:14:25.664649
updated_at2022-09-12 05:14:25.664649
descriptionFreeBSD error numbers
homepage
repositoryhttps://github.com/jmillikin/rust-freebsd-errno
max_upload_size
id663435
size18,264
John Millikin (jmillikin)

documentation

README

FreeBSD error numbers for Rust

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

To depend on freebsd-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_freebsd_errno",
    # Obtain the package checksum from the release page:
    # https://github.com/jmillikin/rust-freebsd-errno/releases/tag/v1.0.0
    sha256 = "",
    strip_prefix = "freebsd-errno-1.0.0",
    urls = ["https://github.com/jmillikin/rust-freebsd-errno/releases/download/v1.0.0/freebsd-errno-1.0.0.tar.xz"],
)

To depend on freebsd-errno from a Cargo workspace:

[dependencies]
freebsd-errno = { version = "1.0.0" }
Commit count: 1

cargo fmt