Commit graph

111 commits

Author SHA1 Message Date
Sasha Hilton
e97911e3cf Generate proto bindings in OUT_DIR, remove precompiled bindings 2020-07-25 04:43:01 +01:00
Sasha Hilton
4de9c92a29 Update build.rs & publish.sh with minor fixes 2020-07-24 03:11:14 +01:00
Sasha Hilton
68949da7c2 Update version numbers to 0.1.2 2020-07-22 16:53:52 +01:00
Sasha Hilton
74ad7231ba Run rustfmt, rust version 1.45.0 2020-07-22 16:35:05 +01:00
Ash
72437bff66
Bump protobuf v2.8.1 -> v~2.14.0 and fix build issues (#485) 2020-07-22 12:47:25 +02:00
ashthespy
6ee2dbaad4 Pin protobuf versions to allow patch updates only 2020-04-17 20:26:44 +02:00
Sasha Hilton
6daa2acd0a Update version numbers to 0.1.1 2020-01-30 02:39:41 +01:00
marcelbuesing
c9147d31ab
Turn child crates into rust 2018 edition 2020-01-17 20:54:05 +01:00
marcelbuesing
38d82f2dc2
Rerun rustfmt on full codebase 2020-01-17 18:47:30 +01:00
ashthespy
d26590afc5
Update to Rust 2018
- Fix deprecated Error::cause warnings and missing dyn
- Reset max_width
- Add rustfmt to Travis
- Run rustfmt on full codebase
 with `cargo fmt --all`
- Add rustfmt to Travis
- Complete migration to edition 2018
- Replace try! shorthand
- Use explicit `dyn Trait`
2020-01-17 18:11:52 +01:00
henenq
3b5f9ac64c Rebase, fix broken things 2019-12-16 12:47:52 +01:00
HEnquist
4f0033e81c Various changes following review 2019-12-16 11:38:46 +01:00
HEnquist
e2e52c78c0 Regenerate playlist protocol files 2019-12-16 09:57:59 +01:00
HEnquist
c530ee6e82 Some more cleaning 2019-12-16 09:57:59 +01:00
HEnquist
e6295a6f9c Use new hm endpoint for playlists 2019-12-16 09:57:59 +01:00
HEnquist
9faaaae6d2 Add basic support for playlists 2019-12-16 09:57:59 +01:00
HEnquist
abd6ad6b25 Some more cleaning 2019-12-16 09:57:59 +01:00
HEnquist
d8fda8f79c Use new hm endpoint for playlists 2019-12-16 09:51:43 +01:00
HEnquist
5b26529811 Add basic support for playlists 2019-12-16 09:51:43 +01:00
Sasha Hilton
394320c7b7 Add description and license to Cargo.toml for each crate 2019-11-06 16:50:26 +01:00
Sasha Hilton
267c182ff4 Set exact protobuf dependencies required by crates.io 2019-11-06 16:38:30 +01:00
ashthespy
6786c093ad Update metadata.proto 2019-10-30 11:33:17 +01:00
ashthespy
8eb51e9b55 Streamline and refactor Podcast support,
<Metadata>
  Add publisher to `Show`
  Add `ALLOWED` to `PassthroughEnum`
2019-10-30 11:33:17 +01:00
ashthespy
0cb7a3f7c8 WIP: Podcast support 2019-10-30 11:33:17 +01:00
Will Stott
97f61ec2a8 Protobuf 2.4.0, generate all proto files every time, but only write when changed, supporting poor souls with crlf line ending conversion.
Drop Regex dependency, just parse using simple string methods.

Protobuf 2.4.0, generate all proto files every time, but only write when changed, supporting poor souls with crlf line ending conversion.
2019-09-08 13:07:59 +01:00
Tristan Stenner
1ba6e5886a Restrict protobuf updates 2019-07-30 11:00:02 +02:00
Tristan Stenner
9d97f8f1ce Automatic update to protobuf 2.8, regenerate protocol files 2019-07-27 19:30:48 +02:00
George Hahn
0bf96ec6c5 Regenerate protobufs with rust-protobuf 2.7.0 2019-07-17 22:08:16 -05:00
George Hahn
6e280b3c88 Upgrade dependencies 2019-07-17 22:08:15 -05:00
ashthespy
06c6969e25 Switch to protobuf-codegen-pure to remove protoc dependency 2019-03-13 23:54:53 +01:00
ashthespy
c5fcdfd43c Upgrade protobuf to 2.0 and use protoc-rust to compile proto files 2018-10-03 15:06:44 +02:00
ashthespy
37c588d6a1 Set proper name for kUnknown enum 2018-09-26 17:11:32 +02:00
Harold
00e89343fb Formatting 2018-07-03 13:08:42 +02:00
Dawid Dziurla
431be9e847 Add kUnknown enum (#224) 2018-05-18 01:20:41 +02:00
Johan Anderholm
612978908f Reformat according to new rustfmt rules 2018-03-24 08:45:43 +00:00
Sasha Hilton
237ef1e4f9 Format according to rustfmt 2018-02-26 02:50:41 +01:00
Sasha Hilton
80e0bdaa39 Add kSupportsPlaylistV2 enum 2018-02-25 21:23:32 +01:00
Jakob
e109de2001 fix protobuf checksum (#257) 2017-10-02 08:04:16 +03:00
Jakob
696aec33e9 Add album type 'EP' (#255)
* add album type 'EP'

* fix indentation
2017-10-01 01:51:05 +03:00
Paul Lietar
aa86ebf549 Add two new file formats to enumeration
Fixes #212 and #213
2017-07-09 20:01:31 +02:00
Paul Lietar
d95c0b3fcd Update protocol files.
Fixes #172
2017-04-13 14:33:28 +02:00
Paul Lietar
ea94db00df Rebuild protobuf files 2017-01-20 01:59:46 +00:00
Paul Lietar
c6327af2f3 Include pre-generated protocol files.
A build script is used to ensure the source files haven’t been modified.
2016-12-30 12:02:00 +01:00
Paul Lietar
8d8aad8191 Update protobuf definition 2016-05-03 10:04:54 +01:00
Paul Lietar
7a21287311 Merge pull request #80 from marcust/fix-crash-2
Temporary fix for new CapabilityType 0xb (#74)
2016-04-30 22:29:11 +01:00
Marcus Thiesen
3efa42e081 Temporary fix for new CapabilityType 0xb (#74) 2016-04-30 13:53:33 +02:00
Marcus Thiesen
95c63fec7f Temporary fix for #74 2016-04-28 19:24:39 +02:00
Paul Lietar
d27c4ca752 Support building with rust stable, using syntex. 2016-03-07 18:22:41 +00:00
Paul Lietar
5059432090 Add kCommandAcks to CapabilityType enum. 2016-03-06 08:01:44 +00:00
Paul Lietar
3c29d744a9 Use the protobuf_build crate to simplify build process.
Removes external dependency on rust-protobuf, which prevents version
mismatch between the runtime and the compiler.
2016-01-13 00:16:02 +00:00
Paul Lietar
bead9daf78 Add zeroconf based authentication. 2016-01-02 00:27:08 +01:00
Paul Lietar
4806f3e85a mercury: Register subscription for all channel aliases
When subscribing to a channel, we may actually end up subscribed to other
alias channels. We must track these as well in order to redirect received
messages properly.
2016-01-02 00:02:22 +01:00
Paul Lietar
4f518fc445 Get track availability and alternatives 2015-12-28 17:47:32 +01:00
Lawrence Jones
85c1925f8d Fixes compilation errors 2015-12-18 19:59:10 +00:00
Paul Lietar
10cc523cfd Update to rust nightly 2015-10-20 11:22:08 +01:00
Paul Lietar
f0bb24d23f Fix build on latest nightly. 2015-07-02 22:00:30 +02:00
Paul Lietar
df11960946 spirc: Don’t hardcode stuff 2015-07-02 01:27:19 +02:00
Paul Lietar
addc1fce22 Update protocol files. 2015-07-01 20:18:00 +02:00
Paul Lietar
7ffe996652 Lots of stuff 2015-06-23 15:38:29 +01:00
Paul Liétar
1ad62e6f18 First working version of protocol handshake.
Key exchange and authentication is functional.
Protocol definition has been moved to separate crate to speed up build time.
Various cleanups. Take login info from command line, rather than hardcoded.
2015-05-09 11:16:43 +01:00
Paul Liétar
a993b60ffa Initial commit. 2015-04-25 21:32:07 +01:00