From f82fda79fcc1f1d8c92e49e75c243145d0e2f540 Mon Sep 17 00:00:00 2001 From: Robin Wellner Date: Tue, 16 Feb 2016 02:35:43 +0100 Subject: [PATCH] Release under ISC license --- README.md | 8 +++----- bitser.lua | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bfa76fb..d2227ec 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ Serializes and deserializes Lua values with LuaJIT. Pull requests, bug reports and other feedback welcome! :heart: +Bitser is released under the ISC license (functionally equivalent to the BSD +2-Clause and MIT licenses). + ## Why would I use this? Because it's fast. Because it produces tiny output. Because the name means "snappier" @@ -43,8 +46,3 @@ send me a pull request! Yes. At the moment, bitser supports MiddleClass, SECL, hump.class and Slither (and probably some other class libraries by accident). - -## What license is this under? - -None yet. It will be open source (probably MIT license) in the near future, but it -needs more testing before it's production ready. diff --git a/bitser.lua b/bitser.lua index de58901..9078cbc 100644 --- a/bitser.lua +++ b/bitser.lua @@ -1,3 +1,19 @@ +--[[ +Copyright (c) 2016, Robin Wellner + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +]] + local floor = math.floor local pairs = pairs local type = type