Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Debug feature in utoipa-swagger-ui breaks the build #1274

@Snapstromegon

Description

@Snapstromegon

Enabling the debug feature on utoipa-swagger-ui breaks the build, because utoipa-swagger-ui::SyntaxHighLight and utoipa-swagger-ui::BasicAuth do not implement debug on that feature (#[cfg_attr(feature = "debug", derive(Debug))] is missing for them).

I'm opening an issue instead of a PR, because debug is not listed as an official feature in the readme, so I don't know if it should exist and a PR fixing the above is needed, or if the feature is obsolete and can be removed / shouldn't be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions