taoensso / carmine

Redis client + message queue for Clojure
https://www.taoensso.com/carmine
Eclipse Public License 1.0
1.15k stars 130 forks source link

Add deps.edn #211

Closed tirkarthi closed 3 years ago

tirkarthi commented 5 years ago

This helps in using carmine with clj tool. deps.edn is generated with the script https://gist.github.com/swlkr/3f346c66410e5c60c59530c4413a248e . I have verified it's usage locally with below deps.edn file.

deps.edn

{
 :deps {
        carmine {:git/url "https://github.com/tirkarthi/carmine.git" 
                 :sha "24033a2ce8fed255f7473ac80cc401be68a248db"}
        }
 }

Thanks

ptaoussanis commented 4 years ago

Hi there, thanks for this!

I'm not familiar with clj or the use of deps.edn- is it really the case that all libraries are expected to include and maintain a deps.edn separate from their own build tool's dependencies (lein, etc.)? Are there any alternatives?

Just want to better understand what the options are here. Thanks again :-)

tirkarthi commented 4 years ago

clj and deps.edn were introduced in 1.10 by the clojure core team. By including a deps.edn here carmine can be used with clj.

Ref : https://clojure.org/guides/deps_and_cli

ptaoussanis commented 3 years ago

Closing due to inactivity on open questions at https://github.com/ptaoussanis/carmine/pull/211#issuecomment-543590999. If someone's interested in reactivating this, please feel free to reopen!