Commit Graph

29 Commits

Author SHA1 Message Date
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 ad78e64e64
Bump version 2022-02-03 17:00:42 -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 7c10e1dbc5 Update Cargo.toml
Update version to 0.3.0
2018-12-06 02:09:37 +01: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 21915d9acf Update Cargo.toml
Update version to 0.2.4
2018-12-04 22:19:54 +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 6c1b159435 Just a bit of cleanup 2018-04-11 23:30:46 +02:00
Patrick Auernig 7764ef3e8c Use dev-dependencies for examples 2018-04-09 19:34:08 +02:00
Patrick Auernig a7b9a86d4e Bump crate version
0.2.2 -> 0.2.3
2018-04-08 21:35:30 +02:00
Patrick Auernig a585bb6495 Bump crate version
0.2.1 -> 0.2.2
2018-04-03 17:05:11 +02:00
Patrick Auernig b89fddcac4 Bump crate version
0.2.0 -> 0.2.1
2018-04-03 12:22:31 +02:00
Patrick Auernig 51cd4413f7 Add AppVeyor CI configuration 2018-04-03 00:48:57 +02:00
Patrick Auernig af50e1318e Bump crate version
0.1.5 -> 0.2.0
2018-04-02 23:47:07 +02:00
tenrys 620e9a6b26 Added Windows connection support 2018-04-02 21:42:57 +00:00
Patrick Auernig 185b012fc0 Bump crate version
0.1.4 -> 0.1.5
2018-03-28 22:55:33 +02:00
Patrick Auernig eb64564333 Update Cargo.toml
Disable GitLab badge and workspaces.
2018-03-28 16:43:59 +02:00
Patrick Auernig 2635086e97 Use byteorder crate instead of byte 2018-03-24 15:15:48 +01:00
Patrick Auernig a5acb3b975 Bump crate version
0.1.3 -> 0.1.4
2018-03-23 22:57:48 +01:00
Patrick Auernig 8929bd4f96 Bump crate version
0.1.2 -> 0.1.3
2018-03-23 11:12:36 +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 045d7cdf91 Add badges to Cargo.toml and bump version
0.1.1 -> 0.1.2
2018-03-22 20:21:14 +01:00
Patrick Auernig 86fa860499 Add log crate 2018-03-22 20:21:08 +01:00
Patrick Auernig 704b947729 Bump crate version
0.1.0 -> 0.1.1
2018-03-22 18:40:24 +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