2020-06-29 15:35:19 +00:00
|
|
|
[package]
|
|
|
|
name = "surreal"
|
2020-07-01 08:24:31 +00:00
|
|
|
publish = false
|
2022-01-13 17:36:41 +00:00
|
|
|
edition = "2021"
|
2023-04-01 01:07:04 +00:00
|
|
|
version = "1.0.0-beta.9"
|
2023-04-01 01:10:55 +00:00
|
|
|
license-file = "LICENSE"
|
2020-06-29 15:35:19 +00:00
|
|
|
authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
|
|
|
|
2022-08-26 00:24:08 +00:00
|
|
|
[features]
|
2022-12-30 08:23:19 +00:00
|
|
|
default = ["storage-mem", "storage-rocksdb", "scripting", "http"]
|
|
|
|
storage-mem = ["surrealdb/kv-mem"]
|
2022-09-27 21:52:39 +00:00
|
|
|
storage-rocksdb = ["surrealdb/kv-rocksdb"]
|
2022-08-26 00:24:08 +00:00
|
|
|
storage-tikv = ["surrealdb/kv-tikv"]
|
2022-09-27 21:52:39 +00:00
|
|
|
storage-fdb = ["surrealdb/kv-fdb-6_3"]
|
|
|
|
scripting = ["surrealdb/scripting"]
|
|
|
|
http = ["surrealdb/http"]
|
2022-08-26 00:24:08 +00:00
|
|
|
|
2022-02-22 14:16:50 +00:00
|
|
|
[workspace]
|
2023-03-20 15:20:57 +00:00
|
|
|
members = ["lib", "lib/examples/actix", "lib/examples/axum"]
|
2022-02-22 14:16:50 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2022-04-09 09:07:28 +00:00
|
|
|
strip = true
|
2022-02-22 14:16:50 +00:00
|
|
|
opt-level = 3
|
|
|
|
panic = 'abort'
|
|
|
|
codegen-units = 1
|
|
|
|
|
2020-06-29 15:35:19 +00:00
|
|
|
[dependencies]
|
2023-03-25 20:49:00 +00:00
|
|
|
argon2 = "0.5.0"
|
2023-01-14 19:28:33 +00:00
|
|
|
base64 = "0.21.0"
|
2023-03-31 22:36:07 +00:00
|
|
|
bung = "0.1.0"
|
2023-02-07 08:39:09 +00:00
|
|
|
bytes = "1.4.0"
|
2023-03-25 20:49:00 +00:00
|
|
|
chrono = { version = "0.4.24", features = ["serde"] }
|
2023-03-29 18:16:18 +00:00
|
|
|
clap = { version = "3.2.23", features = ["env"] }
|
2023-03-25 20:49:00 +00:00
|
|
|
fern = { version = "0.6.2", features = ["colored"] }
|
|
|
|
futures = "0.3.27"
|
|
|
|
http = "0.2.9"
|
|
|
|
hyper = "0.14.25"
|
|
|
|
jsonwebtoken = "8.3.0"
|
2022-05-05 11:40:05 +00:00
|
|
|
log = "0.4.17"
|
2023-03-25 20:49:00 +00:00
|
|
|
once_cell = "1.17.1"
|
2023-03-29 18:16:18 +00:00
|
|
|
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.11.0"
|
2022-05-07 14:15:11 +00:00
|
|
|
rand = "0.8.5"
|
2023-03-30 10:08:36 +00:00
|
|
|
reqwest = { version = "0.11.16", features = ["blocking"] }
|
2023-03-25 20:49:00 +00:00
|
|
|
rustyline = "11.0.0"
|
2023-03-30 10:08:36 +00:00
|
|
|
serde = { version = "1.0.159", features = ["derive"] }
|
2022-02-22 14:16:50 +00:00
|
|
|
serde_cbor = "0.11.2"
|
2022-09-30 21:24:22 +00:00
|
|
|
serde_pack = { version = "1.1.1", package = "rmp-serde" }
|
2023-03-30 10:08:36 +00:00
|
|
|
serde_json = "1.0.95"
|
2023-01-07 09:42:45 +00:00
|
|
|
surrealdb = { path = "lib", features = ["protocol-http", "protocol-ws", "rustls"] }
|
2023-03-25 20:49:00 +00:00
|
|
|
thiserror = "1.0.40"
|
2023-03-30 10:08:36 +00:00
|
|
|
tokio = { version = "1.27.0", features = ["macros", "signal"] }
|
2023-03-29 18:16:18 +00:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-futures = "0.2.5"
|
|
|
|
tracing-opentelemetry = "0.18.0"
|
|
|
|
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
|
2023-01-17 14:10:21 +00:00
|
|
|
urlencoding = "2.1.2"
|
2023-04-14 11:42:03 +00:00
|
|
|
warp = { version = "0.3.4", features = ["compression", "tls", "websocket"] }
|
2022-08-12 14:52:15 +00:00
|
|
|
|
2023-03-29 18:16:18 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tonic = "0.8.3"
|
|
|
|
opentelemetry-proto = {version = "0.1.0", features = ["gen-tonic", "traces", "build-server"] }
|
|
|
|
tokio-stream = { version = "0.1", features = ["net"] }
|
|
|
|
temp-env = "0.3.3"
|
|
|
|
|
2022-08-12 14:52:15 +00:00
|
|
|
[package.metadata.deb]
|
|
|
|
maintainer-scripts = "pkg/deb/"
|
|
|
|
maintainer = "Tobie Morgan Hitchcock <tobie@surrealdb.com>"
|
2022-09-17 23:29:29 +00:00
|
|
|
copyright = "SurrealDB Ltd. 2022"
|
2022-08-12 14:52:15 +00:00
|
|
|
systemd-units = { enable = true }
|
|
|
|
depends = "$auto"
|
|
|
|
section = "utility"
|
|
|
|
priority = "optional"
|
|
|
|
assets = [
|
2022-09-17 23:29:29 +00:00
|
|
|
["target/release/surreal", "usr/share/surrealdb/surreal", "755"],
|
|
|
|
["pkg/deb/README", "usr/share/surrealdb/README", "644"],
|
2022-08-12 14:52:15 +00:00
|
|
|
]
|
|
|
|
extended-description = "A scalable, distributed, collaborative, document-graph database, for the realtime web."
|
2022-08-12 18:41:35 +00:00
|
|
|
license-file = ["LICENSE", "4"]
|