2016-12-16 18:39:08 +00:00
|
|
|
[package]
|
2023-12-07 20:03:13 +00:00
|
|
|
edition = "2021"
|
2017-02-17 07:03:48 +00:00
|
|
|
authors = [
|
|
|
|
"Richard Newman <rnewman@twinql.com>",
|
|
|
|
"Nicholas Alexander <nalexander@mozilla.com>",
|
|
|
|
"Victor Porof <vporof@mozilla.com>",
|
|
|
|
"Jordan Santell <jsantell@mozilla.com>",
|
|
|
|
"Joe Walker <jwalker@mozilla.com>",
|
2017-12-04 21:10:05 +00:00
|
|
|
"Emily Toop <etoop@mozilla.com>",
|
2018-02-13 16:25:58 +00:00
|
|
|
"Grisha Kruglov <grigory@kruglov.ca>",
|
|
|
|
"Kit Cambridge <kit@yakshaving.ninja>",
|
|
|
|
"Edouard Oger <eoger@fastmail.com>",
|
|
|
|
"Thom Chiovoloni <tchiovoloni@mozilla.com>",
|
2020-04-23 16:19:41 +00:00
|
|
|
"Gregory Burd <greg@burd.me>",
|
2017-02-17 07:03:48 +00:00
|
|
|
]
|
2017-01-07 01:20:00 +00:00
|
|
|
name = "mentat"
|
2023-12-07 20:03:13 +00:00
|
|
|
version = "0.14.0"
|
2017-02-17 20:04:45 +00:00
|
|
|
build = "build/version.rs"
|
|
|
|
|
2018-02-13 16:25:58 +00:00
|
|
|
[features]
|
2018-07-11 23:26:06 +00:00
|
|
|
default = ["bundled_sqlite3", "syncable"]
|
2018-02-13 16:25:58 +00:00
|
|
|
bundled_sqlite3 = ["rusqlite/bundled"]
|
2018-06-13 15:49:40 +00:00
|
|
|
sqlcipher = ["rusqlite/sqlcipher", "mentat_db/sqlcipher"]
|
2018-08-08 21:33:53 +00:00
|
|
|
syncable = ["mentat_tolstoy", "tolstoy_traits", "mentat_db/syncable"]
|
2018-02-13 16:25:58 +00:00
|
|
|
|
2017-02-20 17:35:32 +00:00
|
|
|
[workspace]
|
2021-07-02 21:11:28 +00:00
|
|
|
members = [
|
|
|
|
"tools/cli",
|
|
|
|
"ffi", "core", "core-traits","db", "db-traits", "edn", "public-traits", "query-algebrizer",
|
|
|
|
"query-algebrizer-traits", "query-projector", "query-projector-traits","query-pull",
|
|
|
|
"query-sql", "sql", "sql-traits", "tolstoy-traits", "tolstoy", "transaction"
|
|
|
|
]
|
2017-02-20 17:35:32 +00:00
|
|
|
|
2017-02-17 20:04:45 +00:00
|
|
|
[build-dependencies]
|
2021-07-02 14:06:12 +00:00
|
|
|
rustc_version = "~0.4"
|
2016-12-16 18:39:08 +00:00
|
|
|
|
2020-08-07 13:15:36 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
assert_approx_eq = "~1.1"
|
|
|
|
|
2021-07-02 21:11:28 +00:00
|
|
|
#[dev-dependencies.cargo-husky]
|
|
|
|
#version = "1"
|
|
|
|
#default-features = false # Disable features which are enabled by default
|
|
|
|
#features = ["run-for-all", "precommit-hook", "run-cargo-fmt", "run-cargo-test", "run-cargo-check", "run-cargo-clippy"]
|
2020-05-25 14:51:22 +00:00
|
|
|
#cargo audit
|
|
|
|
#cargo outdated
|
2020-01-23 18:16:19 +00:00
|
|
|
|
2016-12-16 18:39:08 +00:00
|
|
|
[dependencies]
|
2020-05-25 14:51:22 +00:00
|
|
|
chrono = "~0.4"
|
|
|
|
failure = "~0.1"
|
|
|
|
lazy_static = "~1.4"
|
2021-08-22 21:12:22 +00:00
|
|
|
time = "0.3.1"
|
2020-05-25 14:51:22 +00:00
|
|
|
log = "~0.4"
|
2023-12-07 20:03:13 +00:00
|
|
|
uuid = { version = "~1", features = ["v4", "serde"] }
|
2017-01-26 00:13:56 +00:00
|
|
|
|
|
|
|
[dependencies.rusqlite]
|
2023-03-27 10:11:21 +00:00
|
|
|
version = "~0.29"
|
2020-05-12 14:21:51 +00:00
|
|
|
features = ["limits", "bundled"]
|
2017-01-06 16:24:04 +00:00
|
|
|
|
2016-12-21 16:55:00 +00:00
|
|
|
[dependencies.edn]
|
2017-01-26 18:43:48 +00:00
|
|
|
path = "edn"
|
2016-12-21 16:55:00 +00:00
|
|
|
|
2018-08-08 17:35:06 +00:00
|
|
|
[dependencies.core_traits]
|
|
|
|
path = "core-traits"
|
|
|
|
|
2017-02-04 00:51:13 +00:00
|
|
|
[dependencies.mentat_core]
|
|
|
|
path = "core"
|
|
|
|
|
2017-02-16 23:07:52 +00:00
|
|
|
[dependencies.mentat_sql]
|
|
|
|
path = "sql"
|
|
|
|
|
2017-01-26 00:13:56 +00:00
|
|
|
[dependencies.mentat_db]
|
2017-01-26 18:43:48 +00:00
|
|
|
path = "db"
|
2017-01-26 00:13:56 +00:00
|
|
|
|
2018-08-08 17:37:59 +00:00
|
|
|
[dependencies.db_traits]
|
|
|
|
path = "db-traits"
|
|
|
|
|
2017-03-06 22:40:10 +00:00
|
|
|
[dependencies.mentat_query_algebrizer]
|
|
|
|
path = "query-algebrizer"
|
|
|
|
|
2018-08-08 18:56:27 +00:00
|
|
|
[dependencies.query_algebrizer_traits]
|
|
|
|
path = "query-algebrizer-traits"
|
|
|
|
|
2017-03-06 22:40:10 +00:00
|
|
|
[dependencies.mentat_query_projector]
|
|
|
|
path = "query-projector"
|
|
|
|
|
2018-08-08 19:37:25 +00:00
|
|
|
[dependencies.query_projector_traits]
|
|
|
|
path = "query-projector-traits"
|
|
|
|
|
2018-05-04 19:56:00 +00:00
|
|
|
[dependencies.mentat_query_pull]
|
|
|
|
path = "query-pull"
|
|
|
|
|
2018-08-08 18:01:09 +00:00
|
|
|
[dependencies.query_pull_traits]
|
|
|
|
path = "query-pull-traits"
|
|
|
|
|
2017-03-06 22:40:10 +00:00
|
|
|
[dependencies.mentat_query_sql]
|
|
|
|
path = "query-sql"
|
2017-02-03 23:52:02 +00:00
|
|
|
|
2018-08-08 20:19:08 +00:00
|
|
|
[dependencies.sql_traits]
|
|
|
|
path = "sql-traits"
|
|
|
|
|
2018-08-08 22:58:55 +00:00
|
|
|
[dependencies.public_traits]
|
|
|
|
path = "public-traits"
|
|
|
|
|
2018-08-15 20:55:46 +00:00
|
|
|
[dependencies.mentat_transaction]
|
|
|
|
path = "transaction"
|
|
|
|
|
2017-12-13 20:19:05 +00:00
|
|
|
[dependencies.mentat_tolstoy]
|
|
|
|
path = "tolstoy"
|
2018-07-11 23:26:06 +00:00
|
|
|
optional = true
|
2017-12-13 20:19:05 +00:00
|
|
|
|
2018-08-08 21:33:53 +00:00
|
|
|
[dependencies.tolstoy_traits]
|
|
|
|
path = "tolstoy-traits"
|
|
|
|
optional = true
|
|
|
|
|
2017-05-04 20:40:41 +00:00
|
|
|
[profile.release]
|
2018-03-05 19:21:19 +00:00
|
|
|
opt-level = 3
|
2018-03-05 20:52:20 +00:00
|
|
|
debug = false
|
2018-03-05 19:21:19 +00:00
|
|
|
lto = true
|