2022-02-22 14:16:50 +00:00
|
|
|
[package]
|
|
|
|
name = "surrealdb"
|
|
|
|
publish = true
|
|
|
|
edition = "2021"
|
2022-09-30 21:33:00 +00:00
|
|
|
version = "1.0.0-beta.8"
|
2022-12-30 08:23:19 +00:00
|
|
|
rust-version = "1.65.0"
|
2022-07-19 00:37:56 +00:00
|
|
|
readme = "CARGO.md"
|
2022-02-22 14:16:50 +00:00
|
|
|
authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
2022-07-19 00:37:56 +00:00
|
|
|
description = "A scalable, distributed, collaborative, document-graph database, for the realtime web"
|
|
|
|
repository = "https://github.com/surrealdb/surrealdb"
|
|
|
|
homepage = "https://github.com/surrealdb/surrealdb"
|
2022-08-09 10:32:06 +00:00
|
|
|
documentation = "https://docs.rs/surrealdb/"
|
2022-07-19 00:37:56 +00:00
|
|
|
keywords = ["database", "embedded-database", "key-value", "key-value-store", "kv-store"]
|
|
|
|
categories = ["database-implementations", "data-structures", "embedded"]
|
|
|
|
license = "Apache-2.0"
|
2022-12-30 08:23:19 +00:00
|
|
|
resolver = "2"
|
2022-02-22 14:16:50 +00:00
|
|
|
|
|
|
|
[features]
|
2022-12-07 19:30:29 +00:00
|
|
|
# Public features
|
2022-12-30 08:23:19 +00:00
|
|
|
default = ["protocol-ws", "rustls"]
|
|
|
|
protocol-http = ["dep:reqwest", "dep:tokio-util"]
|
|
|
|
protocol-ws = ["dep:tokio-tungstenite", "dep:tokio-stream", "tokio/time"]
|
2023-01-02 09:10:04 +00:00
|
|
|
kv-mem = ["dep:echodb"]
|
2022-12-07 19:30:29 +00:00
|
|
|
kv-indxdb = ["dep:indxdb"]
|
2023-01-02 09:10:04 +00:00
|
|
|
kv-rocksdb = ["dep:rocksdb"]
|
|
|
|
kv-tikv = ["dep:tikv"]
|
|
|
|
kv-fdb-5_1 = ["foundationdb/fdb-5_1", "kv-fdb"]
|
|
|
|
kv-fdb-5_2 = ["foundationdb/fdb-5_2", "kv-fdb"]
|
|
|
|
kv-fdb-6_0 = ["foundationdb/fdb-6_0", "kv-fdb"]
|
|
|
|
kv-fdb-6_1 = ["foundationdb/fdb-6_1", "kv-fdb"]
|
|
|
|
kv-fdb-6_2 = ["foundationdb/fdb-6_2", "kv-fdb"]
|
|
|
|
kv-fdb-6_3 = ["foundationdb/fdb-6_3", "kv-fdb"]
|
|
|
|
kv-fdb-7_0 = ["foundationdb/fdb-7_0", "kv-fdb"]
|
|
|
|
kv-fdb-7_1 = ["foundationdb/fdb-7_1", "kv-fdb"]
|
2023-01-07 09:42:45 +00:00
|
|
|
scripting = ["dep:js"]
|
2022-12-08 18:39:46 +00:00
|
|
|
http = ["dep:reqwest"]
|
2022-12-30 08:23:19 +00:00
|
|
|
native-tls = ["dep:native-tls", "reqwest?/native-tls", "tokio-tungstenite?/native-tls"]
|
|
|
|
rustls = ["dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/__rustls-tls"]
|
2022-12-07 19:30:29 +00:00
|
|
|
# Private features
|
2023-01-02 09:10:04 +00:00
|
|
|
kv-fdb = ["foundationdb"]
|
2022-12-30 08:23:19 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
features = [
|
|
|
|
"protocol-ws", "protocol-http",
|
|
|
|
"kv-mem", "kv-indxdb", "kv-rocksdb", "kv-tikv", "kv-fdb",
|
|
|
|
"rustls", "native-tls",
|
|
|
|
"http", "scripting"
|
|
|
|
]
|
|
|
|
targets = []
|
2022-09-27 21:52:39 +00:00
|
|
|
|
2022-02-22 14:16:50 +00:00
|
|
|
[dependencies]
|
2022-09-01 17:46:36 +00:00
|
|
|
addr = { version = "0.15.6", default-features = false, features = ["std"] }
|
2022-07-04 00:59:02 +00:00
|
|
|
argon2 = "0.4.1"
|
2022-02-22 14:16:50 +00:00
|
|
|
async-recursion = "1.0.0"
|
2022-12-07 19:30:29 +00:00
|
|
|
bcrypt = "0.13.0"
|
2022-03-17 21:01:29 +00:00
|
|
|
bigdecimal = { version = "0.3.0", features = ["serde", "string-only"] }
|
2022-08-10 22:45:13 +00:00
|
|
|
channel = { version = "1.7.1", package = "async-channel" }
|
2022-08-17 21:42:29 +00:00
|
|
|
chrono = { version = "0.4.22", features = ["serde"] }
|
2022-10-25 13:38:23 +00:00
|
|
|
derive = { version = "0.5.0", package = "surrealdb-derive" }
|
2022-08-23 22:52:43 +00:00
|
|
|
deunicode = "1.3.2"
|
2022-02-22 14:16:50 +00:00
|
|
|
dmp = "0.1.1"
|
2022-04-04 15:50:46 +00:00
|
|
|
echodb = { version = "0.3.0", optional = true }
|
2023-01-07 09:42:45 +00:00
|
|
|
executor = { version = "1.4.1", package = "async-executor" }
|
2022-12-30 08:23:19 +00:00
|
|
|
flume = "0.10.14"
|
2022-08-29 16:34:18 +00:00
|
|
|
futures = "0.3.24"
|
2022-12-30 08:23:19 +00:00
|
|
|
futures-concurrency = "7.0.0"
|
2022-09-27 21:52:39 +00:00
|
|
|
foundationdb = { version = "0.7.0", default-features = false, features = ["embedded-fdb-include"], optional = true }
|
2022-02-22 14:16:50 +00:00
|
|
|
fuzzy-matcher = "0.3.7"
|
2022-09-20 17:13:07 +00:00
|
|
|
geo = { version = "0.23.0", features = ["use-serde"] }
|
2022-12-30 08:23:19 +00:00
|
|
|
indexmap = { version = "1.9.2", features = ["serde"] }
|
2022-04-04 15:50:46 +00:00
|
|
|
indxdb = { version = "0.2.0", optional = true }
|
2022-04-27 15:21:51 +00:00
|
|
|
lexical-sort = "0.3.1"
|
2022-05-05 11:40:05 +00:00
|
|
|
log = "0.4.17"
|
2022-09-26 00:29:38 +00:00
|
|
|
md-5 = "0.10.5"
|
2022-09-30 21:24:22 +00:00
|
|
|
msgpack = { version = "1.1.1", package = "rmp-serde" }
|
2022-02-22 14:16:50 +00:00
|
|
|
nanoid = "0.4.0"
|
2022-12-30 08:23:19 +00:00
|
|
|
native-tls = { version = "0.2.11", optional = true }
|
2022-09-26 00:23:57 +00:00
|
|
|
nom = { version = "7.1.1", features = ["alloc"] }
|
2022-12-30 08:23:19 +00:00
|
|
|
once_cell = "1.16.0"
|
2022-04-01 21:04:11 +00:00
|
|
|
pbkdf2 = "0.11.0"
|
2022-02-22 14:16:50 +00:00
|
|
|
rand = "0.8.5"
|
2022-07-07 10:37:02 +00:00
|
|
|
regex = "1.6.0"
|
2022-12-08 18:39:46 +00:00
|
|
|
reqwest = { version = "0.11.13", default-features = false, features = ["json", "stream"], optional = true }
|
2022-08-28 13:35:25 +00:00
|
|
|
rocksdb = { version = "0.19.0", optional = true }
|
2022-12-30 08:23:19 +00:00
|
|
|
rustls = { version = "0.20.7", optional = true }
|
2022-04-01 21:04:11 +00:00
|
|
|
scrypt = "0.10.0"
|
2022-12-30 08:23:19 +00:00
|
|
|
semver = { version = "1.0.14", features = ["serde"] }
|
|
|
|
serde = { version = "1.0.148", features = ["derive"] }
|
|
|
|
serde_json = "1.0.89"
|
2022-02-22 14:16:50 +00:00
|
|
|
sha-1 = "0.10.0"
|
2022-09-17 23:26:52 +00:00
|
|
|
sha2 = "0.10.6"
|
2022-07-03 19:33:13 +00:00
|
|
|
storekey = "0.3.0"
|
2022-09-30 21:24:22 +00:00
|
|
|
thiserror = "1.0.37"
|
2022-02-22 14:16:50 +00:00
|
|
|
tikv = { version = "0.1.0", package = "tikv-client", optional = true }
|
2022-12-30 08:23:19 +00:00
|
|
|
tokio-stream = { version = "0.1.11", optional = true }
|
|
|
|
tokio-util = { version = "0.7.4", optional = true, features = ["compat"] }
|
2023-01-10 17:42:47 +00:00
|
|
|
trice = "0.2.0"
|
2022-09-17 23:26:52 +00:00
|
|
|
url = "2.3.1"
|
2022-02-22 14:16:50 +00:00
|
|
|
|
2023-01-04 07:51:21 +00:00
|
|
|
[dependencies.js]
|
|
|
|
optional = true
|
|
|
|
version = "0.1.7"
|
|
|
|
package = "rquickjs"
|
|
|
|
features = [
|
|
|
|
"array-buffer",
|
2023-01-07 09:42:45 +00:00
|
|
|
"bindgen",
|
2023-01-04 07:51:21 +00:00
|
|
|
"classes",
|
|
|
|
"futures",
|
|
|
|
"loader",
|
|
|
|
"macro",
|
|
|
|
"parallel",
|
|
|
|
"properties",
|
|
|
|
]
|
|
|
|
|
2022-02-22 14:16:50 +00:00
|
|
|
[dev-dependencies]
|
2022-12-30 08:23:19 +00:00
|
|
|
time = { version = "0.3.17", features = ["serde"] }
|
|
|
|
tokio = { version = "1.22.0", features = ["macros", "rt", "rt-multi-thread"] }
|
|
|
|
ulid = { version = "1.0.0", features = ["serde"] }
|
2022-07-26 19:23:40 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-12-30 08:23:19 +00:00
|
|
|
pharos = "0.5.3"
|
|
|
|
tokio = { version = "1.22.0", default-features = false, features = ["rt"] }
|
2022-12-07 19:30:29 +00:00
|
|
|
uuid = { version = "1.2.1", features = ["serde", "js", "v4", "v7"] }
|
2022-12-30 08:23:19 +00:00
|
|
|
wasm-bindgen-futures = "0.4.33"
|
|
|
|
ws_stream_wasm = "0.7.3"
|
2022-07-26 19:23:40 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-12-30 08:23:19 +00:00
|
|
|
tokio = { version = "1.22.0", default-features = false, features = ["io-util", "fs", "rt-multi-thread"] }
|
|
|
|
tokio-tungstenite = { version = "0.17.2", optional = true }
|
2022-12-07 19:30:29 +00:00
|
|
|
uuid = { version = "1.2.1", features = ["serde", "v4", "v7"] }
|