| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Monomorphize all functions | Zeyla Hellyer | 2018-07-04 | 1 | -6/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit monomorphizes all functions, turning functions like: ```rust fn foo<T: Into<Bar>>(baz: T) { baz = baz.into(); // function here } ``` Into functions like: ```rust fn foo<T: Into<Bar>>(baz: T) { _foo(baz.into()) } fn _foo(baz: Bar) { // function here } ``` This avoids binary bloat and improves build times, by reducing the amount of code duplication. | ||||
| * | Refactor imports/exports to use nested groups and better formatting | acdenisSK | 2018-03-29 | 1 | -2/+4 |
| | | |||||
| * | Change the way ids and some enums are made (#295) | Leah | 2018-03-23 | 1 | -2/+2 |
| | | | | | | This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`. | ||||
| * | Fix broken docs links caused by model mod changes | Zeyla Hellyer | 2018-01-31 | 1 | -2/+2 |
| | | | | | | Fix broken links caused by the `model` module changes in v0.5.0, which split up the module into sub-modules for better organization. | ||||
| * | Expose a client voice manager | Zeyla Hellyer | 2018-01-18 | 1 | -1/+7 |
| | | |||||
| * | Use an InterMessage to communicate over gateway | Zeyla Hellyer | 2018-01-18 | 1 | -3/+3 |
| | | | | | | | | Instead of communicating over the gateway in a split form of a `serde_json::Value` or a `client::bridge::gateway::ShardClientMessage`, wrap them both into a single enum for better interaction between the client, gateway, and voice modules. | ||||
| * | Fix voice feature compilation | Zeyla Hellyer | 2017-12-16 | 1 | -1/+1 |
| | | |||||
| * | Re-order use statements alphabetically | Zeyla Hellyer | 2017-11-11 | 1 | -1/+1 |
| | | |||||
| * | Revert "Use the de-generification trick." | acdenisSK | 2017-10-09 | 1 | -13/+4 |
| | | | | | Makes the compiliation time just a bit worse | ||||
| * | Use the de-generification trick. | acdenisSK | 2017-10-09 | 1 | -4/+13 |
| | | | | | Fixes #168 | ||||
| * | Change the config a bit, and a few nitpicks | acdenisSK | 2017-07-27 | 1 | -3/+1 |
| | | |||||
| * | rustfmt | acdenisSK | 2017-07-27 | 1 | -2/+4 |
| | | |||||
| * | Switch from #[doc(hidden)] to pub(crate) | alex | 2017-06-14 | 1 | -2/+1 |
| | | | | | | | Switch from using `#[doc(hidden)]` to hide some internal functions to `pub(crate)`. The library now requires rustc 1.18. | ||||
| * | Fix voice compilation | Zeyla Hellyer | 2017-06-10 | 1 | -3/+3 |
| | | |||||
| * | Restructure modules | Zeyla Hellyer | 2017-05-22 | 1 | -0/+126 |
| Modules are now separated into a fashion where the library can be used for most use cases, without needing to compile the rest. The core of serenity, with no features enabled, contains only the struct (model) definitions, constants, and prelude. Models do not have most functions compiled in, as that is separated into the `model` feature. The `client` module has been split into 3 modules: `client`, `gateway`, and `http`. `http` contains functions to interact with the REST API. `gateway` contains the Shard to interact with the gateway, requiring `http` for retrieving the gateway URL. `client` requires both of the other features and acts as an abstracted interface over both the gateway and REST APIs, handling the event loop. The `builder` module has been separated from `utils`, and can now be optionally compiled in. It and the `http` feature are required by the `model` feature due to a large number of methods requiring access to them. `utils` now contains a number of utilities, such as the Colour struct, the `MessageBuilder`, and mention parsing functions. Each of the original `ext` modules are still featured, with `cache` not requiring any feature to be enabled, `framework` requiring the `client`, `model`, and `utils`, and `voice` requiring `gateway`. In total the features and their requirements are: - `builder`: none - `cache`: none - `client`: `gateway`, `http` - `framework`: `client`, `model`, `utils` - `gateway`: `http` - `http`: none - `model`: `builder`, `http` - `utils`: none - `voice`: `gateway` The default features are `builder`, `cache`, `client`, `framework`, `gateway`, `model`, `http`, and `utils`. To help with forwards compatibility, modules have been re-exported from their original locations. | |||||