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"
|
2024-02-05 22:06:37 +00:00
|
|
|
version = "1.3.0"
|
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]
|
2023-07-04 10:25:59 +00:00
|
|
|
# Public features
|
2024-01-10 16:43:56 +00:00
|
|
|
default = ["storage-mem", "storage-rocksdb", "scripting", "http"]
|
2023-12-19 08:56:24 +00:00
|
|
|
storage-mem = ["surrealdb/kv-mem"]
|
|
|
|
storage-rocksdb = ["surrealdb/kv-rocksdb"]
|
|
|
|
storage-speedb = ["surrealdb/kv-speedb"]
|
|
|
|
storage-tikv = ["surrealdb/kv-tikv"]
|
|
|
|
storage-fdb = ["surrealdb/kv-fdb-7_1"]
|
2024-02-15 20:47:10 +00:00
|
|
|
storage-surrealkv = ["surrealdb/kv-surrealkv"]
|
2022-09-27 21:52:39 +00:00
|
|
|
scripting = ["surrealdb/scripting"]
|
|
|
|
http = ["surrealdb/http"]
|
2023-11-01 13:58:20 +00:00
|
|
|
http-compression = []
|
2024-02-02 22:10:47 +00:00
|
|
|
ml = ["surrealdb/ml"]
|
2024-02-09 19:31:16 +00:00
|
|
|
ml2 = ["surrealdb/ml2"]
|
2024-01-09 17:17:48 +00:00
|
|
|
jwks = ["surrealdb/jwks"]
|
2024-02-02 22:10:47 +00:00
|
|
|
sql2 = ["surrealdb/sql2"]
|
|
|
|
parser2 = ["surrealdb/parser2"]
|
2022-08-26 00:24:08 +00:00
|
|
|
|
2022-02-22 14:16:50 +00:00
|
|
|
[workspace]
|
2024-02-02 22:10:47 +00:00
|
|
|
members = ["core", "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
|
|
|
|
|
2023-05-16 22:31:30 +00:00
|
|
|
[profile.bench]
|
|
|
|
strip = false
|
|
|
|
|
2020-06-29 15:35:19 +00:00
|
|
|
[dependencies]
|
2023-11-20 15:50:37 +00:00
|
|
|
argon2 = "0.5.2"
|
2023-08-17 18:03:46 +00:00
|
|
|
axum = { version = "0.6.20", features = ["tracing", "ws", "headers"] }
|
2023-08-31 12:06:10 +00:00
|
|
|
axum-extra = { version = "0.7.7", features = ["query", "typed-routing"] }
|
2023-07-19 14:35:56 +00:00
|
|
|
axum-server = { version = "0.5.1", features = ["tls-rustls"] }
|
2023-11-20 15:50:37 +00:00
|
|
|
base64 = "0.21.5"
|
|
|
|
bytes = "1.5.0"
|
2024-01-09 15:27:03 +00:00
|
|
|
ciborium = "0.2.1"
|
2024-01-22 17:51:49 +00:00
|
|
|
clap = { version = "4.4.11", features = [
|
2024-01-23 10:03:25 +00:00
|
|
|
"env",
|
|
|
|
"derive",
|
|
|
|
"wrap_help",
|
|
|
|
"unicode",
|
2024-01-22 17:51:49 +00:00
|
|
|
] }
|
2023-11-20 15:50:37 +00:00
|
|
|
futures = "0.3.29"
|
|
|
|
futures-util = "0.3.29"
|
2023-07-10 08:36:35 +00:00
|
|
|
glob = "0.3.1"
|
2023-11-27 10:23:26 +00:00
|
|
|
http = "0.2.11"
|
2023-07-19 14:35:56 +00:00
|
|
|
http-body = "0.4.5"
|
2023-07-03 14:30:42 +00:00
|
|
|
hyper = "0.14.27"
|
|
|
|
once_cell = "1.18.0"
|
2023-07-19 14:35:56 +00:00
|
|
|
opentelemetry = { version = "0.19", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = { version = "0.12.0", features = ["metrics"] }
|
2023-11-20 15:50:37 +00:00
|
|
|
pin-project-lite = "0.2.13"
|
2022-05-07 14:15:11 +00:00
|
|
|
rand = "0.8.5"
|
2024-01-22 17:51:49 +00:00
|
|
|
reqwest = { version = "0.11.22", default-features = false, features = [
|
2024-01-23 10:03:25 +00:00
|
|
|
"blocking",
|
|
|
|
"gzip",
|
2024-01-22 17:51:49 +00:00
|
|
|
] }
|
2024-02-12 11:52:36 +00:00
|
|
|
revision = "0.5.0"
|
2024-01-09 15:27:03 +00:00
|
|
|
rmpv = "1.0.1"
|
2023-12-05 12:12:56 +00:00
|
|
|
rustyline = { version = "12.0.0", features = ["derive"] }
|
2023-11-27 10:23:26 +00:00
|
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
2023-11-20 15:50:37 +00:00
|
|
|
serde_json = "1.0.108"
|
2023-08-17 18:03:46 +00:00
|
|
|
serde_pack = { version = "1.1.2", package = "rmp-serde" }
|
2024-01-23 10:03:25 +00:00
|
|
|
surrealdb = { version = "1", path = "lib", features = [
|
|
|
|
"protocol-http",
|
|
|
|
"protocol-ws",
|
|
|
|
"rustls",
|
2024-01-22 17:51:49 +00:00
|
|
|
] }
|
2023-11-20 15:50:37 +00:00
|
|
|
tempfile = "3.8.1"
|
|
|
|
thiserror = "1.0.50"
|
2023-11-27 10:23:26 +00:00
|
|
|
tokio = { version = "1.34.0", features = ["macros", "signal"] }
|
2023-11-20 15:50:37 +00:00
|
|
|
tokio-util = { version = "0.7.10", features = ["io"] }
|
2023-07-19 14:35:56 +00:00
|
|
|
tower = "0.4.13"
|
2024-01-22 17:51:49 +00:00
|
|
|
tower-http = { version = "0.4.4", features = [
|
2024-01-23 10:03:25 +00:00
|
|
|
"trace",
|
|
|
|
"sensitive-headers",
|
|
|
|
"auth",
|
|
|
|
"request-id",
|
|
|
|
"util",
|
|
|
|
"catch-panic",
|
|
|
|
"cors",
|
|
|
|
"set-header",
|
|
|
|
"limit",
|
|
|
|
"add-extension",
|
|
|
|
"compression-full",
|
2024-01-22 17:51:49 +00:00
|
|
|
] }
|
2023-03-29 18:16:18 +00:00
|
|
|
tracing = "0.1"
|
2023-07-19 14:35:56 +00:00
|
|
|
tracing-opentelemetry = "0.19.0"
|
2023-11-27 10:23:26 +00:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
2023-08-17 18:03:46 +00:00
|
|
|
urlencoding = "2.1.3"
|
2023-11-20 15:50:37 +00:00
|
|
|
uuid = { version = "1.6.1", features = ["serde", "js", "v4", "v7"] }
|
2022-08-12 14:52:15 +00:00
|
|
|
|
2023-06-08 20:57:02 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2023-12-05 12:12:56 +00:00
|
|
|
nix = { version = "0.27.1", features = ["user"] }
|
|
|
|
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
|
|
nix = { version = "0.27.1", features = ["signal", "user"] }
|
2023-06-08 20:57:02 +00:00
|
|
|
|
2023-12-04 12:37:32 +00:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios"))'.dependencies]
|
2023-12-05 10:10:52 +00:00
|
|
|
mimalloc = { version = "0.1.39", default-features = false }
|
2023-12-04 12:37:32 +00:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
|
|
|
|
jemallocator = "0.5.4"
|
|
|
|
|
2023-03-29 18:16:18 +00:00
|
|
|
[dev-dependencies]
|
2023-07-10 08:36:35 +00:00
|
|
|
assert_fs = "1.0.13"
|
2023-11-27 10:23:26 +00:00
|
|
|
env_logger = "0.10.1"
|
2024-01-22 17:51:49 +00:00
|
|
|
opentelemetry-proto = { version = "0.2.0", features = [
|
2024-01-23 10:03:25 +00:00
|
|
|
"gen-tonic",
|
|
|
|
"traces",
|
|
|
|
"metrics",
|
|
|
|
"logs",
|
2024-01-22 17:51:49 +00:00
|
|
|
] }
|
2023-12-05 12:12:56 +00:00
|
|
|
rcgen = "0.11.3"
|
2023-06-10 20:30:37 +00:00
|
|
|
serial_test = "2.0.0"
|
2023-11-20 15:50:37 +00:00
|
|
|
temp-env = { version = "0.3.6", features = ["async_closure"] }
|
|
|
|
test-log = { version = "0.2.13", features = ["trace"] }
|
2023-07-10 08:36:35 +00:00
|
|
|
tokio-stream = { version = "0.1", features = ["net"] }
|
2023-11-20 15:50:37 +00:00
|
|
|
tokio-tungstenite = { version = "0.20.1" }
|
2023-07-10 08:36:35 +00:00
|
|
|
tonic = "0.8.3"
|
2023-11-13 17:19:47 +00:00
|
|
|
ulid = "1.1.0"
|
2023-12-05 12:12:56 +00:00
|
|
|
wiremock = "0.5.22"
|
2023-03-29 18:16:18 +00:00
|
|
|
|
2024-01-01 14:48:20 +00:00
|
|
|
[build-dependencies]
|
|
|
|
semver = "1.0.20"
|
|
|
|
|
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 = [
|
2024-01-23 10:03:25 +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"]
|