6 releases

Uses old Rust 2015

0.1.5 Oct 20, 2017
0.1.4 Dec 4, 2016
0.1.0 Nov 29, 2016

#5 in #chromecast

MIT license

41KB
832 lines

gcast

Build Status Crates.io license

Documentation

Protocol description

A Rust library for communicating with Google Cast devices.


lib.rs:

A handy crate for interacting with Google Cast devices.

Features

  • Cast device discovery on local network
  • Implementation of the CASTV2 protocol
  • Query device status
  • Launch applications

Discovery

Discovery-related functionality lives inside the discovery module.

Communication

The most important type is the Device struct. It maintains a network connection to the Cast device and it abstracts over the protocol, making it easy to do things.

Applications

A list of valid application identifers can be found inside the apps module.

You can launch and manage apps using these identifiers.

Dependencies

~8–14MB
~197K SLoC