Update dependencies, Rust version 1.44.0-nightly and fix warnings.
This commit is contained in:
parent
9eb6bc6220
commit
b428579865
18 changed files with 36 additions and 35 deletions
|
@ -11,6 +11,7 @@ authors = [
|
||||||
"Kit Cambridge <kit@yakshaving.ninja>",
|
"Kit Cambridge <kit@yakshaving.ninja>",
|
||||||
"Edouard Oger <eoger@fastmail.com>",
|
"Edouard Oger <eoger@fastmail.com>",
|
||||||
"Thom Chiovoloni <tchiovoloni@mozilla.com>",
|
"Thom Chiovoloni <tchiovoloni@mozilla.com>",
|
||||||
|
"Gregory Burd <greg@burd.me>",
|
||||||
]
|
]
|
||||||
name = "mentat"
|
name = "mentat"
|
||||||
version = "0.11.2"
|
version = "0.11.2"
|
||||||
|
@ -45,7 +46,7 @@ uuid = { version = "0.8", features = ["v4", "serde"] }
|
||||||
|
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21.0"
|
version = "0.22.0"
|
||||||
# System sqlite might be very old.
|
# System sqlite might be very old.
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,5 @@ path = "../edn"
|
||||||
path = "../core-traits"
|
path = "../core-traits"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
|
@ -11,7 +11,7 @@ syncable = ["serde", "serde_json", "serde_derive"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
failure = "0.1.6"
|
failure = "0.1.6"
|
||||||
indexmap = "1.3.1"
|
indexmap = "1.3.1"
|
||||||
itertools = "0.8"
|
itertools = "0.9"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
ordered-float = "1.0.2"
|
ordered-float = "1.0.2"
|
||||||
|
@ -22,7 +22,7 @@ serde_json = { version = "1.0", optional = true }
|
||||||
serde_derive = { version = "1.0", optional = true }
|
serde_derive = { version = "1.0", optional = true }
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.edn]
|
[dependencies.edn]
|
||||||
|
|
|
@ -11,10 +11,10 @@ readme = "./README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
itertools = "0.8"
|
itertools = "0.9"
|
||||||
num = "0.2"
|
num = "0.2"
|
||||||
ordered-float = "1.0"
|
ordered-float = "1.0"
|
||||||
pretty = "0.9"
|
pretty = "0.10"
|
||||||
uuid = { version = "0.8", features = ["v4", "serde"] }
|
uuid = { version = "0.8", features = ["v4", "serde"] }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
serde_derive = { version = "1.0", optional = true }
|
serde_derive = { version = "1.0", optional = true }
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||||
// specific language governing permissions and limitations under the License.
|
// specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
#![allow(redundant_semicolon)]
|
#![allow(redundant_semicolons)]
|
||||||
|
|
||||||
use std::cmp::{Ord, Ordering, PartialOrd};
|
use std::cmp::{Ord, Ordering, PartialOrd};
|
||||||
use std::collections::{BTreeMap, BTreeSet, LinkedList};
|
use std::collections::{BTreeMap, BTreeSet, LinkedList};
|
||||||
|
|
|
@ -20,7 +20,7 @@ tokio-core = "0.1"
|
||||||
uuid = "0.8"
|
uuid = "0.8"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.edn]
|
[dependencies.edn]
|
||||||
|
|
|
@ -19,4 +19,4 @@ path = "../core-traits"
|
||||||
path = "../query-algebrizer-traits"
|
path = "../query-algebrizer-traits"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
itertools = "0.8"
|
itertools = "0.9"
|
||||||
|
|
|
@ -15,7 +15,7 @@ failure = "0.1"
|
||||||
failure_derive = "0.1"
|
failure_derive = "0.1"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.edn]
|
[dependencies.edn]
|
||||||
|
|
|
@ -11,7 +11,7 @@ failure = "0.1"
|
||||||
indexmap = "1.3"
|
indexmap = "1.3"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.core_traits]
|
[dependencies.core_traits]
|
||||||
|
|
|
@ -13,7 +13,7 @@ failure = "0.1.1"
|
||||||
path = "../query-pull-traits"
|
path = "../query-pull-traits"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.edn]
|
[dependencies.edn]
|
||||||
|
|
|
@ -4,7 +4,7 @@ version = "0.0.1"
|
||||||
workspace = ".."
|
workspace = ".."
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rusqlite = "0.21"
|
rusqlite = "0.22"
|
||||||
|
|
||||||
[dependencies.edn]
|
[dependencies.edn]
|
||||||
path = "../edn"
|
path = "../edn"
|
||||||
|
|
|
@ -11,7 +11,7 @@ failure = "0.1"
|
||||||
ordered-float = "1.0"
|
ordered-float = "1.0"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.core_traits]
|
[dependencies.core_traits]
|
||||||
|
|
|
@ -290,21 +290,21 @@ impl Vocabularies {
|
||||||
}
|
}
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref DB_SCHEMA_CORE: Keyword = { kw!(:db.schema/core) };
|
static ref DB_SCHEMA_CORE: Keyword = kw!(:db.schema/core);
|
||||||
static ref DB_SCHEMA_ATTRIBUTE: Keyword = { kw!(:db.schema/attribute) };
|
static ref DB_SCHEMA_ATTRIBUTE: Keyword = kw!(:db.schema/attribute);
|
||||||
static ref DB_SCHEMA_VERSION: Keyword = { kw!(:db.schema/version) };
|
static ref DB_SCHEMA_VERSION: Keyword = kw!(:db.schema/version);
|
||||||
static ref DB_IDENT: Keyword = { kw!(:db/ident) };
|
static ref DB_IDENT: Keyword = kw!(:db/ident);
|
||||||
static ref DB_UNIQUE: Keyword = { kw!(:db/unique) };
|
static ref DB_UNIQUE: Keyword = kw!(:db/unique);
|
||||||
static ref DB_UNIQUE_VALUE: Keyword = { kw!(:db.unique/value) };
|
static ref DB_UNIQUE_VALUE: Keyword = kw!(:db.unique/value);
|
||||||
static ref DB_UNIQUE_IDENTITY: Keyword = { kw!(:db.unique/identity) };
|
static ref DB_UNIQUE_IDENTITY: Keyword = kw!(:db.unique/identity);
|
||||||
static ref DB_IS_COMPONENT: Keyword = { Keyword::namespaced("db", "isComponent") };
|
static ref DB_IS_COMPONENT: Keyword = Keyword::namespaced("db", "isComponent");
|
||||||
static ref DB_VALUE_TYPE: Keyword = { Keyword::namespaced("db", "valueType") };
|
static ref DB_VALUE_TYPE: Keyword = Keyword::namespaced("db", "valueType");
|
||||||
static ref DB_INDEX: Keyword = { kw!(:db/index) };
|
static ref DB_INDEX: Keyword = kw!(:db/index);
|
||||||
static ref DB_FULLTEXT: Keyword = { kw!(:db/fulltext) };
|
static ref DB_FULLTEXT: Keyword = kw!(:db/fulltext);
|
||||||
static ref DB_CARDINALITY: Keyword = { kw!(:db/cardinality) };
|
static ref DB_CARDINALITY: Keyword = kw!(:db/cardinality);
|
||||||
static ref DB_CARDINALITY_ONE: Keyword = { kw!(:db.cardinality/one) };
|
static ref DB_CARDINALITY_ONE: Keyword = kw!(:db.cardinality/one);
|
||||||
static ref DB_CARDINALITY_MANY: Keyword = { kw!(:db.cardinality/many) };
|
static ref DB_CARDINALITY_MANY: Keyword = kw!(:db.cardinality/many);
|
||||||
static ref DB_NO_HISTORY: Keyword = { Keyword::namespaced("db", "noHistory") };
|
static ref DB_NO_HISTORY: Keyword = Keyword::namespaced("db", "noHistory");
|
||||||
}
|
}
|
||||||
|
|
||||||
trait HasCoreSchema {
|
trait HasCoreSchema {
|
||||||
|
|
|
@ -43,8 +43,8 @@ use mentat::entity_builder::{BuildTerms, TermBuilder};
|
||||||
use mentat::errors::MentatError;
|
use mentat::errors::MentatError;
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref FOO_NAME: Keyword = { kw!(:foo/name) };
|
static ref FOO_NAME: Keyword = kw!(:foo/name);
|
||||||
static ref FOO_MOMENT: Keyword = { kw!(:foo/moment) };
|
static ref FOO_MOMENT: Keyword = kw!(:foo/moment);
|
||||||
static ref FOO_VOCAB: vocabulary::Definition = {
|
static ref FOO_VOCAB: vocabulary::Definition = {
|
||||||
vocabulary::Definition {
|
vocabulary::Definition {
|
||||||
name: kw!(:org.mozilla/foo),
|
name: kw!(:org.mozilla/foo),
|
||||||
|
|
|
@ -22,5 +22,5 @@ uuid = { version = "0.8" }
|
||||||
path = "../db-traits"
|
path = "../db-traits"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
|
@ -51,5 +51,5 @@ path = "../public-traits"
|
||||||
path = "../transaction"
|
path = "../transaction"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
|
@ -34,7 +34,7 @@ termion = "1.5"
|
||||||
time = "0.2"
|
time = "0.2"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
||||||
[dependencies.mentat]
|
[dependencies.mentat]
|
||||||
|
|
|
@ -43,5 +43,5 @@ path = "../query-pull"
|
||||||
path = "../query-sql"
|
path = "../query-sql"
|
||||||
|
|
||||||
[dependencies.rusqlite]
|
[dependencies.rusqlite]
|
||||||
version = "0.21"
|
version = "0.22"
|
||||||
features = ["limits"]
|
features = ["limits"]
|
||||||
|
|
Loading…
Reference in a new issue