Release v0.1.0-dev — merge dev into main - #7
Conversation
- this was added to show how to update an activity without reseting the timer
…city sync based api
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the initial development release of PresenceForge (v0.1.0-dev), focusing on API consistency, documentation improvements, and code organization. The changes prepare the project for broader usage and publication while maintaining functionality.
- Updated versioning to v0.1.0-dev and Rust edition to 2024
- Improved API consistency by consolidating party methods and updating import paths
- Enhanced documentation and examples to reflect the new namespaced API structure
Reviewed Changes
Copilot reviewed 38 out of 39 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| Cargo.toml | Updated version to 0.1.0-dev and Rust edition to 2024 |
| src/lib.rs | Reorganized module structure, removed client module, added nonce module |
| src/sync/client.rs | Updated import paths and consolidated nonce validation logic |
| src/retry.rs | Moved tests inline, improved runtime-specific async retry functions |
| src/nonce.rs | Updated documentation path references |
| Multiple documentation files | Updated all code examples to use namespaced imports |
| Multiple example files | Updated imports to use new sync::DiscordIpcClient path |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 38 out of 39 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
gramer-fix Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 38 out of 39 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 38 out of 39 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 38 out of 39 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
examples/update_activity_tokio.rs:1
- Commented-out debug code should be removed before merging to production.
use clap::Parser;
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 39 out of 40 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: mrmayman <navneetkrishna22@gmail.com>
|
@Mrmayman thank you for helping out in lowering the MSRV 👍 |
This pull request introduces the initial development release of PresenceForge (v0.1.0-dev), a cross-platform Rust library for Discord Rich Presence integration. The changes focus on updating documentation, improving API clarity, and preparing the project for broader usage and publication. Key updates include versioning and edition changes, documentation improvements, API consistency, and the addition of a changelog.
Project setup and release preparation
Cargo.tomlto set the version to0.1.0-dev, changed the Rust edition to2024, and added author and description metadata.Documentation improvements
README.mdto reflect the new version, clarify development status, and add a crates.io badge. Improved feature listing and usage examples for both synchronous and async APIs. [1] [2] [3] [4] [5] [6] [7]docs/ACTIVITY_BUILDER_REFERENCE.md,docs/API_REFERENCE.md,docs/ASYNC_RUNTIMES.md,docs/ERROR_HANDLING.md) to use the namespacedsync::DiscordIpcClientand clarify thepartyAPI. Improved error-handling and async runtime guides. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]API consistency and clarity
party_idandparty_sizemethods in favor of a singleparty(id, current_size, max_size)method for setting party information. Updated all references and examples accordingly. [1] [2] [3]CI configuration
pull_requesttrigger from the GitHub Actions workflow (.github/workflows/basic-ci.yml), leaving onlypushandworkflow_dispatchtriggers.