rust-web-server

Core lib for rust-web-server, rust-tls-server and http-to-https-letsencrypt

https://github.com/bohdaq/rust-web-framework

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

client http lib rust server
Last synced: 4 months ago · JSON representation ·

Repository

Core lib for rust-web-server, rust-tls-server and http-to-https-letsencrypt

Basic Info
  • Host: GitHub
  • Owner: bohdaq
  • License: other
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 3.61 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 11
Topics
client http lib rust server
Created about 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Citation

README.md

rust-web-framework

Collection of utility functions used to build Rust Web Server. Can be useful while developing HTTP related functionality.

Core lib for rust-web-server, rust-tls-server and http-to-https-letsencrypt.

NOTE! The corresponding crate is called rust-web-server.

Features

  1. Cross-Origin Resource Sharing (CORS). Allowing resources to be used on other domains can be crucial for providing APIs and services. Knowing how cumberstone and difficult is the process to setup the CORS, server ships with CORS enabled to all requests by default.
  2. HTTP Range Requests. Server supports requests for the part of the file, or several different parts of the file.
  3. HTTP Client Hints. Proactively asking client browser for suitable additional information about the system.
  4. X-Content-Type-Options set to nosniff, prevents from MIME type sniffing attacks.
  5. X-Frame-Options. Site is not allowed to be embedded into iframe on other domains.
  6. Symlinks. You can have symlinks in your folder and they will be resolved correctly.
  7. Caching done right. It means no caching and therefore no outdated uncontrollable resources.
  8. Resolving .html files without .html in path. It means if you try to open /some-html-file it will open file some-html-file.html and won't show 404 not found error. Same applies for folders. If you try to open /folder it will open file folder/index.html
  9. Extensive logging. It means server prints the request-response pairs as they are so you can see all the details like request method, path, version and headers.
  10. No third party dependencies.
  11. Forms (without files)

Documentation

Open documentation for details.

Community

Use GitHub discussions, issues and pull requests.

There is Rust Web Server Discord where you can ask questions and share ideas.

Follow the Rust code of conduct.

Frequently Asked Questions

Open FAQ for details.

Donations

Send me tips via PayPal.

Owner

  • Name: Bohdan Tsap
  • Login: bohdaq
  • Kind: user

Citation (CITATION.cff)

cff-version: 0.0.1
message: "If you use this software, please cite it as below."
authors:
  - family-names: Tsap
    given-names: Bohdan
    orcid: https://orcid.org/0000-0002-5221-5607
    email: bohdan.tsap@tutanota.com
title: "Rust Web Framework"
version: 16.0.0
doi: 10.5281/zenodo.8233772
date-released: 2023-08-10
url: "https://github.com/bohdaq/rust-web-framework"

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 788
  • Total Committers: 3
  • Avg Commits per committer: 262.667
  • Development Distribution Score (DDS): 0.084
Past Year
  • Commits: 387
  • Committers: 1
  • Avg Commits per committer: 387.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bohdan Tsap b****p@t****m 722
Bohdan Mykolayovych Tsap b****q@g****m 65
wisehands w****s@b****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 34,142 total
  • Total dependent packages: 1
  • Total dependent repositories: 0
  • Total versions: 25
  • Total maintainers: 1
crates.io: rust-web-server

Collection of utility functions used to build Rust Web and TLS Server. Can be useful while developing HTTP related functionality

  • Documentation: https://docs.rs/rust-web-server/
  • License: MIT OR Apache-2.0 OR ISC OR LGPL-3.0-or-later OR CC-BY-4.0
  • Latest release: 16.1.0
    published over 2 years ago
  • Versions: 25
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 34,142 Total
Rankings
Dependent packages count: 17.0%
Dependent repos count: 29.3%
Average: 33.8%
Forks count: 37.5%
Stargazers count: 39.2%
Downloads: 46.0%
Maintainers (1)
Last synced: 4 months ago

Dependencies

Cargo.toml cargo