mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
aae287c4f2
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.
26 lines
587 B
TOML
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"
|
|
]}
|