make ruma-identifiers-validation a ruma feature
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
c51ccb2c68
commit
c76e2873c1
@ -89,6 +89,8 @@ identity-service-api-s = [
|
||||
]
|
||||
identity-service-api = ["identity-service-api-c", "identity-service-api-s"]
|
||||
|
||||
identifiers-validation = ["dep:ruma-identifiers-validation"]
|
||||
|
||||
push-gateway-api-c = [
|
||||
"api",
|
||||
"dep:ruma-push-gateway-api",
|
||||
@ -342,6 +344,7 @@ ruma-appservice-api = { workspace = true, optional = true }
|
||||
ruma-client-api = { workspace = true, optional = true }
|
||||
ruma-federation-api = { workspace = true, optional = true }
|
||||
ruma-identity-service-api = { workspace = true, optional = true }
|
||||
ruma-identifiers-validation = { workspace = true, optional = true }
|
||||
ruma-push-gateway-api = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -95,6 +95,9 @@ pub use ruma_signatures as signatures;
|
||||
#[cfg(feature = "state-res")]
|
||||
#[doc(inline)]
|
||||
pub use ruma_state_res as state_res;
|
||||
#[cfg(feature = "identifiers-validation")]
|
||||
#[doc(inline)]
|
||||
pub use ruma_identifiers_validation as identifiers_validation;
|
||||
|
||||
/// (De)serializable types for various [Matrix APIs][apis] requests and responses and abstractions
|
||||
/// for them.
|
||||
|
@ -68,7 +68,7 @@ impl ReleaseTask {
|
||||
let title = &self.title();
|
||||
let prerelease = !self.version.pre.is_empty();
|
||||
let publish_only =
|
||||
["ruma-identifiers-validation", "ruma-macros"].contains(&self.package.name.as_str());
|
||||
["ruma-macros"].contains(&self.package.name.as_str());
|
||||
|
||||
println!(
|
||||
"Starting {} for {title}…",
|
||||
|
Loading…
x
Reference in New Issue
Block a user