licenses.hbs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--
  2. Copyright Materialize, Inc. and contributors. All rights reserved.
  3. Use of this software is governed by the Business Source License
  4. included in the LICENSE file at the root of this repository.
  5. As of the Change Date specified in that file, in accordance with
  6. the Business Source License, use of this software will be governed
  7. by the Apache License, Version 2.0.
  8. -->
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <meta charset="utf-8">
  13. <title>
  14. Third-party licenses | Materialize
  15. </title>
  16. <style>
  17. .licenses-list {
  18. list-style-type: none;
  19. margin: 0;
  20. padding: 0;
  21. }
  22. .license-used-by {
  23. margin-top: -10px;
  24. }
  25. .license-text {
  26. max-height: 200px;
  27. max-width: 650px;
  28. overflow-y: scroll;
  29. white-space: pre-wrap;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <em><a href="index.html">« Back to Materialize developer hub</a></em>
  35. <hr>
  36. <h1>Third-party licenses</h1>
  37. <p>
  38. This page lists the licenses of the third-party Rust crates used in Materialize.
  39. </p>
  40. <p>
  41. Materialize itself is licensed under the Business Source
  42. License. See the
  43. <a href="https://github.com/MaterializeInc/materialize/blob/main/LICENSE">LICENSE</a>
  44. file in the Materialize Git repository for details.
  45. </p>
  46. <h2>Overview of licenses</h2>
  47. <ul class="licenses-overview">
  48. {{#each overview}}
  49. <li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
  50. {{/each}}
  51. </ul>
  52. <h2>Crates by license</h2>
  53. <ul class="licenses-list">
  54. {{#each licenses}}
  55. <li class="license">
  56. <h3 id="{{id}}">{{name}}</h3>
  57. <h4>Used by:</h4>
  58. <ul class="license-used-by">
  59. {{#each used_by}}
  60. <li><a href="{{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}">{{crate.name}} {{crate.version}}</a></li>
  61. {{/each}}
  62. </ul>
  63. <pre class="license-text">{{text}}</pre>
  64. </li>
  65. {{/each}}
  66. </ul>
  67. </body>
  68. </html>