Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
/ rss_reader Public archive

Small project and exercise with rust to make an RSS reader

Notifications You must be signed in to change notification settings

Mercanuis/rss_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rss_reader

Small project and exercise with rust to make an RSS reader

usage

There are two ways to go about using the reader

Via cargo

Requires installation of Rust and Cargo

cargo build
cargo run -- [ARGS]

Via binary

You can also run the binary (provides the ability to use shortcuts as cargo needs 'long' version arguments)

cargo build //builds the binary, usually in target for most JetBrains IDEs
cd 'target'
./rss_reader [ARGS]

arguments

input

usage

./rss_reader [-i|--input| [FILE]

Uses FILE as the input to the reader. Clashes with url

url

./rss_reader [-u|--url] [URL]

Uses URL as the input, calls via HTTPS with Reqwest to get the returned Response and RSS to parse it. Clashes with input

trim

./rss_reader [-t|--trim]

Sets any values that are determined and managed by the reader to be a maximum of 10 chars long (UTF-8)

replace

./rss_reader [-r|--replace] "FROM|TO"

Takes a string that is separated by | and replaces the FROM to TO. Any additional values in the string are ignored

output

./rss_reader [-o|--output¥ [FILE]

Uses the provided FILE as output

About

Small project and exercise with rust to make an RSS reader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages