ruma: Introduce full feature
This commit is contained in:
parent
563e891a4a
commit
dd8493a0fc
@ -23,9 +23,7 @@ tasks:
|
||||
# crate).
|
||||
pushd ruma
|
||||
|
||||
cargo build \
|
||||
--features ruma-events,ruma-api,ruma-appservice-api,ruma-client-api,ruma-federation-api,ruma-identity-service-api,ruma-push-gateway-api \
|
||||
--quiet
|
||||
cargo build --features full --quiet
|
||||
ruma_build_exit=$?
|
||||
|
||||
# ruma-client isn't re-exported by ruma right now, so it needs to be built
|
||||
|
@ -66,6 +66,21 @@ either = ["ruma-identifiers/either"]
|
||||
rand = ["ruma-identifiers/rand"]
|
||||
markdown = ["ruma-events/markdown"]
|
||||
|
||||
# Everything except compat and unstable features
|
||||
full = [
|
||||
"api",
|
||||
"events",
|
||||
"signatures",
|
||||
"appservice-api",
|
||||
"client-api",
|
||||
"federation-api",
|
||||
"identity-service-api",
|
||||
"push-gateway-api",
|
||||
"either",
|
||||
"rand",
|
||||
"markdown",
|
||||
]
|
||||
|
||||
# Increase compatibility with other parts of the Matrix ecosystem, at the
|
||||
# expense of weird behaviour where things deviate from the specification.
|
||||
#
|
||||
|
@ -42,7 +42,7 @@ impl CiTask {
|
||||
fn build_msrv(&self) -> Result<()> {
|
||||
cmd_in!(
|
||||
self.project_root.join("ruma"),
|
||||
"rustup run {MSRV} cargo build --features ruma-events,ruma-api,ruma-appservice-api,ruma-client-api,ruma-federation-api,ruma-identity-service-api,ruma-push-gateway-api --quiet",
|
||||
"rustup run {MSRV} cargo build --features full --quiet",
|
||||
);
|
||||
cmd_in!(self.project_root.join("ruma-client"), "rustup run {MSRV} cargo build --quiet");
|
||||
cmd_in!(
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(dead_code)] // silence never-used warning for from_vec in generated code
|
||||
|
||||
xflags::xflags! {
|
||||
src "./src/flags.rs"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user