Skip to content

Commit

Permalink
rust doc fix for examples/server.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-johnson committed Mar 2, 2022
1 parent c0d153b commit aedc832
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "restapi"
description = "A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres. This project is focused on providing end-to-end encryption by default for 12-factor applications looking to customize functionality using environment variables as needed. Comes with a working user management and authentication backend written in postgresql. Authenticated users can upload POST-ed files asynchronously into S3. Includes pg4admin for database management (deployed with docker compose)."
version = "1.0.5"
version = "1.0.6"
edition = "2021"
license = "MIT"
authors = [
Expand Down
7 changes: 4 additions & 3 deletions examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ use restapi::core::server::run_server::run_server;

/// main
///
/// Create a [`CoreConfig`](restapi::core::core_config) and
/// Create a [`CoreConfig`](restapi::core::core_config::CoreConfig) and
/// start the server using the configuration. There are
/// many supported environment variables to customize most
/// layers of the stack. Feel free to open a github issue to
/// help me figure it out!
/// layers of the stack.
///
/// Feel free to open a github issue to help me figure it out!
///
#[tokio::main]
async fn main() {
Expand Down

0 comments on commit aedc832

Please sign in to comment.