diff --git a/ruma-identity-service-api/CHANGELOG.md b/ruma-identity-service-api/CHANGELOG.md new file mode 100644 index 00000000..e69de29b diff --git a/ruma-identity-service-api/Cargo.toml b/ruma-identity-service-api/Cargo.toml new file mode 100644 index 00000000..1a6be6fe --- /dev/null +++ b/ruma-identity-service-api/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "ruma-identity-service-api" +version = "0.0.0" +authors = ["Jonas Platte "] +description = "Types for the endpoints in the Matrix identity service API." +homepage = "https://www.ruma.io/" +keywords = ["matrix", "chat", "messaging", "ruma"] +license = "MIT" +readme = "README.md" +repository = "https://github.com/ruma/ruma" +edition = "2018" + +[dependencies] +ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } diff --git a/ruma-identity-service-api/LICENSE b/ruma-identity-service-api/LICENSE new file mode 100644 index 00000000..f0d48ccb --- /dev/null +++ b/ruma-identity-service-api/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2020 Jonas Platte + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/ruma-identity-service-api/README.md b/ruma-identity-service-api/README.md new file mode 100644 index 00000000..35710af9 --- /dev/null +++ b/ruma-identity-service-api/README.md @@ -0,0 +1 @@ +# ruma-identity-service-api diff --git a/ruma-identity-service-api/src/lib.rs b/ruma-identity-service-api/src/lib.rs new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/ruma-identity-service-api/src/lib.rs @@ -0,0 +1 @@ + diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index e1a43a45..dfb57380 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -21,6 +21,7 @@ unstable-synapse-quirks = ["ruma-client-api/unstable-synapse-quirks"] appservice-api = ["ruma-api", "ruma-appservice-api", "ruma-events"] client-api = ["ruma-api", "ruma-client-api", "ruma-events"] federation-api = ["ruma-api", "ruma-federation-api", "ruma-signatures"] +identity-service-api = ["ruma-api", "ruma-identity-service-api"] [dependencies] ruma-common = { version = "0.2.0", path = "../ruma-common" } @@ -33,3 +34,4 @@ ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api", optional = true ruma-appservice-api = { version = "=0.2.0-alpha.1", path = "../ruma-appservice-api", optional = true } ruma-client-api = { version = "=0.10.0-alpha.1", path = "../ruma-client-api", optional = true } ruma-federation-api = { version = "0.0.3", path = "../ruma-federation-api", optional = true } +ruma-identity-service-api = { version = "0.0.0", path = "../ruma-identity-service-api", optional = true } diff --git a/ruma/src/lib.rs b/ruma/src/lib.rs index 99559215..4fcf34a7 100644 --- a/ruma/src/lib.rs +++ b/ruma/src/lib.rs @@ -46,4 +46,7 @@ pub mod api { #[cfg(feature = "ruma-federation-api")] #[doc(inline)] pub use ruma_federation_api as federation; + #[cfg(feature = "identity-service-api")] + #[doc(inline)] + pub use ruma_identity_service_api as identity_service; }