surrealpatch/lib/Cargo.toml

159 lines
5.6 KiB
TOML
Raw Normal View History

[package]
name = "surrealdb"
publish = true
edition = "2021"
version = "1.0.0-beta.9"
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"]
2023-04-01 01:10:55 +00:00
license-file = "../LICENSE"
resolver = "2"
[features]
# Public features
default = ["protocol-ws", "rustls"]
protocol-http = ["dep:reqwest", "dep:tokio-util"]
protocol-ws = ["dep:tokio-tungstenite", "tokio/time"]
kv-mem = ["dep:echodb", "tokio/time"]
kv-indxdb = ["dep:indxdb"]
kv-speedb = ["dep:speedb", "tokio/time"]
kv-rocksdb = ["dep:rocksdb", "tokio/time"]
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-webpki-roots"]
# Private features
2023-06-13 20:55:38 +00:00
kv-fdb = ["foundationdb", "tokio/time"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
features = [
"protocol-ws", "protocol-http",
"kv-mem", "kv-indxdb", "kv-rocksdb",
"rustls", "native-tls",
"http", "scripting"
]
targets = []
[dependencies]
addr = { version = "0.15.6", default-features = false, features = ["std"] }
argon2 = "0.5.1"
ascii = { version = "0.3.2", package = "any_ascii" }
2023-03-25 20:49:00 +00:00
async-recursion = "1.0.4"
2023-07-03 14:30:42 +00:00
base64_lib = { version = "0.21.2", package = "base64" }
bcrypt = "0.14.0"
bincode = "1.3.3"
2023-06-21 18:31:15 +00:00
bung = "0.1.0"
channel = { version = "1.9.0", package = "async-channel" }
2023-07-03 14:30:42 +00:00
chrono = { version = "0.4.26", features = ["serde"] }
derive = { version = "0.9.0", package = "surrealdb-derive" }
deunicode = "1.3.3"
dmp = "0.2.0"
2023-03-26 21:13:27 +00:00
echodb = { version = "0.4.0", optional = true }
2023-04-14 16:01:31 +00:00
executor = { version = "1.5.1", package = "async-executor" }
flume = "0.10.14"
fst = "0.4.7"
2023-06-13 20:55:38 +00:00
foundationdb = { version = "0.8.0", default-features = false, features = ["embedded-fdb-include"], optional = true }
2023-04-14 16:01:31 +00:00
futures = "0.3.28"
2023-07-03 14:30:42 +00:00
futures-concurrency = "7.3.0"
fuzzy-matcher = "0.3.7"
2023-07-03 14:30:42 +00:00
geo = { version = "0.25.1", features = ["use-serde"] }
2023-03-25 20:49:00 +00:00
indexmap = { version = "1.9.3", features = ["serde"] }
2023-03-26 21:13:27 +00:00
indxdb = { version = "0.3.0", optional = true }
js = { version = "0.4.0-beta.3" , package = "rquickjs", features = ["array-buffer", "bindgen", "classes", "futures", "loader", "macro", "parallel", "properties","rust-alloc"], optional = true }
jsonwebtoken = "8.3.0"
lexicmp = "0.1.0"
lru = "0.10.1"
md-5 = "0.10.5"
nanoid = "0.4.0"
native-tls = { version = "0.2.11", optional = true }
nom = { version = "7.1.3", features = ["alloc"] }
2023-07-03 14:30:42 +00:00
once_cell = "1.18.0"
pbkdf2 = { version = "0.12.2", features = ["simple"] }
2023-07-03 14:30:42 +00:00
pin-project-lite = "0.2.10"
radix_trie = { version = "0.2.1", features = ["serde"] }
rand = "0.8.5"
regex = "1.9.1"
2023-06-22 12:14:54 +00:00
reqwest = { version = "0.11.18", default-features = false, features = ["json", "stream","multipart"], optional = true }
roaring = { version = "0.10.1", features = ["serde"] }
2023-05-19 20:28:31 +00:00
rocksdb = { version = "0.21.0", optional = true }
2023-07-03 14:30:42 +00:00
rust_decimal = { version = "1.30.0", features = [ "maths" ] }
rust-stemmers = "1.2.0"
rustls = { version = "0.20.8", optional = true }
snap = "1.1.0"
2023-03-25 20:49:00 +00:00
scrypt = "0.11.0"
semver = { version = "1.0.18", features = ["serde"] }
serde = { version = "1.0.171", features = ["derive"] }
serde_json = "1.0.103"
sha-1 = "0.10.1"
2023-07-03 14:30:42 +00:00
sha2 = "0.10.7"
speedb = { version = "0.0.2", optional = true }
storekey = "0.5.0"
thiserror = "1.0.43"
tikv = { version = "0.2.0-surreal.1", package = "surrealdb-tikv-client", optional = true }
2023-05-22 13:38:10 +00:00
tokio-util = { version = "0.7.8", optional = true, features = ["compat"] }
tracing = "0.1.37"
2023-03-26 21:13:27 +00:00
trice = "0.3.1"
ulid = { version = "1.0.0", features = ["serde"] }
2023-07-03 14:30:42 +00:00
url = "2.4.0"
2023-06-22 12:14:54 +00:00
bytes = "1.4.0"
[dev-dependencies]
2023-07-07 18:43:16 +00:00
criterion = { version="0.4", features= [ "async_futures" ] }
env_logger = "0.10.0"
2023-07-03 14:30:42 +00:00
test-log = "0.2.12"
pprof = { version = "0.11.1", features = [ "flamegraph", "criterion" ] }
serial_test = "2.0.0"
temp-dir = "0.1.11"
time = { version = "0.3.23", features = ["serde"] }
2023-07-03 14:30:42 +00:00
tokio = { version = "1.29.1", features = ["macros", "sync", "rt-multi-thread"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
2023-07-20 12:46:11 +00:00
wiremock = "0.5.19"
[target.'cfg(target_arch = "wasm32")'.dependencies]
pharos = "0.5.3"
tokio = { version = "1.29.1", default-features = false, features = ["rt", "sync"] }
uuid = { version = "1.4.1", features = ["serde", "js", "v4", "v7"] }
wasmtimer = { version = "0.2.0", default-features = false, features = ["tokio"] }
2023-07-03 14:30:42 +00:00
wasm-bindgen-futures = "0.4.37"
ws_stream_wasm = "0.7.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.29.1", default-features = false, features = ["macros", "io-util", "io-std", "fs", "rt-multi-thread", "time", "sync"] }
tokio-tungstenite = { version = "0.18.0", optional = true }
uuid = { version = "1.4.1", features = ["serde", "v4", "v7"] }
[lib]
bench = false
[[bench]]
name = "executor"
harness = false
[[bench]]
name = "parser"
harness = false
2023-07-07 18:43:16 +00:00
[[bench]]
name = "processor"
harness = false
[[bench]]
name = "index_btree"
harness = false