mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-07 03:56:48 +01:00
1. Use a scoped thread pool instead of crossbeam. It uses crossbeam under the hood but doesn't spawn endless threads. Hardcoded to 100 threads currently, but we can play with that. 2. Buffer IO. Seems to improve performance. 3. Shuffle around where the stream's timeouts are set. I think they should only need to be set once.
16 lines
376 B
TOML
16 lines
376 B
TOML
[package]
|
|
name = "tarpc"
|
|
version = "0.1.0"
|
|
authors = ["Adam Wright <adam.austin.wright@gmail.com>", "Tim Kuehn <timothy.j.kuehn@gmail.com>"]
|
|
license = "MIT/Apache-2.0"
|
|
description = "tarpc is an RPC framework for rust with a focus on ease of use."
|
|
|
|
[dependencies]
|
|
serde = "*"
|
|
bincode = "*"
|
|
serde_macros = "*"
|
|
log = "*"
|
|
env_logger = "*"
|
|
scoped-pool = "0.1.4"
|
|
lazy_static = "*"
|