48756a0a96
Closes #1642
66 lines
1.9 KiB
TOML
66 lines
1.9 KiB
TOML
[package]
|
|
name = "surreal"
|
|
publish = false
|
|
edition = "2021"
|
|
version = "1.0.0-beta.8"
|
|
authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
|
|
|
[features]
|
|
default = ["storage-mem", "storage-rocksdb", "scripting", "http"]
|
|
storage-mem = ["surrealdb/kv-mem"]
|
|
storage-rocksdb = ["surrealdb/kv-rocksdb"]
|
|
storage-tikv = ["surrealdb/kv-tikv"]
|
|
storage-fdb = ["surrealdb/kv-fdb-6_3"]
|
|
scripting = ["surrealdb/scripting"]
|
|
http = ["surrealdb/http"]
|
|
|
|
[workspace]
|
|
members = ["lib", "lib/examples/actix"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
opt-level = 3
|
|
panic = 'abort'
|
|
codegen-units = 1
|
|
|
|
[dependencies]
|
|
argon2 = "0.4.1"
|
|
clap = { version = "3.2.23", features = ["env"] }
|
|
base64 = "0.21.0"
|
|
bytes = "1.4.0"
|
|
chrono = { version = "0.4.23", features = ["serde"] }
|
|
fern = { version = "0.6.1", features = ["colored"] }
|
|
futures = "0.3.26"
|
|
http = "0.2.8"
|
|
hyper = "0.14.24"
|
|
jsonwebtoken = "8.2.0"
|
|
log = "0.4.17"
|
|
once_cell = "1.17.0"
|
|
rand = "0.8.5"
|
|
reqwest = { version = "0.11.14", features = ["blocking"] }
|
|
rustyline = "10.1.1"
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_cbor = "0.11.2"
|
|
serde_json = "1.0.92"
|
|
serde_pack = { version = "1.1.1", package = "rmp-serde" }
|
|
surrealdb = { path = "lib", features = ["protocol-http", "protocol-ws", "rustls"] }
|
|
thiserror = "1.0.38"
|
|
tokio = { version = "1.25.0", features = ["macros", "signal"] }
|
|
urlencoding = "2.1.2"
|
|
warp = { version = "0.3.3", features = ["compression", "tls", "websocket"] }
|
|
|
|
[package.metadata.deb]
|
|
maintainer-scripts = "pkg/deb/"
|
|
maintainer = "Tobie Morgan Hitchcock <tobie@surrealdb.com>"
|
|
copyright = "SurrealDB Ltd. 2022"
|
|
systemd-units = { enable = true }
|
|
depends = "$auto"
|
|
section = "utility"
|
|
priority = "optional"
|
|
assets = [
|
|
["target/release/surreal", "usr/share/surrealdb/surreal", "755"],
|
|
["pkg/deb/README", "usr/share/surrealdb/README", "644"],
|
|
]
|
|
extended-description = "A scalable, distributed, collaborative, document-graph database, for the realtime web."
|
|
license-file = ["LICENSE", "4"]
|