Skip to content

Commit

Permalink
README: Add section outlining features
Browse files Browse the repository at this point in the history
  • Loading branch information
tindzk committed Mar 4, 2019
1 parent 68d90c0 commit 41d0d34
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

Trail is a routing library for Scala. It is available for the JVM, Scala.js and Scala Native.

## Features
* Define type-safe routes
* Parse and generate URLs
* DSL to extract path elements, arguments and fragments
* Express routing tables via pattern matching
* Define custom codecs
* IDE support
* Cross-platform support (JVM, Scala.js, Scala Native)
* Zero dependencies

## Example
```scala
import trail._
Expand Down
2 changes: 1 addition & 1 deletion manual/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ libraryDependencies += "tech.sparse" %% "trail" % "%version%" // Scala
libraryDependencies += "tech.sparse" %%% "trail" % "%version%" // Scala.js, Scala Native
```

## Example
## Usage
Create a route:
<listing id="route">

Expand Down

0 comments on commit 41d0d34

Please sign in to comment.