surrealpatch/Cargo.toml

93 lines
2.8 KiB
TOML
Raw Normal View History

2020-06-29 15:35:19 +00:00
[package]
name = "surreal"
2020-07-01 08:24:31 +00:00
publish = false
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>"]
[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]
2023-03-20 15:20:57 +00:00
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
2020-06-29 15:35:19 +00:00
[dependencies]
argon2 = "0.5.1"
2023-07-03 14:30:42 +00:00
base64 = "0.21.2"
bytes = "1.4.0"
clap = { version = "4.3.12", features = ["env", "derive", "wrap_help", "unicode"] }
2023-04-14 16:01:31 +00:00
futures = "0.3.28"
glob = "0.3.1"
2023-03-25 20:49:00 +00:00
http = "0.2.9"
2023-07-03 14:30:42 +00:00
hyper = "0.14.27"
ipnet = "2.8.0"
once_cell = "1.18.0"
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
opentelemetry-otlp = "0.11.0"
rand = "0.8.5"
2023-05-22 13:38:10 +00:00
reqwest = { version = "0.11.18", features = ["blocking"] }
rustyline = { version = "11.0.0", features = ["derive"] }
serde = { version = "1.0.171", features = ["derive"] }
serde_cbor = "0.11.2"
serde_json = "1.0.102"
serde_pack = { version = "1.1.1", package = "rmp-serde" }
2023-01-07 09:42:45 +00:00
surrealdb = { path = "lib", features = ["protocol-http", "protocol-ws", "rustls"] }
2023-07-03 14:30:42 +00:00
tempfile = "3.6.0"
thiserror = "1.0.43"
2023-07-03 14:30:42 +00:00
tokio = { version = "1.29.1", features = ["macros", "signal"] }
tokio-util = { version = "0.7.8", features = ["io"] }
tracing = "0.1"
tracing-opentelemetry = "0.18.0"
2023-05-22 13:38:10 +00:00
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
urlencoding = "2.1.2"
uuid = { version = "1.4.0", features = ["serde", "js", "v4", "v7"] }
2023-05-22 13:38:10 +00:00
warp = { version = "0.3.5", features = ["compression", "tls", "websocket"] }
[target.'cfg(unix)'.dependencies]
nix = "0.26.2"
[dev-dependencies]
assert_fs = "1.0.13"
opentelemetry-proto = { version = "0.1.0", features = ["gen-tonic", "traces", "build-server"] }
rcgen = "0.10.0"
serial_test = "2.0.0"
2023-05-22 13:38:10 +00:00
temp-env = "0.3.4"
tokio-stream = { version = "0.1", features = ["net"] }
tonic = "0.8.3"
[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"
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"],
]
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"]