module.web
module.web copied to clipboard
Make compojure dependency excludable?
I'm using ataraxy instead of compojure for routing, so I want to :exclusions [compojure] dependency. But it got error due to :duct.router/cascading router depend on it.
I think we should make :duct.router/cascading independent on compojure (by copy compojure/routes fn into cascading router?)
This is reasonable, I think. I considered it before, but Compojure seemed a light enough dependency not to bother. However, it does pull in Clout and Instaparse and a few other dependencies, so perhaps it is worth it to just replicate the compojure.core/routes function.