Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yayoc/hn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.1
Choose a base ref
...
head repository: yayoc/hn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Nov 17, 2019

  1. Update the logic for fetching top stories (#6)

    * Update the logic for fetching top stories using futures and tokio instead.
    
    * Fix compile errors and remove hardcode
    
    * Fix clippy
    yayoc authored Nov 17, 2019
    Copy the full SHA
    60dfdb6 View commit details

Commits on Dec 11, 2019

  1. Update README.md

    yayoc committed Dec 11, 2019
    Copy the full SHA
    9d3971d View commit details
Showing with 159 additions and 73 deletions.
  1. +74 −0 Cargo.lock
  2. +3 −0 Cargo.toml
  3. +1 −1 README.md
  4. +76 −70 src/hn.rs
  5. +5 −2 src/main.rs
74 changes: 74 additions & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -9,6 +9,9 @@ edition = "2018"
[dependencies]
termion = "1.5.3"
reqwest = "0.9.22"
futures = "0.1.26"
tokio = "0.1.16"
lazy_static = "1.4.0"
serde = { version = "1.0", features = ["derive"] }
num_cpus = "1.10.1"
mockito = "0.21.0"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# HN
> Yet another HackerNews CLI written in Rust.
> Yet another HackerNews viewer for terminal written in Rust.
<p align="center">
<img src="./.github/hn.png">
Loading