License

TrussC and all dependencies use permissive open-source licenses.
Suitable for commercial use.

TrussC

MIT License

MIT License

Copyright (c) 2024-2025 tettou771 <[email protected]>

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.

Third-Party Libraries

All use permissive open-source licenses suitable for commercial use

Core Dependencies

Library License Author License URL
sokol zlib License Andre Weissflog LICENSE (in headers)
Dear ImGui MIT Omar Cornut LICENSE.txt
stb_image Public Domain (dual-licensed under MIT) Sean Barrett LICENSE (in README)
stb_image_write Public Domain (dual-licensed under MIT) Sean Barrett LICENSE (in README)
stb_truetype Public Domain (dual-licensed under MIT) Sean Barrett LICENSE (in README)
stb_vorbis Public Domain (dual-licensed under MIT) Sean Barrett LICENSE (in README)
dr_mp3 Public Domain or MIT-0 David Reid LICENSE (in source)
dr_wav Public Domain or MIT-0 David Reid LICENSE (in source)
miniaudio Public Domain or MIT-0 David Reid LICENSE (in README)
nlohmann/json MIT Niels Lohmann LICENSE.MIT
pugixml MIT Arseny Kapoulkine LICENSE.md

Addon Dependencies (Optional)

Library License Addon License URL
mbedTLS Apache-2.0 or GPL-2.0+ (dual-licensed) tcxTls LICENSE
Box2D MIT (v2.4.0+) tcxBox2d LICENSE
bc7enc MIT or Public Domain (dual-licensed) tcxTcv LICENSE (in source)
bcdec MIT or Public Domain (dual-licensed) tcxTcv, tcxHap LICENSE (in source)
LZ4 BSD 2-Clause tcxTcv LICENSE
Snappy BSD 3-Clause tcxHap COPYING
HAP BSD 2-Clause tcxHap LICENSE

Note: Box2D v2.3.x and earlier used zlib License. TrussC uses v2.4.1.

License Details

zlib License (sokol)

zlib License

Copyright (c) 2017 Andre Weissflog

This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

    1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software in a
    product, an acknowledgment in the product documentation would be
    appreciated but is not required.

    2. Altered source versions must be plainly marked as such, and must not
    be misrepresented as being the original software.

    3. This notice may not be removed or altered from any source distribution.

MIT License (Dear ImGui, nlohmann/json, pugixml, Box2D)

MIT License

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.

Public Domain / MIT (stb)

stb libraries are released as Public Domain (Unlicense), but also dual-licensed under MIT for jurisdictions that do not recognize Public Domain.

Public Domain (Unlicense):

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.

MIT License (alternative): If you choose MIT, see the MIT License section above.

Public Domain / MIT-0 (dr_libs, miniaudio)

dr_libs and miniaudio offer a choice of Public Domain (Unlicense) or MIT-0 (MIT No Attribution).

MIT-0 (MIT No Attribution):

MIT No Attribution

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.

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.

Apache-2.0 / GPL-2.0+ (mbedTLS)

mbedTLS is dual-licensed. You may choose either Apache-2.0 or GPL-2.0-or-later.
For commercial projects, Apache-2.0 is typically preferred as it has fewer restrictions.

Full license text:
Apache-2.0 | GPL-2.0

MIT or Public Domain (bc7enc, bcdec)

bc7enc and bcdec are dual-licensed. You may choose either MIT or Public Domain.

See MIT License and Public Domain sections above for details.

BSD 2-Clause License (LZ4, HAP)

BSD 2-Clause License

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

BSD 3-Clause License (Snappy)

BSD 3-Clause License

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
    * Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Summary

All dependencies use permissive open-source licenses that allow:

  • Commercial use
  • Modification
  • Distribution
  • Private use

The only requirement common to all is to include the copyright notice and license text when redistributing the source code.

For binary distributions, most of these licenses (MIT, zlib, Public Domain, MIT-0) do not require attribution in the binary itself, though it is appreciated.

If you use mbedTLS (tcxTls addon) and choose GPL-2.0, additional obligations apply to derivative works.