Skip to content

Commit

Permalink
Merge pull request #9 from DK26/v0.2.0
Browse files Browse the repository at this point in the history
Updated Metadata + License date
  • Loading branch information
DK26 authored Apr 10, 2022
2 parents 4056112 + ee7ac85 commit 8b7db59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name = "fast-text-server"
version = "0.2.0"
authors = ["David Krasnitsky <[email protected]>"]
description = "Fast Text Server is a lightweight, high capacity and reliable remote function server which provides REST API services for processing, modifying, re-encoding and matching on UTF-8 data."
repository = "https://github.com/DK26/fast-text-server"
license = "MIT"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 David Krasnitsky
Copyright (c) 2022 David Krasnitsky

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 5 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ use utils::PatternsCache;

#[allow(clippy::too_many_lines)]
fn init_arg_matches() -> ArgMatches {
let about = format!("{description}\n\n Author: {author}\n Source: {source}",
description = "Fast Webhooks is a lightweight, high capacity and reliable remote function server which provides REST API services for processing, modifying, re-encoding and matching on UTF-8 data.",
let about = format!(
"{description}\n\n Author: {author}\n Source: {source}\n License: {license}",
description = env!("CARGO_PKG_DESCRIPTION"),
author = env!("CARGO_PKG_AUTHORS"),
source = "https://github.com/DK26/fast-webhooks",
source = env!("CARGO_PKG_REPOSITORY"),
license = env!("CARGO_PKG_LICENSE")
);

clap::Command::new(env!("CARGO_PKG_NAME"))
Expand Down

0 comments on commit 8b7db59

Please sign in to comment.