mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
move dependencies and some package attrs to workspace
This is in preparation for creating a separate `xtask` package.
This commit is contained in:
parent
cd439af2c4
commit
1bfcf62d2a
1 changed files with 84 additions and 20 deletions
104
Cargo.toml
104
Cargo.toml
|
|
@ -1,3 +1,9 @@
|
|||
[workspace.package]
|
||||
license = "Apache-2.0"
|
||||
|
||||
# See also `rust-toolchain.toml`
|
||||
rust-version = "1.81.0"
|
||||
|
||||
# Keep alphabetically sorted
|
||||
[workspace.lints.rust]
|
||||
elided_lifetimes_in_paths = "warn"
|
||||
|
|
@ -71,21 +77,8 @@ wildcard_dependencies = "warn"
|
|||
missing_errors_doc = "allow"
|
||||
missing_panics_doc = "allow"
|
||||
|
||||
[package]
|
||||
name = "grapevine"
|
||||
description = "A Matrix homeserver written in Rust"
|
||||
license = "Apache-2.0"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See also `rust-toolchain.toml`
|
||||
rust-version = "1.81.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
# Keep sorted
|
||||
[dependencies]
|
||||
[workspace.dependencies]
|
||||
argon2 = "0.5.3"
|
||||
async-trait = "0.1.82"
|
||||
axum = { version = "0.7.6", default-features = false, features = ["form", "http1", "http2", "json", "matched-path", "tracing"] }
|
||||
|
|
@ -104,6 +97,7 @@ hyper-util = { version = "0.1.8", features = ["client", "client-legacy", "servic
|
|||
image = { version = "0.25.2", default-features = false, features = ["jpeg", "png", "gif"] }
|
||||
jsonwebtoken = "9.3.0"
|
||||
lru-cache = "0.1.2"
|
||||
nix = { version = "0.29", features = ["resource"] }
|
||||
num_cpus = "1.16.0"
|
||||
once_cell = "1.19.0"
|
||||
opentelemetry = "0.24.0"
|
||||
|
|
@ -111,18 +105,18 @@ opentelemetry-jaeger-propagator = "0.3.0"
|
|||
opentelemetry-otlp = "0.17.0"
|
||||
opentelemetry-prometheus = "0.17.0"
|
||||
opentelemetry_sdk = { version = "0.24.0", features = ["rt-tokio"] }
|
||||
parking_lot = { version = "0.12.3", optional = true }
|
||||
parking_lot = "0.12.3"
|
||||
phf = { version = "0.11.2", features = ["macros"] }
|
||||
prometheus = "0.13.4"
|
||||
rand = "0.8.5"
|
||||
regex = "1.10.6"
|
||||
reqwest = { version = "0.12.7", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] }
|
||||
ring = "0.17.8"
|
||||
rocksdb = { package = "rust-rocksdb", version = "0.26.0", features = ["lz4", "multi-threaded-cf", "zstd"], optional = true }
|
||||
rocksdb = { package = "rust-rocksdb", version = "0.26.0", features = ["lz4", "multi-threaded-cf", "zstd"] }
|
||||
ruma = { git = "https://github.com/ruma/ruma", branch = "main", features = ["compat", "rand", "appservice-api-c", "client-api", "federation-api", "push-gateway-api-c", "server-util", "state-res", "unstable-msc2448", "unstable-msc3575", "unstable-exhaustive-types", "ring-compat", "unstable-unspecified" ] }
|
||||
rusqlite = { version = "0.32.1", optional = true, features = ["bundled"] }
|
||||
rusqlite = { version = "0.32.1", features = ["bundled"] }
|
||||
rustls = { version = "0.23.13", default-features = false, features = ["ring", "log", "logging", "std", "tls12"] }
|
||||
sd-notify = { version = "0.4.2", optional = true }
|
||||
sd-notify = { version = "0.4.2" }
|
||||
serde = { version = "1.0.210", features = ["rc"] }
|
||||
serde_html_form = "0.2.6"
|
||||
serde_json = { version = "1.0.128", features = ["raw_value"] }
|
||||
|
|
@ -131,7 +125,7 @@ sha-1 = "0.10.1"
|
|||
strum = { version = "0.26.3", features = ["derive"] }
|
||||
thiserror = "1.0.64"
|
||||
thread_local = "1.1.8"
|
||||
tikv-jemallocator = { version = "0.6.0", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
|
||||
tikv-jemallocator = { version = "0.6.0", features = ["unprefixed_malloc_on_supported_platforms"] }
|
||||
tokio = { version = "1.40.0", features = ["fs", "macros", "signal", "sync"] }
|
||||
toml = "0.8.19"
|
||||
tower = { version = "0.5.1", features = ["util"] }
|
||||
|
|
@ -143,8 +137,78 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
|
|||
trust-dns-resolver = "0.23.2"
|
||||
xdg = "2.5.2"
|
||||
|
||||
[package]
|
||||
name = "grapevine"
|
||||
description = "A Matrix homeserver written in Rust"
|
||||
license.workspace = true
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
# Keep sorted
|
||||
[dependencies]
|
||||
argon2.workspace = true
|
||||
async-trait.workspace = true
|
||||
axum.workspace = true
|
||||
axum-extra.workspace = true
|
||||
axum-server.workspace = true
|
||||
base64.workspace = true
|
||||
bytes.workspace = true
|
||||
clap.workspace = true
|
||||
futures-util.workspace = true
|
||||
hmac.workspace = true
|
||||
html-escape.workspace = true
|
||||
http.workspace = true
|
||||
http-body-util.workspace = true
|
||||
hyper.workspace = true
|
||||
hyper-util.workspace = true
|
||||
image.workspace = true
|
||||
jsonwebtoken.workspace = true
|
||||
lru-cache.workspace = true
|
||||
num_cpus.workspace = true
|
||||
once_cell.workspace = true
|
||||
opentelemetry.workspace = true
|
||||
opentelemetry-jaeger-propagator.workspace = true
|
||||
opentelemetry-otlp.workspace = true
|
||||
opentelemetry-prometheus.workspace = true
|
||||
opentelemetry_sdk.workspace = true
|
||||
parking_lot = { workspace = true, optional = true }
|
||||
phf.workspace = true
|
||||
prometheus.workspace = true
|
||||
rand.workspace = true
|
||||
regex.workspace = true
|
||||
reqwest.workspace = true
|
||||
ring.workspace = true
|
||||
rocksdb = { workspace = true, optional = true }
|
||||
ruma.workspace = true
|
||||
rustls.workspace = true
|
||||
rusqlite = { workspace = true, optional = true }
|
||||
sd-notify = { workspace = true, optional = true }
|
||||
serde.workspace = true
|
||||
serde_html_form.workspace = true
|
||||
serde_json.workspace = true
|
||||
serde_yaml.workspace = true
|
||||
sha-1.workspace = true
|
||||
strum.workspace = true
|
||||
thiserror.workspace = true
|
||||
thread_local.workspace = true
|
||||
tikv-jemallocator = { workspace = true, optional = true }
|
||||
tokio.workspace = true
|
||||
toml.workspace = true
|
||||
tower.workspace = true
|
||||
tower-http.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-flame.workspace = true
|
||||
tracing-opentelemetry.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
trust-dns-resolver.workspace = true
|
||||
xdg.workspace = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = { version = "0.29", features = ["resource"] }
|
||||
nix.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["rocksdb", "sqlite", "systemd"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue