-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (29 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "tcp_typed"
version = "0.1.4"
license = "MIT OR Apache-2.0"
authors = ["Alec Mocatta <alec@mocatta.net>"]
categories = ["development-tools","network-programming"]
keywords = ["tcp","socket"]
description = """
A wrapper around platform TCP socket APIs that leverages the type system to ensure correct usage.
It's quite easy to accidentally misuse the Berkeley sockets or similar APIs, resulting in ECONNRESET/EPIPE/etc, data being lost on close, and potential hangs from non-exhaustive collection of edge-triggered events.
This library aims to make it impossible to misuse in non-unsafe code.
"""
repository = "https://github.com/alecmocatta/tcp_typed"
homepage = "https://github.com/alecmocatta/tcp_typed"
documentation = "https://docs.rs/tcp_typed/0.1.4"
readme = "README.md"
edition = "2018"
[badges]
azure-devops = { project = "alecmocatta/tcp_typed", pipeline = "tests" }
maintenance = { status = "actively-developed" }
[dependencies]
itertools = "0.8"
log = "0.4"
palaver = "0.2"
socketstat = "0.1"
[target.'cfg(unix)'.dependencies]
nix = "0.15"
[target.'cfg(windows)'.dependencies]
winapi = "0.3"