Oh, yea, very similar.  I wasn't tracking, and the overlap is significant.

dyn-edn is just one part, packaged as small as possible, about 90 lines of
code.  aero looks similar to io.aviso/config (itself very small), but big
enough to be noticable.

dyn-edn is intended to just plug into whatever you were already doing for
configuration, but allow it to be a bit more dynamic.

On Fri, Feb 16, 2018 at 2:43 PM, John Newman <john...@gmail.com> wrote:

> You tracking juxt/aero? Sounds very similar.
>
> On Feb 16, 2018 5:20 PM, "Howard Lewis Ship" <hls...@gmail.com> wrote:
>
>>
>> com.walmartlabs/dyn-edn 0.1.0
>>
>> Tiny library to allow dynamic data when parsing EDN; useful for
>> configuration files.
>>
>> https://github.com/hlship/dyn-edn
>>
>> For example:
>>
>> {:connection-pool
>>   {:user-name #dyn/prop [DB_USER "accountsuser"]
>>    :user-pw #dyn/prop DB_PW
>>    :url  #dyn/join ["jdbc:postgresql://"
>>                        #dyn/prop [DB_HOST "localhost"]
>>                        ":"
>>                        #dyn/prop [DB_PORT "5432"]
>>                        "/accounts"]}
>>  :web-server
>>   {:port #dyn/long #dyn/prop "WEB_PORT"}}
>>
>>
>> can use environment variables to reduce down to:
>>
>>
>> {:connection-pool
>>   {:user-name "accountsuser"
>>    :user-pw "change-me"
>>    :url  "jdbc:postgresql://db.example.org:5432/accounts"]}
>>  :web-server
>>   {:port 8192}}
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Senior Mobile Developer at Walmart Labs
>>
>> Creator of Apache Tapestry
>>
>> (971) 678-5210
>> http://howardlewisship.com
>> @hlship
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>


-- 
Howard M. Lewis Ship

Senior Mobile Developer at Walmart Labs

Creator of Apache Tapestry

(971) 678-5210
http://howardlewisship.com
@hlship

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to