blob: 52039ea7e5734462f2989ef7f30ebbaf80fef949 [file] [log] [blame]
Ivan Lozanoa7e4bc02021-08-20 09:59:16 -04001Short version for non-lawyers:
2
3The Rust Project is dual-licensed under Apache 2.0 and MIT
4terms.
5
6
7Longer version:
8
9The Rust Project is copyright 2014, The Rust Project
10Developers (given in the file AUTHORS.txt).
11
12Licensed under the Apache License, Version 2.0
13<LICENSE-APACHE or
14http://www.apache.org/licenses/LICENSE-2.0> or the MIT
15license <LICENSE-MIT or http://opensource.org/licenses/MIT>,
16at your option. All files in the project carrying such
17notice may not be copied, modified, or distributed except
18according to those terms.
19
20
21The Rust Project includes packages written by third parties.
22The following third party packages are included, and carry
23their own copyright notices and license terms:
24
25* Two header files that are part of the Valgrind
26 package. These files are found at src/rt/vg/valgrind.h and
27 src/rt/vg/memcheck.h, within this distribution. These files
28 are redistributed under the following terms, as noted in
29 them:
30
31 for src/rt/vg/valgrind.h:
32
33 This file is part of Valgrind, a dynamic binary
34 instrumentation framework.
35
36 Copyright (C) 2000-2010 Julian Seward. All rights
37 reserved.
38
39 Redistribution and use in source and binary forms, with
40 or without modification, are permitted provided that the
41 following conditions are met:
42
43 1. Redistributions of source code must retain the above
44 copyright notice, this list of conditions and the
45 following disclaimer.
46
47 2. The origin of this software must not be
48 misrepresented; you must not claim that you wrote the
49 original software. If you use this software in a
50 product, an acknowledgment in the product
51 documentation would be appreciated but is not
52 required.
53
54 3. Altered source versions must be plainly marked as
55 such, and must not be misrepresented as being the
56 original software.
57
58 4. The name of the author may not be used to endorse or
59 promote products derived from this software without
60 specific prior written permission.
61
62 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
63 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
64 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
65 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
66 NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
67 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
68 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
69 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
70 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
71 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
72 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
73 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
74 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
75 OF SUCH DAMAGE.
76
77 for src/rt/vg/memcheck.h:
78
79 This file is part of MemCheck, a heavyweight Valgrind
80 tool for detecting memory errors.
81
82 Copyright (C) 2000-2010 Julian Seward. All rights
83 reserved.
84
85 Redistribution and use in source and binary forms, with
86 or without modification, are permitted provided that the
87 following conditions are met:
88
89 1. Redistributions of source code must retain the above
90 copyright notice, this list of conditions and the
91 following disclaimer.
92
93 2. The origin of this software must not be
94 misrepresented; you must not claim that you wrote the
95 original software. If you use this software in a
96 product, an acknowledgment in the product
97 documentation would be appreciated but is not
98 required.
99
100 3. Altered source versions must be plainly marked as
101 such, and must not be misrepresented as being the
102 original software.
103
104 4. The name of the author may not be used to endorse or
105 promote products derived from this software without
106 specific prior written permission.
107
108 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
109 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
110 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
111 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
112 NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
113 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
114 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
115 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
116 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
117 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
118 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
119 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
120 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
121 OF SUCH DAMAGE.
122
123* The auxiliary file src/etc/pkg/modpath.iss contains a
124 library routine compiled, by Inno Setup, into the Windows
125 installer binary. This file is licensed under the LGPL,
126 version 3, but, in our legal interpretation, this does not
127 affect the aggregate "collected work" license of the Rust
128 distribution (MIT/ASL2) nor any other components of it. We
129 believe that the terms governing distribution of the
130 binary Windows installer built from modpath.iss are
131 therefore LGPL, but not the terms governing distribution
132 of any of the files installed by such an installer (such
133 as the Rust compiler or runtime libraries themselves).
134
135* The src/rt/miniz.c file, carrying an implementation of
136 RFC1950/RFC1951 DEFLATE, by Rich Geldreich
137 <richgel99@gmail.com>. All uses of this file are
138 permitted by the embedded "unlicense" notice
139 (effectively: public domain with warranty disclaimer).
140
141* LLVM. Code for this package is found in src/llvm.
142
143 Copyright (c) 2003-2013 University of Illinois at
144 Urbana-Champaign. All rights reserved.
145
146 Developed by:
147
148 LLVM Team
149
150 University of Illinois at Urbana-Champaign
151
152 http://llvm.org
153
154 Permission is hereby granted, free of charge, to any
155 person obtaining a copy of this software and associated
156 documentation files (the "Software"), to deal with the
157 Software without restriction, including without
158 limitation the rights to use, copy, modify, merge,
159 publish, distribute, sublicense, and/or sell copies of
160 the Software, and to permit persons to whom the Software
161 is furnished to do so, subject to the following
162 conditions:
163
164 * Redistributions of source code must retain the
165 above copyright notice, this list of conditions
166 and the following disclaimers.
167
168 * Redistributions in binary form must reproduce the
169 above copyright notice, this list of conditions
170 and the following disclaimers in the documentation
171 and/or other materials provided with the
172 distribution.
173
174 * Neither the names of the LLVM Team, University of
175 Illinois at Urbana-Champaign, nor the names of its
176 contributors may be used to endorse or promote
177 products derived from this Software without
178 specific prior written permission.
179
180 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
181 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
182 TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
183 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
184 SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE
185 FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
186 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
187 OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
188 OTHER DEALINGS WITH THE SOFTWARE.
189
190* Additional libraries included in LLVM carry separate
191 BSD-compatible licenses. See src/llvm/LICENSE.txt for
192 details.
193
194* compiler-rt, in src/compiler-rt is dual licensed under
195 LLVM's license and MIT:
196
197 Copyright (c) 2009-2014 by the contributors listed in
198 CREDITS.TXT
199
200 All rights reserved.
201
202 Developed by:
203
204 LLVM Team
205
206 University of Illinois at Urbana-Champaign
207
208 http://llvm.org
209
210 Permission is hereby granted, free of charge, to any
211 person obtaining a copy of this software and associated
212 documentation files (the "Software"), to deal with the
213 Software without restriction, including without
214 limitation the rights to use, copy, modify, merge,
215 publish, distribute, sublicense, and/or sell copies of
216 the Software, and to permit persons to whom the Software
217 is furnished to do so, subject to the following
218 conditions:
219
220 * Redistributions of source code must retain the
221 above copyright notice, this list of conditions
222 and the following disclaimers.
223
224 * Redistributions in binary form must reproduce the
225 above copyright notice, this list of conditions
226 and the following disclaimers in the documentation
227 and/or other materials provided with the
228 distribution.
229
230 * Neither the names of the LLVM Team, University of
231 Illinois at Urbana-Champaign, nor the names of its
232 contributors may be used to endorse or promote
233 products derived from this Software without
234 specific prior written permission.
235
236 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
237 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
238 TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
239 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
240 SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE
241 FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
242 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
243 OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
244 OTHER DEALINGS WITH THE SOFTWARE.
245
246 ========================================================
247
248 Copyright (c) 2009-2014 by the contributors listed in
249 CREDITS.TXT
250
251 Permission is hereby granted, free of charge, to any
252 person obtaining a copy of this software and associated
253 documentation files (the "Software"), to deal in the
254 Software without restriction, including without
255 limitation the rights to use, copy, modify, merge,
256 publish, distribute, sublicense, and/or sell copies of
257 the Software, and to permit persons to whom the Software
258 is furnished to do so, subject to the following
259 conditions:
260
261 The above copyright notice and this permission notice
262 shall be included in all copies or substantial portions
263 of the Software.
264
265 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
266 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
267 TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
268 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
269 SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
270 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
271 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
272 IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
273 DEALINGS IN THE SOFTWARE.
274
275* Portions of the FFI code for interacting with the native ABI
276 is derived from the Clay programming language, which carries
277 the following license.
278
279 Copyright (C) 2008-2010 Tachyon Technologies.
280 All rights reserved.
281
282 Redistribution and use in source and binary forms, with
283 or without modification, are permitted provided that the
284 following conditions are met:
285
286 1. Redistributions of source code must retain the above
287 copyright notice, this list of conditions and the
288 following disclaimer.
289
290 2. Redistributions in binary form must reproduce the
291 above copyright notice, this list of conditions and
292 the following disclaimer in the documentation and/or
293 other materials provided with the distribution.
294
295 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR
296 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
297 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
298 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
299 DEVELOPERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
300 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
301 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
302 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
303 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
304 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
305 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
306 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
307 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
308 OF SUCH DAMAGE.
309
310* Hoedown, the markdown parser, under src/rt/hoedown, is
311 licensed as follows.
312
313 Copyright (c) 2008, Natacha Porté
314 Copyright (c) 2011, Vicent Martí
315 Copyright (c) 2013, Devin Torres and the Hoedown authors
316
317 Permission to use, copy, modify, and distribute this
318 software for any purpose with or without fee is hereby
319 granted, provided that the above copyright notice and
320 this permission notice appear in all copies.
321
322 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR
323 DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
324 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
325 FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
326 SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
327 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
328 OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
329 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
330 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
331
332* libbacktrace, under src/libbacktrace:
333
334 Copyright (C) 2012-2014 Free Software Foundation, Inc.
335 Written by Ian Lance Taylor, Google.
336
337 Redistribution and use in source and binary forms, with
338 or without modification, are permitted provided that the
339 following conditions are met:
340
341 (1) Redistributions of source code must retain the
342 above copyright notice, this list of conditions and
343 the following disclaimer.
344
345 (2) Redistributions in binary form must reproduce
346 the above copyright notice, this list of conditions
347 and the following disclaimer in the documentation
348 and/or other materials provided with the
349 distribution.
350
351 (3) The name of the author may not be used to
352 endorse or promote products derived from this
353 software without specific prior written permission.
354
355 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
356 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
357 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
358 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
359 NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
360 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
361 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
362 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
363 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
364 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
365 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
366 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
367 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
368 OF SUCH DAMAGE. */
369
370* jemalloc, under src/jemalloc:
371
372 Copyright (C) 2002-2014 Jason Evans
373 <jasone@canonware.com>. All rights reserved.
374 Copyright (C) 2007-2012 Mozilla Foundation.
375 All rights reserved.
376 Copyright (C) 2009-2014 Facebook, Inc.
377 All rights reserved.
378
379 Redistribution and use in source and binary forms, with or without
380 modification, are permitted provided that the following conditions are met:
381 1. Redistributions of source code must retain the above copyright notice(s),
382 this list of conditions and the following disclaimer.
383 2. Redistributions in binary form must reproduce the above copyright notice(s),
384 this list of conditions and the following disclaimer in the documentation
385 and/or other materials provided with the distribution.
386
387 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S)
388 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
389 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
390 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
391 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S)
392 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
393 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
394 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
395 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
396 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
397 IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
398 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
399 USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
400 OF SUCH DAMAGE.
401
402* Additional copyright may be retained by contributors other
403 than Mozilla, the Rust Project Developers, or the parties
404 enumerated in this file. Such copyright can be determined
405 on a case-by-case basis by examining the author of each
406 portion of a file in the revision-control commit records
407 of the project, or by consulting representative comments
408 claiming copyright ownership for a file.
409
410 For example, the text:
411
412 "Copyright (c) 2011 Google Inc."
413
414 appears in some files, and these files thereby denote
415 that their author and copyright-holder is Google Inc.
416
417 In all such cases, the absence of explicit licensing text
418 indicates that the contributor chose to license their work
419 for distribution under identical terms to those Mozilla
420 has chosen for the collective work, enumerated at the top
421 of this file. The only difference is the retention of
422 copyright itself, held by the contributor.