From 27045f9811b808cf4d1481040052dfa1b2701fe9 Mon Sep 17 00:00:00 2001 From: Borislav Stanimirov Date: Fri, 22 Nov 2024 16:22:11 +0200 Subject: [PATCH] docs: list third party embedded libs, list licenses, ref #204 --- README.md | 2 + astl/README.md | 22 ++++++ dict/code/ac/vendor/nlohmann/README.md | 10 ++- etc/ac-local-deploy-licenses.md | 97 ++++++++++++++++++++++++++ jalog/README.md | 12 ++++ 5 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 etc/ac-local-deploy-licenses.md create mode 100644 jalog/README.md diff --git a/README.md b/README.md index 4102785c..cb6fd42e 100644 --- a/README.md +++ b/README.md @@ -87,3 +87,5 @@ Copyright © 2024 [Alpaca Core, Inc](https://github.com/alpaca-core) ## Third Party Libraries [A list of the third party libraries used here](third-party.md). Please consider supporting them. + +Additionally, if you deploy this software as binary, please include `etc/ac-local-deploy-licenses.md` in your deployment. diff --git a/astl/README.md b/astl/README.md index 2bd62af9..1d81fc8b 100644 --- a/astl/README.md +++ b/astl/README.md @@ -3,3 +3,25 @@ C++ header-only libraries which are mostly STL extensions. No external dependencies are allowed. If needed, copy the code from the external library here. + +## Copied files + +The following files were copied from external repositories: + +* [iboB/splat](https://github.com/iboB/itlib): + * `pp_select.h` + * `symbol_export.h` +* [iboB/itlib](https://github.com/iboB/itlib), namespace changed from `itlib` to `astl`: + * `flat_map.hpp` + * `generator.hpp` + * `mem_streambuf.hpp` + * `qalgorithm.hpp` + * `sentry.hpp` + * `small_vector.hpp` + * `throw_ex.hpp` + * `time_t.hpp` + * `ufunction.hpp` + +# Why embed? + +The reason for embedding instead of using it as a package can be found [here](https://github.com/alpaca-core/ac-local/issues/177#issuecomment-2456690091) diff --git a/dict/code/ac/vendor/nlohmann/README.md b/dict/code/ac/vendor/nlohmann/README.md index df0449aa..89ae265d 100644 --- a/dict/code/ac/vendor/nlohmann/README.md +++ b/dict/code/ac/vendor/nlohmann/README.md @@ -1,4 +1,12 @@ -A copy of [nlohmann/json 3.11.3](https://github.com/nlohmann/json/tree/v3.11.3/single_include/nlohmann) with the following changes: +# nlohmann/json + +A copy of [nlohmann/json 3.11.3](https://github.com/nlohmann/json/tree/v3.11.3/single_include/nlohmann) + +## Changes * namespace `nlohmann` renamed to `acnl` * JSON_DISABLE_ENUM_SERIALIZATION is 1 by default + +## Why embed? + +The reason for embedding instead of using it as a package can be found [here](https://github.com/alpaca-core/ac-local/issues/177#issuecomment-2454378703) diff --git a/etc/ac-local-deploy-licenses.md b/etc/ac-local-deploy-licenses.md new file mode 100644 index 00000000..368efc89 --- /dev/null +++ b/etc/ac-local-deploy-licenses.md @@ -0,0 +1,97 @@ +# Alpaca Core Local SDK Licenses + +## alpaca-core/ac-local + +Copyright (c) 2024 Alpaca Core + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +## nlohmann/json + +MIT License + +Copyright (c) 2013-2022 Niels Lohmann + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +## iboB/jalog iboB/splat + +MIT License + +Copyright (c) 2020-2024 Borislav Stanimirov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +## iboB/itlib + +MIT License + +Copyright (c) 2016-2019 Chobolabs Inc. + +Copyright (c) 2020-2024 Borislav Stanimirov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/jalog/README.md b/jalog/README.md new file mode 100644 index 00000000..6743b970 --- /dev/null +++ b/jalog/README.md @@ -0,0 +1,12 @@ +# Jalog + +This an almost exact copy of the original [Jalog](https://github.com/iboB/jalog) + +## Changes + +* Namespace changed from `jalog` to `ac::jalog` +* Async logging removed + +## Why embed? + +The reason for embedding instead of using it as a package can be found [here](https://github.com/alpaca-core/ac-local/issues/177#issuecomment-2456690091)