lemmy-v1 updates#64
Merged
Merged
Conversation
dessalines
added a commit
that referenced
this pull request
May 30, 2026
* Get it to compile * Only use one list of functions instead of two * Rust 2024 edition * Fix compilation bug * More routes * bump http dep version * Update lemmy_api_common dependency and add some missing functions * Add some recently added structs * Add some docs and simplify internal traits * Further simplify LemmyClient implementation * Tweak some doc comments * Allow users of the library to pass any type that can be referenced as a str as the domain * Add issue tracker base URL to doc comments * Add way to make request with files * Add methods for adding site icon and banner * Merge main, update block instance methods, run formatter with new options * Add documentation comments to macros defined and used internally by the library * Fix issue for browser code where a static byte slice couldn't be converted into a JsValue * Remove unnecessary delegation functions on LemmyClient * Use cfg gated modules for internal client implementation instead of cfg_if * Remove dependency on cfg_if * Add non-generic code to reduce monomorphization when passing domain * Implement methods directly on the client * Extract some shared logic for making requests * Rearrange/rename modules * Use wildcard imports to trim down usings * Make the JWT an Option<&str> instead of an Option<String> * Getting rid of macros - Re-organizes endpoints. * Getting rid of tag module. * Clippy * Fixing test. * Remove superfluous LemmyRequest type * Add helper methods for dealing with JWT * Add endpoints for multi communities and community icons/banners * Add missing endpoints * Use Into<reqwest::Body> instead of &'static [u8] for making file requests * Use Into<reqwest::Body> instead of &'static [u8] for making file requests * Fix typo in import * Re-export lemmy-api-common * Fix compilation error * Checking in lockfile, upgrading lemmy deps. (#49) * chore(deps): update rust docker tag to v1.89 (#46) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust docker tag to v1.90 (#47) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Don't ignore Cargo.lock * Forgot to check in lockfile. * Fix responses. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * lemmy-v1 updates (#64) * Updating API: account.rs * Fixing cargo fmt * Added image * Added multi_community * Added community * Added site * Added post * Adding comment * Fixing reports on community * Adding report * Added person * Added admin * Added oauth * Removing pointless features * Use git version of lemmy_api_common --------- Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.