Files
SpacetimeDB/crates/standalone/Cargo.toml
Mazdak Farrokhzad 7cff2a6b72 Add a feature flag no-job-core-pinning (#4046)
# Description of Changes

Anther knob for benchmarking only without job core pinning but keeping
other core pinning (tokio background, rayon, etc.).

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

No semantic changes.
2026-01-15 12:10:43 +00:00

72 lines
2.3 KiB
TOML

[package]
name = "spacetimedb-standalone"
version.workspace = true
edition.workspace = true
license-file = "LICENSE"
description = "An executable for running a single SpacetimeDB standalone instance"
rust-version.workspace = true
[[bin]]
name = "spacetimedb-standalone" # The name of the target.
path = "src/main.rs" # The source file of the target.
test = true # Is tested by default.
bench = false # Benching off, because of https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
doc = false # Is documented by default.
proc-macro = false # Set to `true` for a proc-macro library.
harness = true # Use libtest harness.
required-features = [] # Features required to build this target (N/A for lib)
[features]
unstable = ["spacetimedb-client-api/unstable"]
# Perfmaps for profiling modules
perfmap = ["spacetimedb-core/perfmap"]
# Disables core pinning
no-core-pinning = ["spacetimedb-core/no-core-pinning"]
no-job-core-pinning = ["spacetimedb-core/no-job-core-pinning"]
[dependencies]
spacetimedb-client-api-messages.workspace = true
spacetimedb-client-api.workspace = true
spacetimedb-core.workspace = true
spacetimedb-datastore.workspace = true
spacetimedb-lib.workspace = true
spacetimedb-paths.workspace = true
spacetimedb-pg.workspace = true
spacetimedb-table.workspace = true
spacetimedb-schema.workspace = true
anyhow.workspace = true
async-trait.workspace = true
axum.workspace = true
clap = { workspace = true, features = ["derive", "string"] }
dirs.workspace = true
futures.workspace = true
hostname.workspace = true
http.workspace = true
log.workspace = true
netstat2.workspace = true
openssl.workspace = true
parse-size.workspace = true
prometheus.workspace = true
scopeguard.workspace = true
serde.workspace = true
serde_json.workspace = true
sled.workspace = true
socket2.workspace = true
thiserror.workspace = true
tokio.workspace = true
tower-http.workspace = true
toml.workspace = true
tracing = { workspace = true, features = ["release_max_level_debug"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = {workspace = true}
tikv-jemalloc-ctl = {workspace = true}
[dev-dependencies]
once_cell.workspace = true
tempfile.workspace = true
[lints]
workspace = true