Skip to content

Commit

Permalink
我哭料!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed Dec 8, 2019
1 parent 22ca29c commit 1c2411c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@ rust version for qatrader, for a high performance with limited resources


```toml
mongodb = "0.3.11"
tokio = { version = "0.2", features = ["full"] }
lapin = "^0.28"
mongodb = "0.3.11" # mongodb
amiquip = "0.3"
futures = "^0.1"
log = "^0.4"
tokio-tungstenite = "*"
chrono = { version = "0.4", features = ["serde"] } # datetime
env_logger = "^0.7"
serde_json = "1.0"
rayon = "1.1"
ndarray = "0.13.0"
serde_derive = "1.0"
serde = { version = "1.0", features = ["derive"] } # 序列化
rayon = "1.1" # 多线程
ndarray = "0.13.0" # ndarray
wsq = '0.9.1'
crossbeam = "0.7"
crossbeam-channel = "0.4"
crossbeam-utils = "0.7"
```


Expand Down
5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ use ndarray::array;
use std::thread;
use std::borrow::BorrowMut;
extern crate crossbeam_utils;
#[macro_use]
extern crate crossbeam_channel;

use crossbeam_channel::bounded;
use crossbeam_utils::thread::scope;

Expand All @@ -22,7 +21,7 @@ fn main() {


let (s1, r1) = bounded(0);
let (s2, r2) = (s1.clone(), r1.clone());

let user_name = "000001".to_string();

{
Expand Down

0 comments on commit 1c2411c

Please sign in to comment.