mirror of
https://github.com/wez/wezterm.git
synced 2024-11-13 07:22:52 +03:00
5ac61ec8d3
I didn't notice that windows has separate traits for raw sockets, so blanket impls for things that returned RawHandle's were not applying on windows in the same way that they were on unix systems.
27 lines
608 B
TOML
27 lines
608 B
TOML
[package]
|
|
name = "filedescriptor"
|
|
version = "0.4.0"
|
|
authors = ["Wez Furlong"]
|
|
edition = "2018"
|
|
repository = "https://github.com/wez/wzsh"
|
|
description = "More ergonomic wrappers around RawFd and RawHandle"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/filedescriptor"
|
|
readme = "README.md"
|
|
keywords = ["socketpair", "pipe", "poll", "filedescriptor"]
|
|
|
|
[dependencies]
|
|
failure = "0.1"
|
|
failure_derive = "0.1"
|
|
libc = "0.2"
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = { version = "0.3", features = [
|
|
"winuser",
|
|
"handleapi",
|
|
"fileapi",
|
|
"namedpipeapi",
|
|
"processthreadsapi",
|
|
"winsock2"
|
|
]}
|