Skip to content

Commit

Permalink
Refactor: move package content to repository root
Browse files Browse the repository at this point in the history
  • Loading branch information
zejiran committed Oct 12, 2023
1 parent 8c439b0 commit 5a55655
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion rate_limited_notification_service/Cargo.toml → Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "rate_limited_notification_service"
name = "rate-limited-notification-service"
authors = ["Juan Alegría"]
version = "0.1.0"
edition = "2021"

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# rate-limited-notification-service
A Rust project demonstrating a simple rate-limited notification service.
# Rate-Limited Notification Service

A Rust project demonstrating a simple rate-limited notification service.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn main() {
}

// Example usage:
for _ in 0..5 {
for _ in 0..3 {
match service.send("news", "user 1", "This is a news update") {
Ok(()) => println!("Notification sent successfully."),
Err(err) => println!("Failed to send notification: {}", err),
Expand Down

0 comments on commit 5a55655

Please sign in to comment.