72 lines
2.6 KiB
TOML
72 lines
2.6 KiB
TOML
[package]
|
|
name = "surrealdb"
|
|
publish = true
|
|
edition = "2021"
|
|
version = "1.0.0-beta.6"
|
|
readme = "CARGO.md"
|
|
authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
|
description = "A scalable, distributed, collaborative, document-graph database, for the realtime web"
|
|
repository = "https://github.com/surrealdb/surrealdb"
|
|
homepage = "https://github.com/surrealdb/surrealdb"
|
|
documentation = "https://docs.rs/surrealdb/"
|
|
keywords = ["database", "embedded-database", "key-value", "key-value-store", "kv-store"]
|
|
categories = ["database-implementations", "data-structures", "embedded"]
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
default = ["parallel", "kv-tikv", "kv-echodb", "kv-yokudb", "scripting", "http"]
|
|
parallel = ["dep:executor"]
|
|
kv-tikv = ["dep:tikv"]
|
|
kv-fdb = ["dep:foundationdb"]
|
|
kv-echodb = ["dep:echodb"]
|
|
kv-indxdb = ["dep:indxdb"]
|
|
kv-yokudb = []
|
|
scripting = ["dep:js", "dep:executor"]
|
|
http = ["dep:surf"]
|
|
|
|
[dependencies]
|
|
argon2 = "0.4.1"
|
|
async-recursion = "1.0.0"
|
|
bigdecimal = { version = "0.3.0", features = ["serde", "string-only"] }
|
|
channel = { version = "1.7.1", package = "async-channel" }
|
|
chrono = { version = "0.4.22", features = ["serde"] }
|
|
derive = { version = "0.3.0", package = "surrealdb-derive" }
|
|
deunicode = "1.3.1"
|
|
dmp = "0.1.1"
|
|
echodb = { version = "0.3.0", optional = true }
|
|
executor = { version = "1.4.1", package = "async-executor", optional = true }
|
|
futures = "0.3.23"
|
|
foundationdb = { version = "0.7.0", default-features = false, features = ["fdb-6_3", "embedded-fdb-include"], optional = true }
|
|
fuzzy-matcher = "0.3.7"
|
|
geo = { version = "0.22.1", features = ["use-serde"] }
|
|
indxdb = { version = "0.2.0", optional = true }
|
|
js = { version = "0.1.6", package = "rquickjs", features = ["classes", "futures", "loader", "macro", "properties", "parallel"], optional = true }
|
|
lexical-sort = "0.3.1"
|
|
log = "0.4.17"
|
|
md-5 = "0.10.1"
|
|
msgpack = { version = "1.1.0", package = "rmp-serde" }
|
|
nanoid = "0.4.0"
|
|
nom = "7.1.1"
|
|
once_cell = "1.13.1"
|
|
pbkdf2 = "0.11.0"
|
|
rand = "0.8.5"
|
|
regex = "1.6.0"
|
|
scrypt = "0.10.0"
|
|
serde = { version = "1.0.143", features = ["derive"] }
|
|
sha-1 = "0.10.0"
|
|
sha2 = "0.10.2"
|
|
storekey = "0.3.0"
|
|
thiserror = "1.0.32"
|
|
tikv = { version = "0.1.0", package = "tikv-client", optional = true }
|
|
trice = "0.1.0"
|
|
url = "2.2.2"
|
|
uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.20.1", features = ["macros"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
surf = { version = "2.3.2", optional = true, default-features = false, features = ["encoding", "wasm-client"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
surf = { version = "2.3.2", optional = true, default-features = false, features = ["encoding", "curl-client"] }
|