Debian Codegraph @

debian/patches/http-to-https.patch

raw
1 diff --git a/Cargo.toml b/Cargo.toml
2 index 031f45b..672122e 100644
3 --- a/Cargo.toml
4 +++ b/Cargo.toml
5 @@ -21,7 +21,7 @@ include = [
6 "LICENSE",
7 ]
8 description = "CLI and Rust library for caching subprocess invocations"
9 -homepage = "http://bkt.rs/"
10 +homepage = "https://bkt.rs/"
11 readme = "README.md"
12 keywords = [
13 "cache",
14 @@ -35,7 +35,7 @@ categories = [
15 "command-line-utilities",
16 ]
17 license = "MIT"
18 -repository = "http://github.com/dimo414/bkt"
19 +repository = "https://github.com/dimo414/bkt"
20
21 [dependencies.anyhow]
22 version = "1.0"
23 diff --git a/src/lib.rs b/src/lib.rs
24 index 10d9c09..c95370a 100644
25 --- a/src/lib.rs
26 +++ b/src/lib.rs
27 @@ -8,7 +8,7 @@
28 //! # fn main() -> anyhow::Result<()> {
29 //! # use std::time::Duration;
30 //! let bkt = bkt::Bkt::in_tmp()?;
31 -//! let expensive_cmd = bkt::CommandDesc::new(["wget", "http://example.com"]);
32 +//! let expensive_cmd = bkt::CommandDesc::new(["wget", "https://example.com"]);
33 //! let (result, age) = bkt.retrieve(&expensive_cmd, Duration::from_secs(3600))?;
34 //! do_something(result.stdout_utf8());
35 //! # Ok(()) }
36 @@ -974,7 +974,7 @@ impl CacheStatus {
37 /// # fn main() -> anyhow::Result<()> {
38 /// # use std::time::Duration;
39 /// let bkt = bkt::Bkt::in_tmp()?;
40 -/// let cmd = bkt::CommandDesc::new(["curl", "http://expensive.api/foo"]);
41 +/// let cmd = bkt::CommandDesc::new(["curl", "https://expensive.api/foo"]);
42 /// let (result, age) = bkt.retrieve(&cmd, Duration::from_secs(60*60))?;
43 /// println!("Retrieved: {:?}\nAge: {:?}", result, age);
44 /// # Ok(()) }