From 0251019b01f7007e0f1ac085277df28bcd9f3f9a Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Thu, 29 Sep 2016 06:01:20 -0700 Subject: [PATCH] ruma-client-api --- .gitignore | 2 ++ .travis.yml | 9 +++++++++ Cargo.toml | 14 ++++++++++++++ LICENSE | 19 +++++++++++++++++++ README.md | 14 ++++++++++++++ src/lib.rs | 0 6 files changed, 58 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 Cargo.toml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..fa8d85ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Cargo.lock +target diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..4e2e913d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: "rust" +notifications: + email: false + irc: + channels: + - "chat.freenode.net#ruma" + use_notice: true +rust: + - "nightly" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..e1fae94f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,14 @@ +[package] + +authors = ["Jimmy Cuadra "] +description = "Serializable request and response types for the Matrix client API." +documentation = "https://docs.rs/ruma-client-api" +homepage = "https://github.com/ruma/ruma-client-api" +keywords = ["matrix", "chat", "messaging", "ruma"] +license = "MIT" +name = "ruma-client-api" +readme = "README.md" +repository = "https://github.com/ruma/ruma-client-api" +version = "0.1.0" + +[dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..4d376442 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2016 Jimmy Cuadra + +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/README.md b/README.md new file mode 100644 index 00000000..1b770295 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# ruma-client-api + +[![Build Status](https://travis-ci.org/ruma/ruma-client-api.svg?branch=master)](https://travis-ci.org/ruma/ruma-client-api) + +**ruma-client-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) client API specification. +These types can be shared by client and server code. + +## Status + +This project is currently experimental and is very likely to change drastically. + +## License + +[MIT](http://opensource.org/licenses/MIT) diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 00000000..e69de29b