2个稳定版本

使用旧Rust 2015

1.0.1 2022年9月8日
1.0.0 2022年9月6日

#859 in Unix API

Download history 142/week @ 2024-04-11 135/week @ 2024-04-18 132/week @ 2024-04-25 124/week @ 2024-05-02 183/week @ 2024-05-09 104/week @ 2024-05-16 84/week @ 2024-05-23 148/week @ 2024-05-30 408/week @ 2024-06-06 208/week @ 2024-06-13 204/week @ 2024-06-20 148/week @ 2024-06-27 204/week @ 2024-07-04 208/week @ 2024-07-11 148/week @ 2024-07-18 122/week @ 2024-07-25

697每月下载
用于 2 crates

0BSD许可证

7KB
86

Rust的POSIX错误号

此库定义了一个单一的类型,即Error枚举,用于表示POSIX标准中定义的错误号的符号常量。

从Bazel工作区依赖posix-errno

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

http_archive(
    name = "rust_posix_errno",
    # Obtain the package checksum from the release page:
    # https://github.com/jmillikin/rust-posix-errno/releases/tag/v1.0.1
    sha256 = "",
    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"],
)

从Cargo工作区依赖posix-errno

[dependencies]
posix-errno = { version = "1.0.1" }

lib.rs:

此库定义了一个单一的类型,即[Error]枚举,用于表示POSIX标准中定义的错误号的符号常量。

无运行时依赖