Michael Pfaff
d99145133d
Add partial Java bindings
2022-02-03 16:56:26 -05:00
Michael Pfaff
04af242ca7
Overhaul (part 2)
...
- No more worker thread
- Fully async io thanks to Tokio
- Updated libs
- Client is no longer bound to a specific client id
2022-02-03 15:56:37 -05:00
Michael Pfaff
326354d3b4
Overhaul (part 1)
2022-02-03 09:52:53 -05:00
Patrick Auernig
184abdc07f
Rewrite connection manager
2018-12-06 01:05:06 +01:00
Patrick Auernig
caaae615f0
Move handshake and ping into Connection trait
2018-12-06 01:05:06 +01:00
Patrick Auernig
3ebc936b10
Remove libc dependency
...
The function std::process::id() is available in the
"stable" channel now.
2018-12-04 21:31:12 +01:00
Patrick Auernig
95d748f211
Model restructuring
...
* Remove old Command payload and replace with generic one.
* Move Rich Presence model back to src/models.
* Add Subscription command, Ready event and Error event models.
* Add subscribe method to client and implement simple error detection.
2018-04-06 02:28:14 +02:00
Patrick Auernig
60c7f4762f
Use default SocketConnection for current platform
2018-04-03 16:01:23 +02:00
Patrick Auernig
b8e4697555
Move some common methods into Connection trait
2018-04-03 12:03:08 +02:00
tenrys
620e9a6b26
Added Windows connection support
2018-04-02 21:42:57 +00:00
Patrick Auernig
1e3e9485df
Import restructuring
...
Use new grouping syntax from Rust 1.25
Group `use` in following order:
std, external, internal
2018-03-29 23:40:56 +02:00
Patrick Auernig
40be78dbd1
Add error type
2018-03-29 22:57:00 +02:00
Patrick Auernig
3c79bb15fa
Move Rich Presence code into own submodule
2018-03-28 22:55:26 +02:00
Patrick Auernig
afe1503ad9
Move getpid to utils module
2018-03-25 20:55:38 +02:00
Patrick Auernig
2635086e97
Use byteorder crate instead of byte
2018-03-24 15:15:48 +01:00
Patrick Auernig
0e38bf634d
Use libc::getpid instead of std::process::id
...
Until the std::process::id interface becomes stable.
2018-03-23 11:04:19 +01:00
Patrick Auernig
53bab6857e
Add Connection trait and implement UnixConnection
2018-03-22 22:54:49 +01:00
Patrick Auernig
43c8a6af5f
Privatize struct fields
2018-03-22 20:54:18 +01:00
Patrick Auernig
86fa860499
Add log crate
2018-03-22 20:21:08 +01:00
Patrick Auernig
ca1a84eeee
Make models and client modules public
2018-03-22 18:12:41 +01:00
Patrick Auernig
f24793d7f2
Add Discord rich presence support
...
Allow sending rich presence status to your Discord client.
Currently only supports setting the status once.
Only Unix systems supported for now.
2018-03-22 15:35:48 +01:00