Skip to content

Commit

Permalink
Updating dependencies (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriden authored Sep 9, 2020
1 parent 9f34fc1 commit 9fd0425
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ base64 = "0.12"
chrono = { version = "0.4", features = [ "serde" ] }
futures = "0.3"
futures-util = { version = "0.3", default-features = false, features = [ "async-await", "sink", "std" ] }
market-finance = "0.2"
market-finance = "0.3"
protobuf = "2"
reqwest = "0.10"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
snafu = "0.6"
tokio = { version = "0.2", default-features = false, features = [ "stream", "rt-threaded", "macros" ]}
tokio-tungstenite = { version = "0.10", features = [ "tls" ] }
tokio-tungstenite = { version = "0.11", features = [ "tls" ] }
url = "2.1"


[dev-dependencies]
mockito = "0.25"
mockito = "0.27"
tokio-test = "0.2"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Streamer {

Quote {
symbol: data.id.to_string(),
timestamp: data.time as u64,
timestamp: data.time as i64,
session: convert_session(data.marketHours),
price: data.price as f64,
volume: data.dayVolume as u64
Expand Down
2 changes: 1 addition & 1 deletion src/yahoo/chart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ez_serde!(Data {
meta: Meta,

#[serde(rename = "timestamp", default)]
timestamps: Vec<u64>,
timestamps: Vec<i64>,

indicators: Indicators
});
Expand Down

0 comments on commit 9fd0425

Please sign in to comment.