You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Cargo.toml
+5-15Lines changed: 5 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[package]
2
2
name = "restapi"
3
-
description = "A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres with optional prometheus monitoring. 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files."
4
-
version = "1.1.1"
3
+
description = "A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres with prometheus for monitoring. 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files."
4
+
version = "1.1.2"
5
5
edition = "2021"
6
6
license = "MIT"
7
7
authors = [
@@ -44,15 +44,15 @@ chrono = { version = "^0.4" }
44
44
futures = { version = "^0.3.21" }
45
45
hyper = { version = "^0.14.18", features = [ "http1", "http2", "server", "stream", "runtime" ] }
46
46
jsonwebtoken = { version = "^7.2.0" }
47
-
lazy_static = { version = "^1.4", optional = true }
47
+
lazy_static = { version = "^1.4" }
48
48
log = { version = "^0.4.16" }
49
49
native-tls = { version = "^0.2.8" }
50
50
openssl = { version = "0.10.38", features = ["vendored"] }
51
51
postgres = { version = "^0.19.2", features = [ "with-geo-types-0_7", "array-impls", "with-chrono-0_4", "with-bit-vec-0_6", "with-serde_json-1", "with-eui48-1", "with-uuid-0_8", "with-time-0_3" ] }
52
52
postgres-native-tls = { version = "^0.5.0" }
53
53
pretty_env_logger = { version = "^0.4.0" }
54
-
prometheus = { version = "0.13.0", optional = true }
55
-
prometheus-static-metric = { version = "0.5.1", optional = true }
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Rust Rest API Stack with User Management and Prometheus for Monitoring
2
2
3
-
A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres with optional prometheus monitoring. 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files.
3
+
A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres with prometheus for monitoring. 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files.
4
4
5
5
## Overview
6
6
@@ -360,5 +360,5 @@ Please refer to the [Integration Tests Using curl Guide](./tests/integration-usi
Copy file name to clipboardExpand all lines: src/lib.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
//! # Rust Rest API Stack with User Management
2
2
//!
3
-
//! 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files.
3
+
//! A secure-by-default rest api stack implemented with hyper, tokio, bb8 and postgres with prometheus for monitoring. 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. Includes a working user management and authentication backend written in postgresql with async S3 uploading for POST-ed data files.
4
4
//!
5
5
//! # Examples
6
6
//!
@@ -634,7 +634,7 @@
634
634
//! ## Build Docs
635
635
//!
636
636
//! ```bash
637
-
//! cargo doc --features monitoring --example server
0 commit comments