]> git.lizzy.rs Git - rust.git/blob - COPYRIGHT
Rollup merge of #21986 - LeoTestard:identical-statics, r=eddyb
[rust.git] / COPYRIGHT
1 Short version for non-lawyers:
2
3 The Rust Project is dual-licensed under Apache 2.0 and MIT
4 terms.
5
6
7 Longer version:
8
9 The Rust Project is copyright 2015, The Rust Project
10 Developers (given in the file AUTHORS.txt).
11
12 Licensed under the Apache License, Version 2.0
13 <LICENSE-APACHE or
14 http://www.apache.org/licenses/LICENSE-2.0> or the MIT
15 license <LICENSE-MIT or http://opensource.org/licenses/MIT>,
16 at your option. All files in the project carrying such
17 notice may not be copied, modified, or distributed except
18 according to those terms.
19
20
21 The Rust Project includes packages written by third parties.
22 The following third party packages are included, and carry
23 their 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/valgrind/valgrind.h and
27   src/rt/valgrind/memcheck.h, within this distribution. These files
28   are redistributed under the following terms, as noted in
29   them:
30
31   for src/rt/valgrind/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/valgrind/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 src/rt/miniz.c file, carrying an implementation of
124   RFC1950/RFC1951 DEFLATE, by Rich Geldreich
125   <richgel99@gmail.com>. All uses of this file are
126   permitted by the embedded "unlicense" notice
127   (effectively: public domain with warranty disclaimer).
128
129 * LLVM. Code for this package is found in src/llvm.
130
131     Copyright (c) 2003-2013 University of Illinois at
132     Urbana-Champaign.  All rights reserved.
133
134     Developed by:
135
136         LLVM Team
137
138         University of Illinois at Urbana-Champaign
139
140         http://llvm.org
141
142     Permission is hereby granted, free of charge, to any
143     person obtaining a copy of this software and associated
144     documentation files (the "Software"), to deal with the
145     Software without restriction, including without
146     limitation the rights to use, copy, modify, merge,
147     publish, distribute, sublicense, and/or sell copies of
148     the Software, and to permit persons to whom the Software
149     is furnished to do so, subject to the following
150     conditions:
151
152         * Redistributions of source code must retain the
153           above copyright notice, this list of conditions
154           and the following disclaimers.
155
156         * Redistributions in binary form must reproduce the
157           above copyright notice, this list of conditions
158           and the following disclaimers in the documentation
159           and/or other materials provided with the
160           distribution.
161
162         * Neither the names of the LLVM Team, University of
163           Illinois at Urbana-Champaign, nor the names of its
164           contributors may be used to endorse or promote
165           products derived from this Software without
166           specific prior written permission.
167
168     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
169     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
170     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
171     PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
172     SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE
173     FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
174     ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
175     OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
176     OTHER DEALINGS WITH THE SOFTWARE.
177
178 * Additional libraries included in LLVM carry separate
179   BSD-compatible licenses. See src/llvm/LICENSE.txt for
180   details.
181
182 * compiler-rt, in src/compiler-rt is dual licensed under
183   LLVM's license and MIT:
184
185     Copyright (c) 2009-2014 by the contributors listed in
186     CREDITS.TXT
187
188     All rights reserved.
189
190     Developed by:
191
192         LLVM Team
193
194         University of Illinois at Urbana-Champaign
195
196         http://llvm.org
197
198     Permission is hereby granted, free of charge, to any
199     person obtaining a copy of this software and associated
200     documentation files (the "Software"), to deal with the
201     Software without restriction, including without
202     limitation the rights to use, copy, modify, merge,
203     publish, distribute, sublicense, and/or sell copies of
204     the Software, and to permit persons to whom the Software
205     is furnished to do so, subject to the following
206     conditions:
207
208         * Redistributions of source code must retain the
209           above copyright notice, this list of conditions
210           and the following disclaimers.
211
212         * Redistributions in binary form must reproduce the
213           above copyright notice, this list of conditions
214           and the following disclaimers in the documentation
215           and/or other materials provided with the
216           distribution.
217
218         * Neither the names of the LLVM Team, University of
219           Illinois at Urbana-Champaign, nor the names of its
220           contributors may be used to endorse or promote
221           products derived from this Software without
222           specific prior written permission.
223
224     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
225     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
226     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
227     PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
228     SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE
229     FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
230     ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
231     OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
232     OTHER DEALINGS WITH THE SOFTWARE.
233
234     ========================================================
235
236     Copyright (c) 2009-2014 by the contributors listed in
237     CREDITS.TXT
238
239     Permission is hereby granted, free of charge, to any
240     person obtaining a copy of this software and associated
241     documentation files (the "Software"), to deal in the
242     Software without restriction, including without
243     limitation the rights to use, copy, modify, merge,
244     publish, distribute, sublicense, and/or sell copies of
245     the Software, and to permit persons to whom the Software
246     is furnished to do so, subject to the following
247     conditions:
248
249     The above copyright notice and this permission notice
250     shall be included in all copies or substantial portions
251     of the Software.
252
253     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
254     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
255     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
256     PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
257     SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
258     CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
259     OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
260     IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
261     DEALINGS IN THE SOFTWARE.
262
263 * Portions of the FFI code for interacting with the native ABI
264   is derived from the Clay programming language, which carries
265   the following license.
266
267     Copyright (C) 2008-2010 Tachyon Technologies.
268     All rights reserved.
269
270     Redistribution and use in source and binary forms, with
271     or without modification, are permitted provided that the
272     following conditions are met:
273
274     1. Redistributions of source code must retain the above
275        copyright notice, this list of conditions and the
276        following disclaimer.
277
278     2. Redistributions in binary form must reproduce the
279        above copyright notice, this list of conditions and
280        the following disclaimer in the documentation and/or
281        other materials provided with the distribution.
282
283     THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR
284     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
285     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
286     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
287     DEVELOPERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
288     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
289     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
290     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
291     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
292     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
293     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
294     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
295     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
296     OF SUCH DAMAGE.
297
298 * Hoedown, the markdown parser, under src/rt/hoedown, is
299   licensed as follows.
300
301     Copyright (c) 2008, Natacha Porté
302     Copyright (c) 2011, Vicent Martí
303     Copyright (c) 2013, Devin Torres and the Hoedown authors
304
305     Permission to use, copy, modify, and distribute this
306     software for any purpose with or without fee is hereby
307     granted, provided that the above copyright notice and
308     this permission notice appear in all copies.
309
310     THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR
311     DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
312     INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
313     FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
314     SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
315     ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
316     OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
317     OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
318     CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
319
320 * libbacktrace, under src/libbacktrace:
321
322     Copyright (C) 2012-2014 Free Software Foundation, Inc.
323     Written by Ian Lance Taylor, Google.
324
325     Redistribution and use in source and binary forms, with
326     or without modification, are permitted provided that the
327     following conditions are met:
328
329         (1) Redistributions of source code must retain the
330         above copyright notice, this list of conditions and
331         the following disclaimer.
332
333         (2) Redistributions in binary form must reproduce
334         the above copyright notice, this list of conditions
335         and the following disclaimer in the documentation
336         and/or other materials provided with the
337         distribution.
338
339         (3) The name of the author may not be used to
340         endorse or promote products derived from this
341         software without specific prior written permission.
342
343     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
344     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
345     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
346     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
347     NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
348     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
349     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
350     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
351     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
352     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
353     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
354     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
355     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
356     OF SUCH DAMAGE.  */
357
358 * jemalloc, under src/jemalloc:
359
360     Copyright (C) 2002-2014 Jason Evans
361     <jasone@canonware.com>. All rights reserved.
362     Copyright (C) 2007-2012 Mozilla Foundation.
363     All rights reserved.
364     Copyright (C) 2009-2014 Facebook, Inc.
365     All rights reserved.
366
367     Redistribution and use in source and binary forms, with or without
368     modification, are permitted provided that the following conditions are met:
369     1. Redistributions of source code must retain the above copyright notice(s),
370        this list of conditions and the following disclaimer.
371     2. Redistributions in binary form must reproduce the above copyright notice(s),
372        this list of conditions and the following disclaimer in the documentation
373        and/or other materials provided with the distribution.
374
375     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S)
376     ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
377     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
378     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
379     DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER(S)
380     BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
381     EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
382     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
383     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
384     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
385     IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
386     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
387     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
388     OF SUCH DAMAGE.
389
390 * Additional copyright may be retained by contributors other
391   than Mozilla, the Rust Project Developers, or the parties
392   enumerated in this file. Such copyright can be determined
393   on a case-by-case basis by examining the author of each
394   portion of a file in the revision-control commit records
395   of the project, or by consulting representative comments
396   claiming copyright ownership for a file.
397
398   For example, the text:
399
400       "Copyright (c) 2011 Google Inc."
401
402   appears in some files, and these files thereby denote
403   that their author and copyright-holder is Google Inc.
404
405   In all such cases, the absence of explicit licensing text
406   indicates that the contributor chose to license their work
407   for distribution under identical terms to those Mozilla
408   has chosen for the collective work, enumerated at the top
409   of this file. The only difference is the retention of
410   copyright itself, held by the contributor.