--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev+gentoobugzilla@henriksen.is</email>
+ <name>Espen H</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">esphen/wsta</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ wsta is a CLI tool written in rust for interfacing with WebSockets. wsta has
+ the philosophy of being an easy tool to learn and thus gets out of your way
+ to let you work your UNIX magic directly on the WebSocket traffic. The way
+ wsta does this is to be as pipe-friendly as possible, letting you chain it
+ into complex pipelines or bash scripts as you see fit, or just keep it simple
+ and use it as is.
+ </longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cargo
+
+DESCRIPTION="A CLI development tool for WebSocket APIs"
+HOMEPAGE="https://github.com/esphen/wsta/"
+SRC_URI="https://github.com/esphen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/openssl:*"
+DEPEND="${RDEPEND}
+ dev-util/cargo
+ "
+
+src_compile() {
+ cargo build --release || die "Compilation failed"
+}
+
+src_test() {
+ cargo test || die "Tests failed"
+}
+
+src_install() {
+ einstalldocs
+
+ dobin target/release/${PN}
+ doman ${PN}.1
+}