async-tcp-channel

Crates.ioasync-tcp-channel
lib.rsasync-tcp-channel
version0.1.4
sourcesrc
created_at2023-04-10 10:36:21.437953
updated_at2023-04-11 06:28:55.217577
descriptionA low level TCP socket/stream based message channel implementation.
homepagehttps://github.com/zhongdongy/async-tcp-channel
repositoryhttps://github.com/zhongdongy/async-tcp-channel.git
max_upload_size
id835000
size80,301
Zhongdong Yang (zhongdongy)

documentation

README

Note

This crate is NOT production ready!

Loggers

The following loggers are used:

  • atc-listener: Server side logs.
  • atc-connector: Client side logs.
  • atc-frame: Frame parsing logs.

Example log4rs.yml configuration file:

refresh_rate: 30 seconds

appenders:
  atc_listener_appender:
    kind: file
    path: "log/atc_listener.log"
    encoder:
      pattern: "{d} {l} - {m}{n}"
  atc_connector_appender:
    kind: file
    path: "log/atc_connector.log"
    encoder:
      pattern: "{d} {l} - {m}{n}"
  atc_frame_appender:
    kind: file
    path: "log/atc_frame.log"
    encoder:
      pattern: "{d} {l} - {m}{n}"
 

root:
  level: warn
  appenders:
    - atc_listener_appender

loggers:
  atc-listener:
    level: debug
    appenders:
      - atc_listener_appender
    additive: false
  atc-connector:
    level: debug
    appenders:
      - atc_connector_appender
    additive: false
  atc-frame:
    level: debug
    appenders:
      - atc_frame_appender
    additive: false

Commit count: 14

cargo fmt