1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Automate schema updates

This commit is contained in:
Quentin Gliech
2022-11-07 11:35:06 +01:00
parent 13c7d2772f
commit 3f56031795
7 changed files with 72 additions and 10 deletions

View File

@ -37,5 +37,9 @@ mas-keystore = { path = "../keystore" }
mas-iana = { path = "../iana" }
mas-email = { path = "../email" }
[features]
native-roots = ["mas-email/native-roots"]
webpki-roots = ["mas-email/webpki-roots"]
[[bin]]
name = "schema"

View File

@ -23,3 +23,7 @@ mas-http = { path = "../http", features = ["aws-sdk", "client"] }
version = "0.10.1"
default-features = false
features = ["tokio1-rustls-tls", "hostname", "builder", "tracing", "pool", "smtp-transport", "sendmail-transport"]
[features]
native-roots = ["mas-http/native-roots"]
webpki-roots = ["mas-http/webpki-roots"]

View File

@ -13,5 +13,9 @@ tokio-stream = "0.1.11"
mas-axum-utils = { path = "../axum-utils" }
[features]
native-roots = ["mas-axum-utils/native-roots"]
webpki-roots = ["mas-axum-utils/webpki-roots"]
[[bin]]
name = "schema"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#[cfg(feature = "axum")]
#[cfg(any(feature = "axum", feature = "aws-sdk"))]
use std::borrow::Cow;
#[cfg(feature = "axum")]