Complete implementation of RFC-6570 (uri-templates) in Scala
import uritemplate._
import Syntax._
val template = URITemplate("http://example.com/hello/{variable}")
val expanded = template expand ("variable" := "world")
expanded == "http://example.com/hello/world"
SBT:
libraryDependencies += "no.arktekk" %% "uri-template" % "1.1.0"
Maven:
<dependency>
<groupId>no.arktekk</groupId>
<artifactId>uri-template_${scalaVersion}</artifactId>
<version>1.1</version>
</dependency>