• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "ylong_io"
3version = "1.0.0"
4edition = "2021"
5description = "Event Driven IO"
6license = "Apache-2.0"
7repository = "https://gitee.com/openharmony/commonlibrary_rust_ylong_runtime"
8keywords = ["ylong", "io", "epoll"]
9
10[features]
11default = ["tcp", "udp"]
12udp = []
13tcp = []
14
15[dependencies]
16libc = "0.2.134"
17
18[target."cfg(windows)".dependencies.windows-sys]
19version = "0.45"
20features = [
21    "Win32_Foundation",
22    "Win32_Networking_WinSock",
23    "Win32_Storage_FileSystem",
24    "Win32_System_IO",
25    "Win32_System_WindowsProgramming",
26    "Win32_Storage_FileSystem",
27]
28
29[[example]]
30name = "ylong_io_tcp_client"
31path = "examples/ylong_io_tcp_client.rs"
32required-features = ["tcp"]
33
34[[example]]
35name = "ylong_io_tcp_server"
36path = "examples/ylong_io_tcp_server.rs"
37required-features = ["tcp"]
38