diff --git a/README.md b/README.md index 4aa65ea2..d1de5095 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,18 @@ See [Issues](https://github.com/metosin/reitit/issues) for roadmap. ## Latest version +All bundled: + [![Clojars Project](http://clojars.org/metosin/reitit/latest-version.svg)](http://clojars.org/metosin/reitit) +In parts: + +[![Clojars Project](http://clojars.org/metosin/reitit-core/latest-version.svg)](http://clojars.org/metosin/reitit-core) + +[![Clojars Project](http://clojars.org/metosin/reitit-ring/latest-version.svg)](http://clojars.org/metosin/reitit-ring) + +[![Clojars Project](http://clojars.org/metosin/reitit-spec/latest-version.svg)](http://clojars.org/metosin/reitit-spec) + ## Quick start ```clj diff --git a/doc/README.md b/doc/README.md index 9be63ffe..13f6b0d2 100644 --- a/doc/README.md +++ b/doc/README.md @@ -17,6 +17,14 @@ To use Reitit, add the following dependecy to your project: [metosin/reitit "0.1.0-SNAPSHOT"] ``` +Optionally, the parts can be required separately: + +```clj +[metosin/reitit-core "0.1.0-SNAPSHOT"] ; just the router +[metosin/reitit-ring "0.1.0-SNAPSHOT"] ; ring-router +[metosin/reitit-spec "0.1.0-SNAPSHOT"] ; spec-coercion +``` + # Examples ## Simple router