Skip to content

abstract rest_api module into a seperate library #97

Open
@2bndy5

Description

@2bndy5

I've been pondering ways to reuse the rest_api module in other projects that want to post feedback in a CI workflow.

Abstracting the module into a standalone library would require callback function pointers (and/or possibly trait implementations) to keep cpp-linter algorithms separate from REST API usage. This mainly includes

Additional ideas

Create bindings for the abstracted library for use in python and/or node.js. Using rust async runtimes (like tokio) in python is not yet officially supported in pyo3 project (see pyo3 docs).

This abstracted library wouldn't be specific to cpp-linter, so I should migrate the library to my own github account.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions