Skip to content

Commit

Permalink
docs: doc and metadata tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Dec 16, 2023
1 parent eefe8b0 commit c7a0af3
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion actix-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
]
description = "HTTP primitives for the Actix ecosystem"
description = "HTTP types and services for the Actix ecosystem"
keywords = ["actix", "http", "framework", "async", "futures"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-web"
Expand Down
10 changes: 7 additions & 3 deletions actix-http/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# actix-http
# `actix-http`

> HTTP primitives for the Actix ecosystem.
> HTTP types and services for the Actix ecosystem.
<!-- prettier-ignore-start -->

[![crates.io](https://img.shields.io/crates/v/actix-http?label=latest)](https://crates.io/crates/actix-http)
[![Documentation](https://docs.rs/actix-http/badge.svg?version=3.4.0)](https://docs.rs/actix-http/3.4.0)
Expand All @@ -11,12 +13,14 @@
[![Download](https://img.shields.io/crates/d/actix-http.svg)](https://crates.io/crates/actix-http)
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)

<!-- prettier-ignore-end -->

## Documentation & Resources

- [API Documentation](https://docs.rs/actix-http)
- Minimum Supported Rust Version (MSRV): 1.68

## Example
## Examples

```rust
use std::{env, io};
Expand Down
3 changes: 2 additions & 1 deletion actix-http/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! HTTP primitives for the Actix ecosystem.
//! HTTP types and services for the Actix ecosystem.
//!
//! ## Crate Features
//!
//! | Feature | Functionality |
//! | ------------------- | ------------------------------------------- |
//! | `http2` | HTTP/2 support via [h2]. |
Expand Down
4 changes: 2 additions & 2 deletions actix-router/src/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ const REGEX_FLAGS: &str = "(?s-m)";
/// # Trailing Slashes
/// It should be noted that this library takes no steps to normalize intra-path or trailing slashes.
/// As such, all resource definitions implicitly expect a pre-processing step to normalize paths if
/// they you wish to accommodate "recoverable" path errors. Below are several examples of
/// resource-path pairs that would not be compatible.
/// you wish to accommodate "recoverable" path errors. Below are several examples of resource-path
/// pairs that would not be compatible.
///
/// ## Examples
/// ```
Expand Down
2 changes: 1 addition & 1 deletion actix-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ categories = [
]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-web"
license = "MIT OR Apache-2.0"
license.workspace = true
edition.workspace = true
rust-version.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion actix-web/src/redirect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl Responder for Redirect {
} else {
log::error!(
"redirect target location can not be converted to header value: {:?}",
self.to
self.to,
);
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/bump
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@ fi

# done; remove backup files
rm -f $CARGO_MANIFEST.bak
rm -f $CHANGELOG_FILE.bak
rm -f $README_FILE.bak

if [ -n "${CHANGELOG_FILE-}" ]; then
rm -f $CHANGELOG_FILE.bak
fi

echo "manifest, changelog, and readme updated"
echo
echo "check other references:"
Expand Down

0 comments on commit c7a0af3

Please sign in to comment.