105 lines
3.5 KiB
TOML
105 lines
3.5 KiB
TOML
[package]
|
|
name = "surreal"
|
|
publish = false
|
|
edition = "2021"
|
|
version = "1.0.0-beta.11"
|
|
license-file = "LICENSE"
|
|
authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
|
|
|
[features]
|
|
# Public features
|
|
default = ["storage-mem", "storage-rocksdb", "scripting", "http"]
|
|
storage-mem = ["surrealdb/kv-mem", "has-storage"]
|
|
storage-rocksdb = ["surrealdb/kv-rocksdb", "has-storage"]
|
|
storage-speedb = ["surrealdb/kv-speedb", "has-storage"]
|
|
storage-tikv = ["surrealdb/kv-tikv", "has-storage"]
|
|
storage-fdb = ["surrealdb/kv-fdb-7_1", "has-storage"]
|
|
scripting = ["surrealdb/scripting"]
|
|
http = ["surrealdb/http"]
|
|
# Private features
|
|
has-storage = []
|
|
|
|
[workspace]
|
|
members = ["lib", "lib/examples/actix", "lib/examples/axum"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
opt-level = 3
|
|
panic = 'abort'
|
|
codegen-units = 1
|
|
|
|
[profile.bench]
|
|
strip = false
|
|
|
|
[dependencies]
|
|
argon2 = "0.5.1"
|
|
axum = { version = "0.6.20", features = ["tracing", "ws", "headers"] }
|
|
axum-client-ip = "0.4.1"
|
|
axum-extra = { version = "0.7.7", features = ["query", "typed-routing"] }
|
|
axum-server = { version = "0.5.1", features = ["tls-rustls"] }
|
|
base64 = "0.21.2"
|
|
bytes = "1.4.0"
|
|
clap = { version = "4.3.21", features = ["env", "derive", "wrap_help", "unicode"] }
|
|
futures = "0.3.28"
|
|
futures-util = "0.3.28"
|
|
glob = "0.3.1"
|
|
http = "0.2.9"
|
|
http-body = "0.4.5"
|
|
hyper = "0.14.27"
|
|
ipnet = "2.8.0"
|
|
once_cell = "1.18.0"
|
|
opentelemetry = { version = "0.19", features = ["rt-tokio"] }
|
|
opentelemetry-otlp = { version = "0.12.0", features = ["metrics"] }
|
|
pin-project-lite = "0.2.12"
|
|
rand = "0.8.5"
|
|
reqwest = { version = "0.11.18", default-features = false, features = ["blocking"] }
|
|
rustyline = { version = "11.0.0", features = ["derive"] }
|
|
serde = { version = "1.0.183", features = ["derive"] }
|
|
serde_cbor = "0.11.2"
|
|
serde_json = "1.0.104"
|
|
serde_pack = { version = "1.1.2", package = "rmp-serde" }
|
|
surrealdb = { path = "lib", features = ["protocol-http", "protocol-ws", "rustls"] }
|
|
tempfile = "3.7.1"
|
|
thiserror = "1.0.44"
|
|
tokio = { version = "1.31.0", features = ["macros", "signal"] }
|
|
tokio-util = { version = "0.7.8", features = ["io"] }
|
|
tower = "0.4.13"
|
|
tower-http = { version = "0.4.3", features = ["trace", "sensitive-headers", "auth", "request-id", "util", "catch-panic", "cors", "set-header", "limit", "add-extension"] }
|
|
tracing = "0.1"
|
|
tracing-futures = { version = "0.2.5", features = ["tokio"], default-features = false }
|
|
tracing-opentelemetry = "0.19.0"
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
|
urlencoding = "2.1.3"
|
|
uuid = { version = "1.4.1", features = ["serde", "js", "v4", "v7"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = "0.26.2"
|
|
|
|
[dev-dependencies]
|
|
assert_fs = "1.0.13"
|
|
env_logger = "0.10.0"
|
|
opentelemetry-proto = { version = "0.2.0", features = ["gen-tonic", "traces", "metrics", "logs"] }
|
|
rcgen = "0.10.0"
|
|
serial_test = "2.0.0"
|
|
temp-env = { version = "0.3.4", features = ["async_closure"] }
|
|
test-log = { version = "0.2.12", features = ["trace"] }
|
|
tokio-stream = { version = "0.1", features = ["net"] }
|
|
tokio-tungstenite = { version = "0.18.0" }
|
|
tonic = "0.8.3"
|
|
wiremock = "0.5.19"
|
|
|
|
[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"]
|