Skip to content

Commit

Permalink
docs: fix git patches section in readme (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin authored Jan 15, 2025
1 parent 5629e95 commit 882833d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Note that if you want to use this library in your rust project, you have to add
impit = { git="https://github.com/apify/impit.git", branch="master" }

[patch.crates-io]
rustls = { git="https://github.com/apify/rustls.git", branch="impit-patch" }
h2 = { git="https://github.com/apify/h2.git", branch="impit-patch" }
rustls = { git="https://github.com/apify/rustls.git" }
h2 = { git="https://github.com/apify/h2.git" }
```

Without the patched dependencies, the project won't build.
Expand Down
4 changes: 2 additions & 2 deletions impit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Note that if you want to use this library in your rust project, you have to add
impit = { git="https://github.com/apify/impit.git", branch="master" }

[patch.crates-io]
rustls = { git="https://github.com/apify/rustls.git", branch="impit-patch" }
h2 = { git="https://github.com/apify/h2.git", branch="impit-patch" }
rustls = { git="https://github.com/apify/rustls.git" }
h2 = { git="https://github.com/apify/h2.git" }
```

Without the patched dependencies, the project won't build.
Expand Down
4 changes: 2 additions & 2 deletions impit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
//! impit = { git="https://github.com/apify/impit.git", branch="master" }
//!
//! [patch.crates-io]
//! rustls = { git="https://github.com/apify/rustls.git", branch="impit-patch" }
//! h2 = { git="https://github.com/apify/h2.git", branch="impit-patch" }
//! rustls = { git="https://github.com/apify/rustls.git" }
//! h2 = { git="https://github.com/apify/h2.git" }
//! ```
//!
//! Without the patched dependencies, the project won't build.
Expand Down

0 comments on commit 882833d

Please sign in to comment.