1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 22:42:48 +03:00
wezterm/filedescriptor/Cargo.toml
Wez Furlong aae287c4f2 fix filedescriptor::poll on macos
Need to use the subsecond microsecond value, rather than the total
microsecond value, otherwise `select(2)` will yield EINVAL.

The wezterm changes show where this error was bubbling up
and breaking the tls client code.
2020-09-10 13:58:14 -07:00

26 lines
587 B
TOML

[package]
name = "filedescriptor"
version = "0.7.3"
authors = ["Wez Furlong"]
edition = "2018"
repository = "https://github.com/wez/wezterm"
description = "More ergonomic wrappers around RawFd and RawHandle"
license = "MIT"
documentation = "https://docs.rs/filedescriptor"
readme = "README.md"
keywords = ["socketpair", "pipe", "poll", "filedescriptor"]
[dependencies]
anyhow = "1.0"
libc = "0.2"
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = [
"winuser",
"handleapi",
"fileapi",
"namedpipeapi",
"processthreadsapi",
"winsock2"
]}