@push.rocks/smartnetwork 4.10.1 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/.smartconfig.json +19 -8
  2. package/dist_rust/rustnetwork_linux_amd64_musl +0 -0
  3. package/dist_rust/rustnetwork_linux_amd64_musl.tsrust-build.json +14 -0
  4. package/dist_rust/rustnetwork_linux_arm64_musl +0 -0
  5. package/dist_rust/rustnetwork_linux_arm64_musl.tsrust-build.json +14 -0
  6. package/dist_ts/00_commitinfo_data.js +2 -2
  7. package/dist_ts/index.d.ts +1 -1
  8. package/dist_ts/smartnetwork.classes.rustbridge.js +13 -18
  9. package/dist_ts/smartnetwork.classes.smartnetwork.d.ts +36 -5
  10. package/dist_ts/smartnetwork.classes.smartnetwork.js +34 -35
  11. package/native-notices/crates/aho-corasick-1.1.4/copying +3 -0
  12. package/native-notices/crates/aho-corasick-1.1.4/license-mit +21 -0
  13. package/native-notices/crates/aho-corasick-1.1.4/unlicense +24 -0
  14. package/native-notices/crates/anstream-1.0.0/license-apache +202 -0
  15. package/native-notices/crates/anstream-1.0.0/license-mit +19 -0
  16. package/native-notices/crates/anstyle-1.0.14/license-apache +202 -0
  17. package/native-notices/crates/anstyle-1.0.14/license-mit +19 -0
  18. package/native-notices/crates/anstyle-parse-1.0.0/license-apache +202 -0
  19. package/native-notices/crates/anstyle-parse-1.0.0/license-mit +19 -0
  20. package/native-notices/crates/anstyle-query-1.1.5/license-apache +202 -0
  21. package/native-notices/crates/anstyle-query-1.1.5/license-mit +19 -0
  22. package/native-notices/crates/bytes-1.11.1/license +25 -0
  23. package/native-notices/crates/cfg-if-1.0.4/license-apache +201 -0
  24. package/native-notices/crates/cfg-if-1.0.4/license-mit +25 -0
  25. package/native-notices/crates/clap-4.6.1/license-apache +202 -0
  26. package/native-notices/crates/clap-4.6.1/license-mit +19 -0
  27. package/native-notices/crates/clap_builder-4.6.0/license-apache +202 -0
  28. package/native-notices/crates/clap_builder-4.6.0/license-mit +19 -0
  29. package/native-notices/crates/clap_derive-4.6.1/license-apache +202 -0
  30. package/native-notices/crates/clap_derive-4.6.1/license-mit +19 -0
  31. package/native-notices/crates/clap_lex-1.1.0/license-apache +202 -0
  32. package/native-notices/crates/clap_lex-1.1.0/license-mit +19 -0
  33. package/native-notices/crates/colorchoice-1.0.5/license-apache +202 -0
  34. package/native-notices/crates/colorchoice-1.0.5/license-mit +19 -0
  35. package/native-notices/crates/errno-0.3.14/license-apache +201 -0
  36. package/native-notices/crates/errno-0.3.14/license-mit +25 -0
  37. package/native-notices/crates/getrandom-0.3.4/license-apache +201 -0
  38. package/native-notices/crates/getrandom-0.3.4/license-mit +26 -0
  39. package/native-notices/crates/glob-0.3.3/license-apache +201 -0
  40. package/native-notices/crates/glob-0.3.3/license-mit +25 -0
  41. package/native-notices/crates/heck-0.5.0/license-apache +201 -0
  42. package/native-notices/crates/heck-0.5.0/license-mit +25 -0
  43. package/native-notices/crates/hex-0.4.3/license-apache +202 -0
  44. package/native-notices/crates/hex-0.4.3/license-mit +20 -0
  45. package/native-notices/crates/is_terminal_polyfill-1.70.2/license-apache +202 -0
  46. package/native-notices/crates/is_terminal_polyfill-1.70.2/license-mit +19 -0
  47. package/native-notices/crates/itoa-1.0.18/license-apache +176 -0
  48. package/native-notices/crates/itoa-1.0.18/license-mit +23 -0
  49. package/native-notices/crates/lazy_static-1.5.0/license-apache +201 -0
  50. package/native-notices/crates/lazy_static-1.5.0/license-mit +25 -0
  51. package/native-notices/crates/libc-0.2.186/license-apache +176 -0
  52. package/native-notices/crates/libc-0.2.186/license-mit +25 -0
  53. package/native-notices/crates/lock_api-0.4.14/license-apache +201 -0
  54. package/native-notices/crates/lock_api-0.4.14/license-mit +25 -0
  55. package/native-notices/crates/log-0.4.29/license-apache +201 -0
  56. package/native-notices/crates/log-0.4.29/license-mit +25 -0
  57. package/native-notices/crates/matchers-0.2.0/license +19 -0
  58. package/native-notices/crates/memchr-2.8.0/copying +3 -0
  59. package/native-notices/crates/memchr-2.8.0/license-mit +21 -0
  60. package/native-notices/crates/memchr-2.8.0/unlicense +24 -0
  61. package/native-notices/crates/mio-1.2.0/license +19 -0
  62. package/native-notices/crates/no-std-net-0.6.0/license +21 -0
  63. package/native-notices/crates/nu-ansi-term-0.50.3/license +22 -0
  64. package/native-notices/crates/once_cell-1.21.4/license-apache +201 -0
  65. package/native-notices/crates/once_cell-1.21.4/license-mit +23 -0
  66. package/native-notices/crates/parking_lot-0.12.5/license-apache +201 -0
  67. package/native-notices/crates/parking_lot-0.12.5/license-mit +25 -0
  68. package/native-notices/crates/parking_lot_core-0.9.12/license-apache +201 -0
  69. package/native-notices/crates/parking_lot_core-0.9.12/license-mit +25 -0
  70. package/native-notices/crates/pin-project-lite-0.2.17/license-apache +177 -0
  71. package/native-notices/crates/pin-project-lite-0.2.17/license-mit +23 -0
  72. package/native-notices/crates/pnet_base-0.34.0/license-apache +201 -0
  73. package/native-notices/crates/pnet_base-0.34.0/license-mit +25 -0
  74. package/native-notices/crates/pnet_macros-0.34.0/license-apache +201 -0
  75. package/native-notices/crates/pnet_macros-0.34.0/license-mit +25 -0
  76. package/native-notices/crates/pnet_macros_support-0.34.0/license-apache +201 -0
  77. package/native-notices/crates/pnet_macros_support-0.34.0/license-mit +25 -0
  78. package/native-notices/crates/pnet_packet-0.34.0/license-apache +201 -0
  79. package/native-notices/crates/pnet_packet-0.34.0/license-mit +25 -0
  80. package/native-notices/crates/ppv-lite86-0.2.21/license-apache +201 -0
  81. package/native-notices/crates/ppv-lite86-0.2.21/license-mit +25 -0
  82. package/native-notices/crates/proc-macro2-1.0.106/license-apache +176 -0
  83. package/native-notices/crates/proc-macro2-1.0.106/license-mit +23 -0
  84. package/native-notices/crates/quote-1.0.45/license-apache +176 -0
  85. package/native-notices/crates/quote-1.0.45/license-mit +23 -0
  86. package/native-notices/crates/rand-0.9.4/copyright +12 -0
  87. package/native-notices/crates/rand-0.9.4/license-apache +176 -0
  88. package/native-notices/crates/rand-0.9.4/license-mit +26 -0
  89. package/native-notices/crates/rand_chacha-0.9.0/copyright +12 -0
  90. package/native-notices/crates/rand_chacha-0.9.0/license-apache +176 -0
  91. package/native-notices/crates/rand_chacha-0.9.0/license-mit +26 -0
  92. package/native-notices/crates/rand_core-0.9.5/copyright +12 -0
  93. package/native-notices/crates/rand_core-0.9.5/license-apache +187 -0
  94. package/native-notices/crates/rand_core-0.9.5/license-mit +26 -0
  95. package/native-notices/crates/regex-1.12.3/license-apache +201 -0
  96. package/native-notices/crates/regex-1.12.3/license-mit +25 -0
  97. package/native-notices/crates/regex-automata-0.4.14/license-apache +201 -0
  98. package/native-notices/crates/regex-automata-0.4.14/license-mit +25 -0
  99. package/native-notices/crates/regex-syntax-0.8.10/license-apache +201 -0
  100. package/native-notices/crates/regex-syntax-0.8.10/license-mit +25 -0
  101. package/native-notices/crates/scopeguard-1.2.0/license-apache +201 -0
  102. package/native-notices/crates/scopeguard-1.2.0/license-mit +25 -0
  103. package/native-notices/crates/serde-1.0.228/license-apache +176 -0
  104. package/native-notices/crates/serde-1.0.228/license-mit +23 -0
  105. package/native-notices/crates/serde_core-1.0.228/license-apache +176 -0
  106. package/native-notices/crates/serde_core-1.0.228/license-mit +23 -0
  107. package/native-notices/crates/serde_derive-1.0.228/license-apache +176 -0
  108. package/native-notices/crates/serde_derive-1.0.228/license-mit +23 -0
  109. package/native-notices/crates/serde_json-1.0.149/license-apache +176 -0
  110. package/native-notices/crates/serde_json-1.0.149/license-mit +23 -0
  111. package/native-notices/crates/sharded-slab-0.1.7/license +19 -0
  112. package/native-notices/crates/signal-hook-registry-1.4.8/license-apache +201 -0
  113. package/native-notices/crates/signal-hook-registry-1.4.8/license-mit +25 -0
  114. package/native-notices/crates/smallvec-1.15.1/license-apache +201 -0
  115. package/native-notices/crates/smallvec-1.15.1/license-mit +25 -0
  116. package/native-notices/crates/socket2-0.5.10/license-apache +201 -0
  117. package/native-notices/crates/socket2-0.5.10/license-mit +25 -0
  118. package/native-notices/crates/socket2-0.6.3/license-apache +201 -0
  119. package/native-notices/crates/socket2-0.6.3/license-mit +25 -0
  120. package/native-notices/crates/strsim-0.11.1/license +23 -0
  121. package/native-notices/crates/surge-ping-0.8.4/license +21 -0
  122. package/native-notices/crates/syn-2.0.117/license-apache +176 -0
  123. package/native-notices/crates/syn-2.0.117/license-mit +23 -0
  124. package/native-notices/crates/thiserror-1.0.69/license-apache +176 -0
  125. package/native-notices/crates/thiserror-1.0.69/license-mit +23 -0
  126. package/native-notices/crates/thiserror-impl-1.0.69/license-apache +176 -0
  127. package/native-notices/crates/thiserror-impl-1.0.69/license-mit +23 -0
  128. package/native-notices/crates/thread_local-1.1.9/license-apache +201 -0
  129. package/native-notices/crates/thread_local-1.1.9/license-mit +25 -0
  130. package/native-notices/crates/tokio-1.52.3/license +21 -0
  131. package/native-notices/crates/tokio-macros-2.7.0/license +22 -0
  132. package/native-notices/crates/tracing-0.1.44/license +25 -0
  133. package/native-notices/crates/tracing-attributes-0.1.31/license +25 -0
  134. package/native-notices/crates/tracing-core-0.1.36/license +25 -0
  135. package/native-notices/crates/tracing-log-0.2.0/license +25 -0
  136. package/native-notices/crates/tracing-subscriber-0.3.23/license +25 -0
  137. package/native-notices/crates/unicode-ident-1.0.24/license-apache +176 -0
  138. package/native-notices/crates/unicode-ident-1.0.24/license-mit +23 -0
  139. package/native-notices/crates/unicode-ident-1.0.24/license-unicode +39 -0
  140. package/native-notices/crates/utf8parse-0.2.2/license-apache +176 -0
  141. package/native-notices/crates/utf8parse-0.2.2/license-mit +25 -0
  142. package/native-notices/crates/zerocopy-0.8.48/license-apache +202 -0
  143. package/native-notices/crates/zerocopy-0.8.48/license-bsd +24 -0
  144. package/native-notices/crates/zerocopy-0.8.48/license-mit +26 -0
  145. package/native-notices/crates/zmij-1.0.21/license-mit +23 -0
  146. package/native-notices/manifest.json +1890 -0
  147. package/native-notices/readme.md +42 -0
  148. package/native-notices/runtime/gcc/gpl-3.0.txt +674 -0
  149. package/native-notices/runtime/gcc/runtime-library-exception-3.1.txt +73 -0
  150. package/native-notices/runtime/musl-1.2.5/copyright +193 -0
  151. package/native-notices/rust/compiler-builtins-license.txt +275 -0
  152. package/native-notices/rust/copyright-library.html +8266 -0
  153. package/native-notices/rust/crates/addr2line-0.25.1/license-apache +201 -0
  154. package/native-notices/rust/crates/addr2line-0.25.1/license-mit +25 -0
  155. package/native-notices/rust/crates/adler2-2.0.1/license-0bsd +12 -0
  156. package/native-notices/rust/crates/adler2-2.0.1/license-apache +201 -0
  157. package/native-notices/rust/crates/adler2-2.0.1/license-mit +23 -0
  158. package/native-notices/rust/crates/memchr-2.7.6/copying +3 -0
  159. package/native-notices/rust/crates/memchr-2.7.6/license-mit +21 -0
  160. package/native-notices/rust/crates/memchr-2.7.6/unlicense +24 -0
  161. package/native-notices/rust/crates/miniz_oxide-0.8.9/license +25 -0
  162. package/native-notices/rust/crates/miniz_oxide-0.8.9/license-apache.md +177 -0
  163. package/native-notices/rust/crates/miniz_oxide-0.8.9/license-mit.md +24 -0
  164. package/native-notices/rust/crates/miniz_oxide-0.8.9/license-zlib.md +14 -0
  165. package/native-notices/rust/crates/object-0.37.3/license-apache +201 -0
  166. package/native-notices/rust/crates/object-0.37.3/license-mit +25 -0
  167. package/native-notices/rust/licenses/apache-2.0.txt +73 -0
  168. package/native-notices/rust/licenses/bsd-2-clause.txt +9 -0
  169. package/native-notices/rust/licenses/cc-by-sa-4.0.txt +427 -0
  170. package/native-notices/rust/licenses/gcc-exception-3.1.txt +30 -0
  171. package/native-notices/rust/licenses/gpl-2.0-only.txt +133 -0
  172. package/native-notices/rust/licenses/gpl-3.0-or-later.txt +202 -0
  173. package/native-notices/rust/licenses/isc.txt +7 -0
  174. package/native-notices/rust/licenses/llvm-exception.txt +15 -0
  175. package/native-notices/rust/licenses/mit.txt +9 -0
  176. package/native-notices/rust/licenses/ncsa.txt +29 -0
  177. package/native-notices/rust/licenses/ofl-1.1.txt +43 -0
  178. package/native-notices/rust/licenses/unicode-3.0.txt +39 -0
  179. package/package.json +18 -9
  180. package/readme.md +37 -8
  181. package/ts/00_commitinfo_data.ts +1 -1
  182. package/ts/index.ts +1 -1
  183. package/ts/smartnetwork.classes.rustbridge.ts +12 -21
  184. package/ts/smartnetwork.classes.smartnetwork.ts +68 -37
  185. package/dist_rust/rustnetwork_linux_amd64 +0 -0
  186. package/dist_rust/rustnetwork_linux_arm64 +0 -0
  187. package/readme.hints.md +0 -106
  188. package/ts/tsconfig.json +0 -5
  189. /package/{license → license.md} +0 -0
@@ -0,0 +1,73 @@
1
+ GCC RUNTIME LIBRARY EXCEPTION
2
+
3
+ Version 3.1, 31 March 2009
4
+
5
+ Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
6
+
7
+ Everyone is permitted to copy and distribute verbatim copies of this
8
+ license document, but changing it is not allowed.
9
+
10
+ This GCC Runtime Library Exception ("Exception") is an additional
11
+ permission under section 7 of the GNU General Public License, version
12
+ 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
13
+ bears a notice placed by the copyright holder of the file stating that
14
+ the file is governed by GPLv3 along with this Exception.
15
+
16
+ When you use GCC to compile a program, GCC may combine portions of
17
+ certain GCC header files and runtime libraries with the compiled
18
+ program. The purpose of this Exception is to allow compilation of
19
+ non-GPL (including proprietary) programs to use, in this way, the
20
+ header files and runtime libraries covered by this Exception.
21
+
22
+ 0. Definitions.
23
+
24
+ A file is an "Independent Module" if it either requires the Runtime
25
+ Library for execution after a Compilation Process, or makes use of an
26
+ interface provided by the Runtime Library, but is not otherwise based
27
+ on the Runtime Library.
28
+
29
+ "GCC" means a version of the GNU Compiler Collection, with or without
30
+ modifications, governed by version 3 (or a specified later version) of
31
+ the GNU General Public License (GPL) with the option of using any
32
+ subsequent versions published by the FSF.
33
+
34
+ "GPL-compatible Software" is software whose conditions of propagation,
35
+ modification and use would permit combination with GCC in accord with
36
+ the license of GCC.
37
+
38
+ "Target Code" refers to output from any compiler for a real or virtual
39
+ target processor architecture, in executable form or suitable for
40
+ input to an assembler, loader, linker and/or execution
41
+ phase. Notwithstanding that, Target Code does not include data in any
42
+ format that is used as a compiler intermediate representation, or used
43
+ for producing a compiler intermediate representation.
44
+
45
+ The "Compilation Process" transforms code entirely represented in
46
+ non-intermediate languages designed for human-written code, and/or in
47
+ Java Virtual Machine byte code, into Target Code. Thus, for example,
48
+ use of source code generators and preprocessors need not be considered
49
+ part of the Compilation Process, since the Compilation Process can be
50
+ understood as starting with the output of the generators or
51
+ preprocessors.
52
+
53
+ A Compilation Process is "Eligible" if it is done using GCC, alone or
54
+ with other GPL-compatible software, or if it is done without using any
55
+ work based on GCC. For example, using non-GPL-compatible Software to
56
+ optimize any GCC intermediate representations would not qualify as an
57
+ Eligible Compilation Process.
58
+
59
+ 1. Grant of Additional Permission.
60
+
61
+ You have permission to propagate a work of Target Code formed by
62
+ combining the Runtime Library with Independent Modules, even if such
63
+ propagation would otherwise violate the terms of GPLv3, provided that
64
+ all Target Code was generated by Eligible Compilation Processes. You
65
+ may then convey such a combination under terms of your choice,
66
+ consistent with the licensing of the Independent Modules.
67
+
68
+ 2. No Weakening of GCC Copyleft.
69
+
70
+ The availability of this Exception does not imply any general
71
+ presumption that third-party software is unaffected by the copyleft
72
+ requirements of the license of GCC.
73
+
@@ -0,0 +1,193 @@
1
+ musl as a whole is licensed under the following standard MIT license:
2
+
3
+ ----------------------------------------------------------------------
4
+ Copyright © 2005-2020 Rich Felker, et al.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+ ----------------------------------------------------------------------
25
+
26
+ Authors/contributors include:
27
+
28
+ A. Wilcox
29
+ Ada Worcester
30
+ Alex Dowad
31
+ Alex Suykov
32
+ Alexander Monakov
33
+ Andre McCurdy
34
+ Andrew Kelley
35
+ Anthony G. Basile
36
+ Aric Belsito
37
+ Arvid Picciani
38
+ Bartosz Brachaczek
39
+ Benjamin Peterson
40
+ Bobby Bingham
41
+ Boris Brezillon
42
+ Brent Cook
43
+ Chris Spiegel
44
+ Clément Vasseur
45
+ Daniel Micay
46
+ Daniel Sabogal
47
+ Daurnimator
48
+ David Carlier
49
+ David Edelsohn
50
+ Denys Vlasenko
51
+ Dmitry Ivanov
52
+ Dmitry V. Levin
53
+ Drew DeVault
54
+ Emil Renner Berthing
55
+ Fangrui Song
56
+ Felix Fietkau
57
+ Felix Janda
58
+ Gianluca Anzolin
59
+ Hauke Mehrtens
60
+ He X
61
+ Hiltjo Posthuma
62
+ Isaac Dunham
63
+ Jaydeep Patil
64
+ Jens Gustedt
65
+ Jeremy Huntwork
66
+ Jo-Philipp Wich
67
+ Joakim Sindholt
68
+ John Spencer
69
+ Julien Ramseier
70
+ Justin Cormack
71
+ Kaarle Ritvanen
72
+ Khem Raj
73
+ Kylie McClain
74
+ Leah Neukirchen
75
+ Luca Barbato
76
+ Luka Perkov
77
+ M Farkas-Dyck (Strake)
78
+ Mahesh Bodapati
79
+ Markus Wichmann
80
+ Masanori Ogino
81
+ Michael Clark
82
+ Michael Forney
83
+ Mikhail Kremnyov
84
+ Natanael Copa
85
+ Nicholas J. Kain
86
+ orc
87
+ Pascal Cuoq
88
+ Patrick Oppenlander
89
+ Petr Hosek
90
+ Petr Skocik
91
+ Pierre Carrier
92
+ Reini Urban
93
+ Rich Felker
94
+ Richard Pennington
95
+ Ryan Fairfax
96
+ Samuel Holland
97
+ Segev Finer
98
+ Shiz
99
+ sin
100
+ Solar Designer
101
+ Stefan Kristiansson
102
+ Stefan O'Rear
103
+ Szabolcs Nagy
104
+ Timo Teräs
105
+ Trutz Behn
106
+ Valentin Ochs
107
+ Will Dietz
108
+ William Haddon
109
+ William Pitcock
110
+
111
+ Portions of this software are derived from third-party works licensed
112
+ under terms compatible with the above MIT license:
113
+
114
+ The TRE regular expression implementation (src/regex/reg* and
115
+ src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
116
+ under a 2-clause BSD license (license text in the source files). The
117
+ included version has been heavily modified by Rich Felker in 2012, in
118
+ the interests of size, simplicity, and namespace cleanliness.
119
+
120
+ Much of the math library code (src/math/* and src/complex/*) is
121
+ Copyright © 1993,2004 Sun Microsystems or
122
+ Copyright © 2003-2011 David Schultz or
123
+ Copyright © 2003-2009 Steven G. Kargl or
124
+ Copyright © 2003-2009 Bruce D. Evans or
125
+ Copyright © 2008 Stephen L. Moshier or
126
+ Copyright © 2017-2018 Arm Limited
127
+ and labelled as such in comments in the individual source files. All
128
+ have been licensed under extremely permissive terms.
129
+
130
+ The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
131
+ The Android Open Source Project and is licensed under a two-clause BSD
132
+ license. It was taken from Bionic libc, used on Android.
133
+
134
+ The AArch64 memcpy and memset code (src/string/aarch64/*) are
135
+ Copyright © 1999-2019, Arm Limited.
136
+
137
+ The implementation of DES for crypt (src/crypt/crypt_des.c) is
138
+ Copyright © 1994 David Burren. It is licensed under a BSD license.
139
+
140
+ The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
141
+ originally written by Solar Designer and placed into the public
142
+ domain. The code also comes with a fallback permissive license for use
143
+ in jurisdictions that may not recognize the public domain.
144
+
145
+ The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
146
+ Valentin Ochs and is licensed under an MIT-style license.
147
+
148
+ The x86_64 port was written by Nicholas J. Kain and is licensed under
149
+ the standard MIT terms.
150
+
151
+ The mips and microblaze ports were originally written by Richard
152
+ Pennington for use in the ellcc project. The original code was adapted
153
+ by Rich Felker for build system and code conventions during upstream
154
+ integration. It is licensed under the standard MIT terms.
155
+
156
+ The mips64 port was contributed by Imagination Technologies and is
157
+ licensed under the standard MIT terms.
158
+
159
+ The powerpc port was also originally written by Richard Pennington,
160
+ and later supplemented and integrated by John Spencer. It is licensed
161
+ under the standard MIT terms.
162
+
163
+ All other files which have no copyright comments are original works
164
+ produced specifically for use as part of this library, written either
165
+ by Rich Felker, the main author of the library, or by one or more
166
+ contibutors listed above. Details on authorship of individual files
167
+ can be found in the git version control history of the project. The
168
+ omission of copyright and license comments in each file is in the
169
+ interest of source tree size.
170
+
171
+ In addition, permission is hereby granted for all public header files
172
+ (include/* and arch/*/bits/*) and crt files intended to be linked into
173
+ applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
174
+ the copyright notice and permission notice otherwise required by the
175
+ license, and to use these files without any requirement of
176
+ attribution. These files include substantial contributions from:
177
+
178
+ Bobby Bingham
179
+ John Spencer
180
+ Nicholas J. Kain
181
+ Rich Felker
182
+ Richard Pennington
183
+ Stefan Kristiansson
184
+ Szabolcs Nagy
185
+
186
+ all of whom have explicitly granted such permission.
187
+
188
+ This file previously contained text expressing a belief that most of
189
+ the files covered by the above exception were sufficiently trivial not
190
+ to be subject to copyright, resulting in confusion over whether it
191
+ negated the permissions granted in the license. In the spirit of
192
+ permissive licensing, and of not having licensing issues being an
193
+ obstacle to adoption, that text has been removed.
@@ -0,0 +1,275 @@
1
+ The compiler-builtins crate is available for use under both the MIT license
2
+ and the Apache-2.0 license with the LLVM exception (MIT AND Apache-2.0 WITH
3
+ LLVM-exception).
4
+
5
+ The libm crate is available for use under the MIT license.
6
+
7
+ As a contributor, you agree that your code may be used under any of the
8
+ following: the MIT license, the Apache-2.0 license, or the Apache-2.0 license
9
+ with the LLVM exception. In other words, original (non-derivative) work is
10
+ licensed under MIT OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception. This is
11
+ the default license for all other source in this repository.
12
+
13
+ Text of the relevant licenses is provided below:
14
+
15
+ ------------------------------------------------------------------------------
16
+ MIT License
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in all
26
+ copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
+ SOFTWARE.
35
+ ------------------------------------------------------------------------------
36
+ Apache License
37
+ Version 2.0, January 2004
38
+ http://www.apache.org/licenses/
39
+
40
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
41
+
42
+ 1. Definitions.
43
+
44
+ "License" shall mean the terms and conditions for use, reproduction,
45
+ and distribution as defined by Sections 1 through 9 of this document.
46
+
47
+ "Licensor" shall mean the copyright owner or entity authorized by
48
+ the copyright owner that is granting the License.
49
+
50
+ "Legal Entity" shall mean the union of the acting entity and all
51
+ other entities that control, are controlled by, or are under common
52
+ control with that entity. For the purposes of this definition,
53
+ "control" means (i) the power, direct or indirect, to cause the
54
+ direction or management of such entity, whether by contract or
55
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
56
+ outstanding shares, or (iii) beneficial ownership of such entity.
57
+
58
+ "You" (or "Your") shall mean an individual or Legal Entity
59
+ exercising permissions granted by this License.
60
+
61
+ "Source" form shall mean the preferred form for making modifications,
62
+ including but not limited to software source code, documentation
63
+ source, and configuration files.
64
+
65
+ "Object" form shall mean any form resulting from mechanical
66
+ transformation or translation of a Source form, including but
67
+ not limited to compiled object code, generated documentation,
68
+ and conversions to other media types.
69
+
70
+ "Work" shall mean the work of authorship, whether in Source or
71
+ Object form, made available under the License, as indicated by a
72
+ copyright notice that is included in or attached to the work
73
+ (an example is provided in the Appendix below).
74
+
75
+ "Derivative Works" shall mean any work, whether in Source or Object
76
+ form, that is based on (or derived from) the Work and for which the
77
+ editorial revisions, annotations, elaborations, or other modifications
78
+ represent, as a whole, an original work of authorship. For the purposes
79
+ of this License, Derivative Works shall not include works that remain
80
+ separable from, or merely link (or bind by name) to the interfaces of,
81
+ the Work and Derivative Works thereof.
82
+
83
+ "Contribution" shall mean any work of authorship, including
84
+ the original version of the Work and any modifications or additions
85
+ to that Work or Derivative Works thereof, that is intentionally
86
+ submitted to Licensor for inclusion in the Work by the copyright owner
87
+ or by an individual or Legal Entity authorized to submit on behalf of
88
+ the copyright owner. For the purposes of this definition, "submitted"
89
+ means any form of electronic, verbal, or written communication sent
90
+ to the Licensor or its representatives, including but not limited to
91
+ communication on electronic mailing lists, source code control systems,
92
+ and issue tracking systems that are managed by, or on behalf of, the
93
+ Licensor for the purpose of discussing and improving the Work, but
94
+ excluding communication that is conspicuously marked or otherwise
95
+ designated in writing by the copyright owner as "Not a Contribution."
96
+
97
+ "Contributor" shall mean Licensor and any individual or Legal Entity
98
+ on behalf of whom a Contribution has been received by Licensor and
99
+ subsequently incorporated within the Work.
100
+
101
+ 2. Grant of Copyright License. Subject to the terms and conditions of
102
+ this License, each Contributor hereby grants to You a perpetual,
103
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
104
+ copyright license to reproduce, prepare Derivative Works of,
105
+ publicly display, publicly perform, sublicense, and distribute the
106
+ Work and such Derivative Works in Source or Object form.
107
+
108
+ 3. Grant of Patent License. Subject to the terms and conditions of
109
+ this License, each Contributor hereby grants to You a perpetual,
110
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
111
+ (except as stated in this section) patent license to make, have made,
112
+ use, offer to sell, sell, import, and otherwise transfer the Work,
113
+ where such license applies only to those patent claims licensable
114
+ by such Contributor that are necessarily infringed by their
115
+ Contribution(s) alone or by combination of their Contribution(s)
116
+ with the Work to which such Contribution(s) was submitted. If You
117
+ institute patent litigation against any entity (including a
118
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
119
+ or a Contribution incorporated within the Work constitutes direct
120
+ or contributory patent infringement, then any patent licenses
121
+ granted to You under this License for that Work shall terminate
122
+ as of the date such litigation is filed.
123
+
124
+ 4. Redistribution. You may reproduce and distribute copies of the
125
+ Work or Derivative Works thereof in any medium, with or without
126
+ modifications, and in Source or Object form, provided that You
127
+ meet the following conditions:
128
+
129
+ (a) You must give any other recipients of the Work or
130
+ Derivative Works a copy of this License; and
131
+
132
+ (b) You must cause any modified files to carry prominent notices
133
+ stating that You changed the files; and
134
+
135
+ (c) You must retain, in the Source form of any Derivative Works
136
+ that You distribute, all copyright, patent, trademark, and
137
+ attribution notices from the Source form of the Work,
138
+ excluding those notices that do not pertain to any part of
139
+ the Derivative Works; and
140
+
141
+ (d) If the Work includes a "NOTICE" text file as part of its
142
+ distribution, then any Derivative Works that You distribute must
143
+ include a readable copy of the attribution notices contained
144
+ within such NOTICE file, excluding those notices that do not
145
+ pertain to any part of the Derivative Works, in at least one
146
+ of the following places: within a NOTICE text file distributed
147
+ as part of the Derivative Works; within the Source form or
148
+ documentation, if provided along with the Derivative Works; or,
149
+ within a display generated by the Derivative Works, if and
150
+ wherever such third-party notices normally appear. The contents
151
+ of the NOTICE file are for informational purposes only and
152
+ do not modify the License. You may add Your own attribution
153
+ notices within Derivative Works that You distribute, alongside
154
+ or as an addendum to the NOTICE text from the Work, provided
155
+ that such additional attribution notices cannot be construed
156
+ as modifying the License.
157
+
158
+ You may add Your own copyright statement to Your modifications and
159
+ may provide additional or different license terms and conditions
160
+ for use, reproduction, or distribution of Your modifications, or
161
+ for any such Derivative Works as a whole, provided Your use,
162
+ reproduction, and distribution of the Work otherwise complies with
163
+ the conditions stated in this License.
164
+
165
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
166
+ any Contribution intentionally submitted for inclusion in the Work
167
+ by You to the Licensor shall be under the terms and conditions of
168
+ this License, without any additional terms or conditions.
169
+ Notwithstanding the above, nothing herein shall supersede or modify
170
+ the terms of any separate license agreement you may have executed
171
+ with Licensor regarding such Contributions.
172
+
173
+ 6. Trademarks. This License does not grant permission to use the trade
174
+ names, trademarks, service marks, or product names of the Licensor,
175
+ except as required for reasonable and customary use in describing the
176
+ origin of the Work and reproducing the content of the NOTICE file.
177
+
178
+ 7. Disclaimer of Warranty. Unless required by applicable law or
179
+ agreed to in writing, Licensor provides the Work (and each
180
+ Contributor provides its Contributions) on an "AS IS" BASIS,
181
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
182
+ implied, including, without limitation, any warranties or conditions
183
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
184
+ PARTICULAR PURPOSE. You are solely responsible for determining the
185
+ appropriateness of using or redistributing the Work and assume any
186
+ risks associated with Your exercise of permissions under this License.
187
+
188
+ 8. Limitation of Liability. In no event and under no legal theory,
189
+ whether in tort (including negligence), contract, or otherwise,
190
+ unless required by applicable law (such as deliberate and grossly
191
+ negligent acts) or agreed to in writing, shall any Contributor be
192
+ liable to You for damages, including any direct, indirect, special,
193
+ incidental, or consequential damages of any character arising as a
194
+ result of this License or out of the use or inability to use the
195
+ Work (including but not limited to damages for loss of goodwill,
196
+ work stoppage, computer failure or malfunction, or any and all
197
+ other commercial damages or losses), even if such Contributor
198
+ has been advised of the possibility of such damages.
199
+
200
+ 9. Accepting Warranty or Additional Liability. While redistributing
201
+ the Work or Derivative Works thereof, You may choose to offer,
202
+ and charge a fee for, acceptance of support, warranty, indemnity,
203
+ or other liability obligations and/or rights consistent with this
204
+ License. However, in accepting such obligations, You may act only
205
+ on Your own behalf and on Your sole responsibility, not on behalf
206
+ of any other Contributor, and only if You agree to indemnify,
207
+ defend, and hold each Contributor harmless for any liability
208
+ incurred by, or claims asserted against, such Contributor by reason
209
+ of your accepting any such warranty or additional liability.
210
+
211
+ END OF TERMS AND CONDITIONS
212
+
213
+ APPENDIX: How to apply the Apache License to your work.
214
+
215
+ To apply the Apache License to your work, attach the following
216
+ boilerplate notice, with the fields enclosed by brackets "[]"
217
+ replaced with your own identifying information. (Don't include
218
+ the brackets!) The text should be enclosed in the appropriate
219
+ comment syntax for the file format. We also recommend that a
220
+ file or class name and description of purpose be included on the
221
+ same "printed page" as the copyright notice for easier
222
+ identification within third-party archives.
223
+
224
+ Licensed under the Apache License, Version 2.0 (the "License");
225
+ you may not use this file except in compliance with the License.
226
+ You may obtain a copy of the License at
227
+
228
+ http://www.apache.org/licenses/LICENSE-2.0
229
+
230
+ Unless required by applicable law or agreed to in writing, software
231
+ distributed under the License is distributed on an "AS IS" BASIS,
232
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
233
+ See the License for the specific language governing permissions and
234
+ limitations under the License.
235
+
236
+
237
+ ---- LLVM Exceptions to the Apache 2.0 License ----
238
+
239
+ As an exception, if, as a result of your compiling your source code, portions
240
+ of this Software are embedded into an Object form of such source code, you
241
+ may redistribute such embedded portions in such Object form without complying
242
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
243
+
244
+ In addition, if you combine or link compiled forms of this Software with
245
+ software that is licensed under the GPLv2 ("Combined Software") and if a
246
+ court of competent jurisdiction determines that the patent provision (Section
247
+ 3), the indemnity provision (Section 9) or other Section of the License
248
+ conflicts with the conditions of the GPLv2, you may retroactively and
249
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
250
+ the License, but only in their entirety and only with respect to the Combined
251
+ Software.
252
+ ------------------------------------------------------------------------------
253
+
254
+ Portions of this software are derived from third-party works licensed under
255
+ terms compatible with the above Apache-2.0 WITH LLVM-exception AND MIT
256
+ license:
257
+
258
+ * compiler-builtins is derived from LLVM's compiler-rt (https://llvm.org/).
259
+ Work derived from compiler-rt prior to 2019-01-19 is usable under the MIT
260
+ license, with the following copyright:
261
+
262
+ Copyright (c) 2009-2016 by the contributors listed in CREDITS.TXT
263
+
264
+ The relevant CREDITS.TXT is located at
265
+ https://github.com/llvm/llvm-project/blob/main/compiler-rt/CREDITS.TXT.
266
+
267
+ * Work derived from compiler-rt after 2019-01-19 is usable under the
268
+ Apache-2.0 license with the LLVM exception.
269
+
270
+ * The bundled `math` module is from the libm crate, usable under the MIT
271
+ license. For further details and copyrights, see see libm/LICENSE.txt at
272
+ https://github.com/rust-lang/compiler-builtins.
273
+
274
+ Additionally, some source files may contain comments with specific copyrights
275
+ or licenses.