Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Feb 24, 2024
1 parent b08e30a commit cc75f8a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 182 deletions.
86 changes: 0 additions & 86 deletions .github/workflows/release.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

74 changes: 0 additions & 74 deletions .vscode/settings.json

This file was deleted.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,3 @@ hala-tls = {path = "crates/net/tls", version = "^0.1"}
hala-udp = {path = "crates/net/udp", version = "^0.1"}

hala-rs = {path = "hala", version = "^0.1"}

[profile.release]
debug = 1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[!["Crates.io version"](https://img.shields.io/crates/v/hala-rs.svg)](https://crates.io/crates/hala-rs)
[!["docs.rs docs"](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/hala-rs)

hala std library for rust programming.
Core crates for developing Hala rust applications.
7 changes: 6 additions & 1 deletion crates/net/tcp/src/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ impl Debug for TcpListener {
}

impl TcpListener {
/// Create new tcp listener with calling underly bind method.
/// Create new `TcpListener` which will be bound to the specified `laddrs`
///
/// The returned listener is ready for accepting connections.
///
/// Binding with a port number of 0 will request that the OS assigns a port to this listener.
/// The port allocated can be queried via the [`local_addr`](TcpListener::local_addr) method.
pub fn bind<S: ToSocketAddrs>(laddrs: S) -> io::Result<Self> {
let io_context = io_context();

Expand Down
2 changes: 1 addition & 1 deletion crates/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
description = "Hala test derive crate"
description = "Proc macros for hala test"
documentation = "https://docs.rs/hala-test"
edition.workspace = true
license = "MIT"
Expand Down

0 comments on commit cc75f8a

Please sign in to comment.