#applications #information #prints #stations #oslo #bikeshare

app sykl

A simple application that prints information about bikeshare stations in Oslo

1 unstable release

0.1.0 Jan 7, 2020

#42 in #prints

MIT license

13KB
203 lines

Installing

If you are on x86-64 windows or linux you can download a prebuild binary from github releases

Running

The application takes no arguments and writes to stdout, so it should be ran from the command line.

Compiling

If you have a rust toolchain installed you can download and build the application with

> cargo install sykl
> sykl
NAME                           AVAILABLE DOCKS   AVAILABLE BIKES
Botanisk Hage vest             26                0
Linaaes gate                   21                0
Suhms gate                     21                0
Oslo Hospital                  15                0
Arkitekt Rivertz Plass         30                0
Grenseveien                    24                1
John Colletts plass            25                0
Hoffsveien                     18                0
Nydalen                        18                0
...

Alternatively you can download the source from github and in the source directory run

> cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/sykl`
NAME                           AVAILABLE DOCKS   AVAILABLE BIKES
Botanisk Hage vest             26                0
Linaaes gate                   21                0
Suhms gate                     21                0
Oslo Hospital                  15                0
Arkitekt Rivertz Plass         30                0
Grenseveien                    24                1
John Colletts plass            25                0
Hoffsveien                     18                0
Nydalen                        18                0
...

Dependencies

~8MB
~232K SLoC