{"action":"created","issue":{"url":"https://api.github.com/repos/marcoschwartz/aREST/issues/82","labels_url":"https://api.github.com/repos/marcoschwartz/aREST/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/marcoschwartz/aREST/issues/82/comments","events_url":"https://api.github.com/repos/marcoschwartz/aREST/issues/82/events","html_url":"https://github.com/marcoschwartz/aREST/issues/82","id":123191543,"number":82,"title":"Factor out basic REST server from mode,digital,analog and variable support","user":{"login":"gubbyhacker","id":16126589,"avatar_url":"https://avatars.githubusercontent.com/u/16126589?v=3","gravatar_id":"","url":"https://api.github.com/users/gubbyhacker","html_url":"https://github.com/gubbyhacker","followers_url":"https://api.github.com/users/gubbyhacker/followers","following_url":"https://api.github.com/users/gubbyhacker/following{/other_user}","gists_url":"https://api.github.com/users/gubbyhacker/gists{/gist_id}","starred_url":"https://api.github.com/users/gubbyhacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gubbyhacker/subscriptions","organizations_url":"https://api.github.com/users/gubbyhacker/orgs","repos_url":"https://api.github.com/users/gubbyhacker/repos","events_url":"https://api.github.com/users/gubbyhacker/events{/privacy}","received_events_url":"https://api.github.com/users/gubbyhacker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marcoschwartz/aREST/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T00:12:07Z","updated_at":"2015-12-27T02:55:53Z","closed_at":null,"body":"Thanks for the great work. I looked all over for a rest server for the esp8266 and all arrows come here.  For absolute beginners its very useful. For more advanced projects, however, I think this library is carrying around support for too many features that won't be used and that cause binary size bloat. Have you considered factoring out the REST server and user-defined function handlers into a separate library? I think that would be more useful in the long-term. The direct REST addressing of I/O pins is cool,  but I would prefer to have it as another library built on top of the core REST library. That way I don't have it all compiled (and working!) in my live IOT device."},"comment":{"url":"https://api.github.com/repos/marcoschwartz/aREST/issues/comments/167376381","html_url":"https://github.com/marcoschwartz/aREST/issues/82#issuecomment-167376381","issue_url":"https://api.github.com/repos/marcoschwartz/aREST/issues/82","id":167376381,"user":{"login":"shlomiassaf","id":5377501,"avatar_url":"https://avatars.githubusercontent.com/u/5377501?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomiassaf","html_url":"https://github.com/shlomiassaf","followers_url":"https://api.github.com/users/shlomiassaf/followers","following_url":"https://api.github.com/users/shlomiassaf/following{/other_user}","gists_url":"https://api.github.com/users/shlomiassaf/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomiassaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomiassaf/subscriptions","organizations_url":"https://api.github.com/users/shlomiassaf/orgs","repos_url":"https://api.github.com/users/shlomiassaf/repos","events_url":"https://api.github.com/users/shlomiassaf/events{/privacy}","received_events_url":"https://api.github.com/users/shlomiassaf/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T02:55:53Z","updated_at":"2015-12-27T02:55:53Z","body":"For now it can be done by building the root library and adding the functionality using a some sort of a bundler/builder like they do on JS libraries... so you can remove some portions of the code and create a new \"slim\" release parallel to the current one (i.e aREST_min.h)\r\n\r\nBut, if its too much work for now, how can I cancel these functions, lets say the device is not operation in a fully secured environment, digital/analog/mode as public exposed functions are a serious security issue."}}