mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 09:40:23 -04:00
3f5f97fb1f
* Saving because I'm testing writing files * New upgrade program working quite well * Update license file as well * Tool seems good to go * Cargo check is passing, new upgrade-version is ready, old version removed * Updating lock file is required for CI to pass * main.rs clippy lints * More sensible default --------- Co-authored-by: Boppy <no-reply@boppygames.gg>
210 lines
5.5 KiB
TOML
210 lines
5.5 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/standalone",
|
|
"crates/lib",
|
|
"crates/core",
|
|
"crates/bindings-sys",
|
|
"crates/bindings",
|
|
"crates/bench",
|
|
"crates/bindings-macro",
|
|
"crates/cli",
|
|
"crates/sats",
|
|
"crates/testing",
|
|
"crates/vm",
|
|
"crates/client-api",
|
|
"crates/sdk",
|
|
"crates/client-api-messages",
|
|
"crates/sqltest",
|
|
"modules/rust-wasm-test",
|
|
"modules/benchmarks",
|
|
"modules/spacetimedb-quickstart",
|
|
"modules/quickstart-chat",
|
|
"modules/sdk-test",
|
|
"modules/sdk-test-connect-disconnect",
|
|
"crates/sdk/tests/test-counter",
|
|
"crates/sdk/tests/test-client",
|
|
"crates/sdk/tests/connect_disconnect_client",
|
|
"tools/upgrade-version",
|
|
]
|
|
default-members = ["crates/cli"]
|
|
# cargo feature graph resolver. v2 is default in edition2021 but workspace
|
|
# manifests don't have editions.
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
lto = "thin"
|
|
panic = 'unwind'
|
|
incremental = false
|
|
codegen-units = 16
|
|
rpath = false
|
|
|
|
[profile.release-fast]
|
|
inherits = "release"
|
|
lto = "thin"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
panic = 'unwind'
|
|
incremental = true
|
|
codegen-units = 256
|
|
rpath = false
|
|
|
|
[profile.bench]
|
|
debug = true
|
|
|
|
[workspace.dependencies]
|
|
ahash = "0.8.3"
|
|
anyhow = { version = "1.0.68", features = ["backtrace"] }
|
|
anymap = "0.12"
|
|
async-trait = "0.1.68"
|
|
axum = "0.6"
|
|
arrayvec = "0.7.2"
|
|
backtrace = "0.3.66"
|
|
base64 = "0.21.2"
|
|
bitflags = "2.3.3"
|
|
byte-unit = "4.0.18"
|
|
bytes = "1.2.1"
|
|
bytestring = { version = "1.2.0", features = ["serde"] }
|
|
cargo_metadata = "0.15.2"
|
|
chrono = { version = "0.4.24", default-features = false }
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
|
colored = "2.0.0"
|
|
console = { version = "0.15.6" }
|
|
convert_case = "0.6.0"
|
|
criterion = { version = "0.4.0", features = [
|
|
"async",
|
|
"async_tokio",
|
|
"html_reports",
|
|
] }
|
|
crossbeam-channel = "0.5"
|
|
cursive = "0.20"
|
|
decorum = { version = "0.3.1", default-features = false, features = ["std"] }
|
|
derive_more = "0.99.17"
|
|
dirs = "5.0.1"
|
|
duct = "0.13.5"
|
|
email_address = "0.2.4"
|
|
enum-as-inner = "0.6"
|
|
env_logger = "0.10"
|
|
flate2 = "1.0.24"
|
|
fs2 = "0.4.3"
|
|
fs-err = "2.9.0"
|
|
futures = "0.3"
|
|
futures-channel = "0.3"
|
|
genawaiter = "0.99.1"
|
|
getrandom = { version = "0.2.7", features = ["custom"] }
|
|
glob = "0.3.1"
|
|
hex = "0.4.3"
|
|
hostname = "^0.3"
|
|
home = "0.5"
|
|
http = "0.2.9"
|
|
humantime = "2.1.0"
|
|
hyper = "0.14.18"
|
|
im = "15.1"
|
|
imara-diff = "0.1.3"
|
|
indexmap = "1.9.2"
|
|
insta = { version = "1.21.0", features = ["toml"] }
|
|
is-terminal = "0.4"
|
|
itertools = "0.10.5"
|
|
jsonwebtoken = { version = "8.1.0" }
|
|
lazy_static = "1.4.0"
|
|
log = "0.4.17"
|
|
nonempty = "0.8.1"
|
|
once_cell = "1.16"
|
|
parking_lot = { version = "0.12.1", features = ["send_guard", "arc_lock"] }
|
|
pin-project-lite = "0.2.9"
|
|
postgres-types = "0.2.5"
|
|
proc-macro2 = "1.0"
|
|
prometheus = "0.13.0"
|
|
proptest = "1.2.0"
|
|
prost = "0.10"
|
|
prost-build = { version = "0.10" }
|
|
quick-junit = { version = "0.3.2" }
|
|
quote = "1.0.8"
|
|
rand = "0.8.5"
|
|
rayon-core = "1.11.0"
|
|
regex = "1"
|
|
reqwest = { version = "0.11.10", features = ["stream", "json"] }
|
|
rusqlite = { version = "0.29.0", features = ["bundled", "column_decltype"] }
|
|
rustc-demangle = "0.1.21"
|
|
rustc-hash = "1.1.0"
|
|
rust_decimal = { version = "1.29.1", features = ["db-tokio-postgres"] }
|
|
rustyline = { version = "12.0.0", features = [] }
|
|
scoped-tls = "1.0.1"
|
|
scopeguard = "1.1.0"
|
|
sendgrid = { version = "0.18.1", features = ["async"] }
|
|
serde = "1.0.136"
|
|
serde_json = { version = "1.0.87", features = ["raw_value"] }
|
|
serde_path_to_error = "0.1.9"
|
|
serde_with = { version = "2.2.0", features = ["base64", "hex"] }
|
|
serial_test = "2.0.0"
|
|
sha1 = "0.10.1"
|
|
sha3 = "0.10.0"
|
|
slab = "0.4.7"
|
|
sled = "0.34.7"
|
|
sqlparser = "0.34.0"
|
|
sqllogictest-engines = "0.13.0"
|
|
sqllogictest = "0.13.2"
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
|
syn = { version = "2", features = ["full", "extra-traits"] }
|
|
syntect = { version = "5.0.0", default-features = false, features = [
|
|
"default-fancy",
|
|
] }
|
|
tabled = "0.8.0"
|
|
tempdir = "0.3.7"
|
|
tempfile = "3.8"
|
|
termcolor = "1.2.0"
|
|
thiserror = "1.0.37"
|
|
tokio = { version = "1.25.1", features = ["full"] }
|
|
tokio-util = { version = "0.7.4", features = ["time"] }
|
|
tokio-postgres = { version = "0.7.8", features = ["with-chrono-0_4"] }
|
|
tokio-tungstenite = { version = "0.19", features = ["native-tls"] }
|
|
toml = "0.5"
|
|
tower-http = { version = "0.4.1", features = ["cors"] }
|
|
tracing = "0.1.37"
|
|
tracing-appender = "0.2.2"
|
|
tracing-core = "0.1.31"
|
|
tracing-flame = "0.2.0"
|
|
tracing-log = "0.1.3"
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
|
url = "2.3.1"
|
|
urlencoding = "2.1.2"
|
|
uuid = { version = "1.2.1", features = ["v4"] }
|
|
wasmbin = "0.6"
|
|
|
|
# wasmer prior to 4.1.1 had a signal handling bug on macOS.
|
|
wasmer = "4.1.1"
|
|
wasmer-middlewares = "4.1.1"
|
|
wasmer-types = "4.1.1"
|
|
wasmer-vm = "4.1.1"
|
|
|
|
wasmparser = "0.92.0"
|
|
wasmtime = { version = "7", default-features = false, features = ["cranelift"] }
|
|
|
|
# We use the "ondemand" feature to allow connecting after the start,
|
|
# and reconnecting, from the tracy client to the database.
|
|
# TODO(George): Need to be able to remove "broadcast" in some build configurations.
|
|
tracing-tracy = { version = "0.10.2", features = [
|
|
"enable",
|
|
"system-tracing",
|
|
"context-switch-tracing",
|
|
"sampling",
|
|
"code-transfer",
|
|
"broadcast",
|
|
"ondemand",
|
|
] }
|
|
|
|
# Vendor the openssl we rely on, rather than depend on a
|
|
# potentially very old system version.
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
|
|
# Rocksdb ostorage backend, linked only if "rocksdb" feature enabled.
|
|
# if we link bzip, we get multiple defs
|
|
rocksdb = { version = "0.19.0", default-features = false, features = ["lz4"] }
|