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