Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_web_server crate #190

Merged
merged 3 commits into from
Mar 31, 2023
Merged

Conversation

joseluisq
Copy link
Collaborator

@joseluisq joseluisq commented Mar 28, 2023

Description

This PR prepares the project to be ready to publish to crates.io as a library.

Considerations:

The crate should be published to make it possible for users to embed SWS with ease instead of working around it via forks. For example, allowing users to turn off default features like tls and so on.

However, because the library is highly coupled with the SWS binary project at this point, users might be limited by the exposed APIs, implementations, missing functionality, or dependencies.

In the future, we will eventually plan to make SWS library independent from the binary project.

That said, if fine-grained control and flexibility are needed then users could want to look at other alternatives like HTTP libraries or frameworks.

Building the docs

If you want to look at the static_web_server crate docs API locally, clone the repository, type cargo doc --open on your terminal, and navigate to your browser.

Related Issue

Motivation and Context

Resolves #188

How Has This Been Tested?

Screenshots (if appropriate):

@joseluisq joseluisq added enhancement New feature or request v2 v2 release library Related to the static-web-server crate labels Mar 28, 2023
@joseluisq joseluisq self-assigned this Mar 28, 2023
@joseluisq joseluisq marked this pull request as ready for review March 30, 2023 23:35
@joseluisq joseluisq force-pushed the feature/static_web_server_cargo_crate branch from 01e9dee to fb83efa Compare March 30, 2023 23:43
@joseluisq joseluisq force-pushed the feature/static_web_server_cargo_crate branch from fb83efa to 34495bb Compare March 30, 2023 23:51
@joseluisq joseluisq merged commit 70db3c9 into master Mar 31, 2023
@joseluisq joseluisq deleted the feature/static_web_server_cargo_crate branch March 31, 2023 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request library Related to the static-web-server crate v2 v2 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish to crates.io to allow use as a library
1 participant