surrealpatch/lib/Cargo.toml

120 lines
4.6 KiB
TOML
Raw Normal View History

[package]
name = "surrealdb"
publish = true
edition = "2021"
2022-09-30 21:33:00 +00:00
version = "1.0.0-beta.8"
rust-version = "1.65.0"
2022-07-19 00:37:56 +00:00
readme = "CARGO.md"
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"
resolver = "2"
[features]
# Public features
default = ["protocol-ws", "rustls"]
protocol-http = ["dep:reqwest", "dep:tokio-util"]
protocol-ws = ["dep:tokio-tungstenite", "dep:tokio-stream", "tokio/time"]
kv-mem = ["dep:echodb"]
kv-indxdb = ["dep:indxdb"]
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"]
native-tls = ["dep:native-tls", "reqwest?/native-tls", "tokio-tungstenite?/native-tls"]
rustls = ["dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/__rustls-tls"]
# Private features
kv-fdb = ["foundationdb"]
[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 = []
[dependencies]
addr = { version = "0.15.6", default-features = false, features = ["std"] }
2023-03-25 20:49:00 +00:00
argon2 = "0.5.0"
ascii = { version = "0.3.2", package = "any_ascii" }
2023-03-25 20:49:00 +00:00
async-recursion = "1.0.4"
bcrypt = "0.14.0"
bigdecimal = { version = "0.3.0", features = ["serde", "string-only"] }
channel = { version = "1.8.0", package = "async-channel" }
2023-03-25 20:49:00 +00:00
chrono = { version = "0.4.24", features = ["serde"] }
derive = { version = "0.5.0", package = "surrealdb-derive" }
dmp = "0.1.2"
echodb = { version = "0.3.0", optional = true }
executor = { version = "1.5.0", package = "async-executor" }
flume = "0.10.14"
2023-03-25 20:49:00 +00:00
futures = "0.3.27"
2023-02-11 23:00:03 +00:00
futures-concurrency = "7.1.0"
foundationdb = { version = "0.7.0", default-features = false, features = ["embedded-fdb-include"], optional = true }
fuzzy-matcher = "0.3.7"
2023-03-25 20:49:00 +00:00
geo = { version = "0.24.1", features = ["use-serde"] }
indexmap = { version = "1.9.3", features = ["serde"] }
indxdb = { version = "0.2.0", optional = true }
2023-03-25 07:56:22 +00:00
js = { version = "0.1.7", package = "rquickjs", features = ["array-buffer", "bindgen", "classes", "futures", "loader", "macro", "parallel", "properties"], optional = true }
lexical-sort = "0.3.1"
2022-05-05 11:40:05 +00:00
log = "0.4.17"
md-5 = "0.10.5"
2022-09-30 21:24:22 +00:00
msgpack = { version = "1.1.1", package = "rmp-serde" }
nanoid = "0.4.0"
native-tls = { version = "0.2.11", optional = true }
nom = { version = "7.1.3", features = ["alloc"] }
2023-03-25 20:49:00 +00:00
once_cell = "1.17.1"
pbkdf2 = { version = "0.12.1", features = ["simple"] }
rand = "0.8.5"
2023-03-25 20:49:00 +00:00
regex = "1.7.3"
reqwest = { version = "0.11.15", default-features = false, features = ["json", "stream"], optional = true }
2023-02-11 23:00:03 +00:00
rocksdb = { version = "0.20.1", optional = true }
rustls = { version = "0.20.8", optional = true }
2023-03-25 20:49:00 +00:00
scrypt = "0.11.0"
semver = { version = "1.0.17", features = ["serde"] }
serde = { version = "1.0.158", features = ["derive"] }
serde_json = "1.0.94"
sha-1 = "0.10.1"
2022-09-17 23:26:52 +00:00
sha2 = "0.10.6"
storekey = "0.4.0"
2023-03-25 20:49:00 +00:00
thiserror = "1.0.40"
tikv = { version = "0.1.0", package = "tikv-client", optional = true }
2023-03-25 20:49:00 +00:00
tokio-stream = { version = "0.1.12", optional = true }
tokio-util = { version = "0.7.7", optional = true, features = ["compat"] }
2023-03-08 10:35:45 +00:00
trice = "0.3.0"
ulid = { version = "1.0.0", features = ["serde"] }
2022-09-17 23:26:52 +00:00
url = "2.3.1"
[dev-dependencies]
env_logger = "0.10.0"
temp-dir = "0.1.11"
2023-03-25 20:49:00 +00:00
time = { version = "0.3.20", features = ["serde"] }
tokio = { version = "1.26.0", features = ["macros", "rt", "rt-multi-thread"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
pharos = "0.5.3"
2023-03-25 20:49:00 +00:00
tokio = { version = "1.26.0", default-features = false, features = ["rt"] }
uuid = { version = "1.3.0", features = ["serde", "js", "v4", "v7"] }
wasm-bindgen-futures = "0.4.34"
ws_stream_wasm = "0.7.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2023-03-25 20:49:00 +00:00
tokio = { version = "1.26.0", default-features = false, features = ["io-util", "fs", "rt-multi-thread"] }
tokio-tungstenite = { version = "0.18.0", optional = true }
uuid = { version = "1.3.0", features = ["serde", "v4", "v7"] }