Michael Pfaff
b1ef65e2a9
Suppress std::io::NotFound errors
2022-08-16 14:31:44 -04:00
Michael Pfaff
2aaa043bd2
See message
...
- **Breaking change**: Multiple functions renamed in `src/java.rs`. This is not bumping the major version because these functions are considered internal.
- Fix disconnecting dead-lock
- `Client::execute` now disconnects when `Error::ConnectionClosed` or `Error::ConnectionClosedWhileSending` is encountered
- Use `tracing` instead of `log`
- Add the `instrument` attribute to most `Client` functions
- Remove unnecessary `Arc` from JNI bindings
2022-03-26 23:06:08 -04:00
Michael Pfaff
5d0243df9a
Add disconnect and clearActivity
2022-03-21 13:19:12 -04:00
Michael Pfaff
30eebae644
Cleanup some stuff
2022-02-03 16:57:40 -05:00
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
9c90034ee7
Move subscribe examples into own file
2018-04-10 14:26:41 +02:00
Patrick Auernig
7764ef3e8c
Use dev-dependencies for examples
2018-04-09 19:34:08 +02:00
Patrick Auernig
6522a5b4a0
Update example
...
Clear presence if input is empty.
2018-04-08 21:08:20 +02:00
Patrick Auernig
06728d21cf
Update example
2018-04-07 13:24:25 +02:00
Patrick Auernig
520da02162
Add unsubscribe command to client
2018-04-06 13:29:01 +02:00
Patrick Auernig
20044cbea4
Update example
2018-04-06 02:32:03 +02:00
Patrick Auernig
60c7f4762f
Use default SocketConnection for current platform
2018-04-03 16:01:23 +02:00
Patrick Auernig
ced34974cf
Update Rich Presence example
...
Add Windows connection and remove version dependency from Cargo.toml
2018-04-03 12:04:14 +02:00
Patrick Auernig
53bab6857e
Add Connection trait and implement UnixConnection
2018-03-22 22:54:49 +01:00
Patrick Auernig
86fa860499
Add log crate
2018-03-22 20:21:08 +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