more package updates; all tests pass

This commit is contained in:
Mark Watts 2021-07-02 18:09:07 -04:00
parent a02570fd5e
commit 5a7caf7488
4 changed files with 7 additions and 6 deletions

View file

@ -16,7 +16,7 @@ syncable = ["tolstoy_traits", "hyper", "serde_json"]
failure = "~0.1"
failure_derive = "~0.1"
http = "~0.2"
tokio = { version = "~1.8", features = ["rt-core"] }
tokio = { version = "1.8.0", features = ["full"] }
uuid = "~0.8"
[dependencies.rusqlite]

View file

@ -20,6 +20,7 @@ use chrono::FixedOffset;
use core_traits::{Entid, KnownEntid, ValueType, ValueTypeSet};
use edn::OrderedFloat;
use mentat_core::{DateTime, HasSchema, Utc, Uuid};
use query_projector_traits::aggregates::SimpleAggregationOp;
@ -470,7 +471,7 @@ fn test_fulltext() {
) => {
assert_eq!(x, v);
assert_eq!(text.as_str(), "hello darkness my old friend");
assert_approx_eq!(score, 0.0f64.into());
assert_approx_eq!(score, OrderedFloat(0.0f64));
}
_ => panic!("Unexpected results."),
}
@ -1953,7 +1954,7 @@ fn run_tx_data_test(mut store: Store) {
}
x => panic!("Got unexpected results {:?}", x),
}
};
}
assert_tx_data(&store, &tx1, "1".into());
assert_tx_data(&store, &tx2, "2".into());

View file

@ -11,12 +11,12 @@ sqlcipher = ["rusqlite/sqlcipher"]
[dependencies]
failure = "~0.1"
futures = "~0.3"
hyper = "~0.14"
hyper = { version = "~0.14", features = ["full"] }
hyper-tls = "~0.5"
http = "~0.2"
log = "~0.4"
mime = "~0.3"
tokio = { version = "~1.8", features = ["full"] }
tokio = { version = "1.8.0", features = ["full"] }
serde = "~1.0"
serde_json = "~1.0"
serde_cbor = "~0.11"

View file

@ -10,7 +10,7 @@
#![allow(dead_code)]
use hyper::{body, header, Body, Client, Method, Request, StatusCode};
use hyper::{body, header, Client, Body, Method, Request, StatusCode};
use hyper_tls::HttpsConnector;
// TODO: https://github.com/mozilla/mentat/issues/570
// use serde_cbor;