Update dependencies, Rust version 1.44.0-nightly and fix warnings.

This commit is contained in:
Gregory Burd 2020-04-23 12:19:41 -04:00
parent 9eb6bc6220
commit b428579865
18 changed files with 36 additions and 35 deletions

View file

@ -11,6 +11,7 @@ authors = [
"Kit Cambridge <kit@yakshaving.ninja>",
"Edouard Oger <eoger@fastmail.com>",
"Thom Chiovoloni <tchiovoloni@mozilla.com>",
"Gregory Burd <greg@burd.me>",
]
name = "mentat"
version = "0.11.2"
@ -45,7 +46,7 @@ uuid = { version = "0.8", features = ["v4", "serde"] }
[dependencies.rusqlite]
version = "0.21.0"
version = "0.22.0"
# System sqlite might be very old.
features = ["limits"]

View file

@ -21,5 +21,5 @@ path = "../edn"
path = "../core-traits"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]

View file

@ -11,7 +11,7 @@ syncable = ["serde", "serde_json", "serde_derive"]
[dependencies]
failure = "0.1.6"
indexmap = "1.3.1"
itertools = "0.8"
itertools = "0.9"
lazy_static = "1.4.0"
log = "0.4"
ordered-float = "1.0.2"
@ -22,7 +22,7 @@ serde_json = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.edn]

View file

@ -11,10 +11,10 @@ readme = "./README.md"
[dependencies]
chrono = "0.4"
itertools = "0.8"
itertools = "0.9"
num = "0.2"
ordered-float = "1.0"
pretty = "0.9"
pretty = "0.10"
uuid = { version = "0.8", features = ["v4", "serde"] }
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }

View file

@ -8,7 +8,7 @@
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
#![allow(redundant_semicolon)]
#![allow(redundant_semicolons)]
use std::cmp::{Ord, Ordering, PartialOrd};
use std::collections::{BTreeMap, BTreeSet, LinkedList};

View file

@ -20,7 +20,7 @@ tokio-core = "0.1"
uuid = "0.8"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.edn]

View file

@ -19,4 +19,4 @@ path = "../core-traits"
path = "../query-algebrizer-traits"
[dev-dependencies]
itertools = "0.8"
itertools = "0.9"

View file

@ -15,7 +15,7 @@ failure = "0.1"
failure_derive = "0.1"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.edn]

View file

@ -11,7 +11,7 @@ failure = "0.1"
indexmap = "1.3"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.core_traits]

View file

@ -13,7 +13,7 @@ failure = "0.1.1"
path = "../query-pull-traits"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.edn]

View file

@ -4,7 +4,7 @@ version = "0.0.1"
workspace = ".."
[dependencies]
rusqlite = "0.21"
rusqlite = "0.22"
[dependencies.edn]
path = "../edn"

View file

@ -11,7 +11,7 @@ failure = "0.1"
ordered-float = "1.0"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.core_traits]

View file

@ -290,21 +290,21 @@ impl Vocabularies {
}
lazy_static! {
static ref DB_SCHEMA_CORE: Keyword = { kw!(:db.schema/core) };
static ref DB_SCHEMA_ATTRIBUTE: Keyword = { kw!(:db.schema/attribute) };
static ref DB_SCHEMA_VERSION: Keyword = { kw!(:db.schema/version) };
static ref DB_IDENT: Keyword = { kw!(:db/ident) };
static ref DB_UNIQUE: Keyword = { kw!(:db/unique) };
static ref DB_UNIQUE_VALUE: Keyword = { kw!(:db.unique/value) };
static ref DB_UNIQUE_IDENTITY: Keyword = { kw!(:db.unique/identity) };
static ref DB_IS_COMPONENT: Keyword = { Keyword::namespaced("db", "isComponent") };
static ref DB_VALUE_TYPE: Keyword = { Keyword::namespaced("db", "valueType") };
static ref DB_INDEX: Keyword = { kw!(:db/index) };
static ref DB_FULLTEXT: Keyword = { kw!(:db/fulltext) };
static ref DB_CARDINALITY: Keyword = { kw!(:db/cardinality) };
static ref DB_CARDINALITY_ONE: Keyword = { kw!(:db.cardinality/one) };
static ref DB_CARDINALITY_MANY: Keyword = { kw!(:db.cardinality/many) };
static ref DB_NO_HISTORY: Keyword = { Keyword::namespaced("db", "noHistory") };
static ref DB_SCHEMA_CORE: Keyword = kw!(:db.schema/core);
static ref DB_SCHEMA_ATTRIBUTE: Keyword = kw!(:db.schema/attribute);
static ref DB_SCHEMA_VERSION: Keyword = kw!(:db.schema/version);
static ref DB_IDENT: Keyword = kw!(:db/ident);
static ref DB_UNIQUE: Keyword = kw!(:db/unique);
static ref DB_UNIQUE_VALUE: Keyword = kw!(:db.unique/value);
static ref DB_UNIQUE_IDENTITY: Keyword = kw!(:db.unique/identity);
static ref DB_IS_COMPONENT: Keyword = Keyword::namespaced("db", "isComponent");
static ref DB_VALUE_TYPE: Keyword = Keyword::namespaced("db", "valueType");
static ref DB_INDEX: Keyword = kw!(:db/index);
static ref DB_FULLTEXT: Keyword = kw!(:db/fulltext);
static ref DB_CARDINALITY: Keyword = kw!(:db/cardinality);
static ref DB_CARDINALITY_ONE: Keyword = kw!(:db.cardinality/one);
static ref DB_CARDINALITY_MANY: Keyword = kw!(:db.cardinality/many);
static ref DB_NO_HISTORY: Keyword = Keyword::namespaced("db", "noHistory");
}
trait HasCoreSchema {

View file

@ -43,8 +43,8 @@ use mentat::entity_builder::{BuildTerms, TermBuilder};
use mentat::errors::MentatError;
lazy_static! {
static ref FOO_NAME: Keyword = { kw!(:foo/name) };
static ref FOO_MOMENT: Keyword = { kw!(:foo/moment) };
static ref FOO_NAME: Keyword = kw!(:foo/name);
static ref FOO_MOMENT: Keyword = kw!(:foo/moment);
static ref FOO_VOCAB: vocabulary::Definition = {
vocabulary::Definition {
name: kw!(:org.mozilla/foo),

View file

@ -22,5 +22,5 @@ uuid = { version = "0.8" }
path = "../db-traits"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]

View file

@ -51,5 +51,5 @@ path = "../public-traits"
path = "../transaction"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]

View file

@ -34,7 +34,7 @@ termion = "1.5"
time = "0.2"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]
[dependencies.mentat]

View file

@ -43,5 +43,5 @@ path = "../query-pull"
path = "../query-sql"
[dependencies.rusqlite]
version = "0.21"
version = "0.22"
features = ["limits"]