diff options
author | Tim Upthegrove <[email protected]> | 2024-10-16 03:14:56 +0000 |
---|---|---|
committer | Kevin Guthrie <[email protected]> | 2024-10-28 11:51:38 -0400 |
commit | e9c319197e47b30a97429c57ed263abfc73f910b (patch) | |
tree | 1d756102c56c8f3a91b37c57bbd3e401d1e6092f | |
parent | d445e749f3f4116bd0a1af7ac6050f57838f359a (diff) | |
download | pingora-e9c319197e47b30a97429c57ed263abfc73f910b.tar.gz pingora-e9c319197e47b30a97429c57ed263abfc73f910b.zip |
Update quickstart to support Opt::parse_args
The current quickstart document suggests to use pingora v0.1, but it
also suggests using the Opt::parse_args interface, which was introduced
in release v0.3.0. Update the quickstart document to suggest using v0.3
when setting up the cargo.toml file.
Addresses #432
Includes-commit: 9153a8a984d2e81304f8b7d6d338f1bfa126e5c3
Replicated-from: https://github.com/cloudflare/pingora/pull/433
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | docs/quick_start.md | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -7c7f575484b512ad279084c427adf66069ec2619
\ No newline at end of file +e7a903e2509b977352e40d5f0be884a04379c066
\ No newline at end of file diff --git a/docs/quick_start.md b/docs/quick_start.md index 8a3b796..329a5be 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -19,7 +19,7 @@ cargo new load_balancer In your project's `cargo.toml` file add the following to your dependencies ``` async-trait="0.1" -pingora = { version = "0.1", features = [ "lb" ] } +pingora = { version = "0.3", features = [ "lb" ] } ``` ### Create a pingora server |