Skip to content

Add #[cfg_attr(docsrs, doc(cfg(...)))] for feature-gated plugins#33

Merged
AS1100K merged 1 commit intomainfrom
cfg-features
May 19, 2025
Merged

Add #[cfg_attr(docsrs, doc(cfg(...)))] for feature-gated plugins#33
AS1100K merged 1 commit intomainfrom
cfg-features

Conversation

@AS1100K
Copy link
Copy Markdown
Owner

@AS1100K AS1100K commented May 19, 2025

No description provided.

Copilot AI review requested due to automatic review settings May 19, 2025 12:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation attributes to feature-gated plugins so that docsrs can correctly display the configuration for each plugin.

  • Added cfg_attr documentation for the "bot" feature in DiscordBotPlugin.
  • Added cfg_attr documentation for the "http" feature in DiscordHttpPlugin.
  • Added cfg_attr documentation for the "rich_presence" feature in DiscordRichPresencePlugin.

@AS1100K AS1100K merged commit 38f5b3d into main May 19, 2025
9 checks passed
@AS1100K AS1100K deleted the cfg-features branch May 19, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants