]> git.lizzy.rs Git - rust.git/blob - COPYRIGHT
Correctly generate drop glue for `Box<str>`
[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 2014, 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
26 * The ISAAC pseudo random number generation package. Code
27   for this package is found in the src/rt/isaac directory,
28   within this distribution. This package is redistributed
29   under the following terms, as noted in its source:
30
31     By Bob Jenkins, 1996, Public Domain
32
33
34 * The ACME large integer package. Code for this package is
35   found in the src/rt/bigint directory, within this
36   distribution. This package is redistributed under the
37   following terms, as noted in its source:
38
39     Copyright © 2000 by Jef Poskanzer <jef@mail.acme.com>.
40     All rights reserved.
41
42     Redistribution and use in source and binary forms, with
43     or without modification, are permitted provided that the
44     following conditions are met:
45
46     1. Redistributions of source code must retain the above
47        copyright notice, this list of conditions and the
48        following disclaimer.
49
50     2. Redistributions in binary form must reproduce the
51        above copyright notice, this list of conditions and
52        the following disclaimer in the documentation and/or
53        other materials provided with the distribution.
54
55     THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
56     ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
57     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
58     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
59     DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR
60     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
61     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
62     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
63     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
64     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
65     ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66     LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
67     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
68     IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69
70
71 * The UTHASH hash table package. Code for this package is
72   found in the src/rt/uthash directory within this
73   distribution. This package is redistributed under the
74   following terms, as noted in its source:
75
76     Copyright (c) 2003-2009, Troy D. Hanson
77     http://uthash.sourceforge.net All rights reserved.
78
79     Redistribution and use in source and binary forms, with
80     or without modification, are permitted provided that the
81     following conditions are met:
82
83         * Redistributions of source code must retain the
84           above copyright notice, this list of conditions
85           and the following disclaimer.
86
87     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
88     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
89     WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
90     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
91     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
92     COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
93     DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
94     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
95     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
96     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
97     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
98     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
99     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
100     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
101     OF SUCH DAMAGE.
102
103
104 * Two header files that are part of the Valgrind
105   package. These files are found at src/rt/vg/valgrind.h and
106   src/rt/vg/memcheck.h, within this distribution. These files
107   are redistributed under the following terms, as noted in
108   them:
109
110   for src/rt/vg/valgrind.h:
111
112     This file is part of Valgrind, a dynamic binary
113     instrumentation framework.
114
115     Copyright (C) 2000-2010 Julian Seward.  All rights
116     reserved.
117
118     Redistribution and use in source and binary forms, with
119     or without modification, are permitted provided that the
120     following conditions are met:
121
122     1. Redistributions of source code must retain the above
123        copyright notice, this list of conditions and the
124        following disclaimer.
125
126     2. The origin of this software must not be
127        misrepresented; you must not claim that you wrote the
128        original software.  If you use this software in a
129        product, an acknowledgment in the product
130        documentation would be appreciated but is not
131        required.
132
133     3. Altered source versions must be plainly marked as
134        such, and must not be misrepresented as being the
135        original software.
136
137     4. The name of the author may not be used to endorse or
138        promote products derived from this software without
139        specific prior written permission.
140
141     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
142     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
143     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
144     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
145     NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
146     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
147     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
148     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
149     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
150     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
151     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
152     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
153     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
154     OF SUCH DAMAGE.
155
156   for src/rt/vg/memcheck.h:
157
158     This file is part of MemCheck, a heavyweight Valgrind
159     tool for detecting memory errors.
160
161     Copyright (C) 2000-2010 Julian Seward.  All rights
162     reserved.
163
164     Redistribution and use in source and binary forms, with
165     or without modification, are permitted provided that the
166     following conditions are met:
167
168     1. Redistributions of source code must retain the above
169        copyright notice, this list of conditions and the
170        following disclaimer.
171
172     2. The origin of this software must not be
173        misrepresented; you must not claim that you wrote the
174        original software.  If you use this software in a
175        product, an acknowledgment in the product
176        documentation would be appreciated but is not
177        required.
178
179     3. Altered source versions must be plainly marked as
180        such, and must not be misrepresented as being the
181        original software.
182
183     4. The name of the author may not be used to endorse or
184        promote products derived from this software without
185        specific prior written permission.
186
187     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
188     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
189     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
190     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
191     NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
192     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
193     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
194     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
195     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
196     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
197     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
198     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
199     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
200     OF SUCH DAMAGE.
201
202
203 * The auxiliary file src/etc/pkg/modpath.iss contains a
204   library routine compiled, by Inno Setup, into the Windows
205   installer binary. This file is licensed under the LGPL,
206   but, in our legal interpretation, this does not affect the
207   aggregate "collected work" license of the Rust
208   distribution (MIT) nor any other components of it. We
209   believe that the terms governing distribution of the
210   binary Windows installer built from modpath.iss are
211   therefore LGPL, but not the terms governing distribution
212   of any of the files installed by such an installer (such
213   as the Rust compiler or runtime libraries themselves).
214
215
216 * The src/rt/miniz.c file, carrying an implementation of
217   RFC1950/RFC1951 DEFLATE, by Rich Geldreich
218   <richgel99@gmail.com>. All uses of this file are
219   permitted by the embedded "unlicense" notice
220   (effectively: public domain with warranty disclaimer).
221
222 * LLVM and Clang. Code for this package is found in
223   src/llvm.
224
225     Copyright (c) 2003-2013 University of Illinois at
226     Urbana-Champaign.  All rights reserved.
227
228     Developed by:
229
230         LLVM Team
231
232         University of Illinois at Urbana-Champaign
233
234         http://llvm.org
235
236     Permission is hereby granted, free of charge, to any
237     person obtaining a copy of this software and associated
238     documentation files (the "Software"), to deal with the
239     Software without restriction, including without
240     limitation the rights to use, copy, modify, merge,
241     publish, distribute, sublicense, and/or sell copies of
242     the Software, and to permit persons to whom the Software
243     is furnished to do so, subject to the following
244     conditions:
245
246         * Redistributions of source code must retain the
247           above copyright notice, this list of conditions
248           and the following disclaimers.
249
250         * Redistributions in binary form must reproduce the
251           above copyright notice, this list of conditions
252           and the following disclaimers in the documentation
253           and/or other materials provided with the
254           distribution.
255
256         * Neither the names of the LLVM Team, University of
257           Illinois at Urbana-Champaign, nor the names of its
258           contributors may be used to endorse or promote
259           products derived from this Software without
260           specific prior written permission.
261
262     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
263     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
264     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
265     PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
266     SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE
267     FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
268     ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
269     OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
270     OTHER DEALINGS WITH THE SOFTWARE.
271
272
273 * Additional libraries included in LLVM carry separate
274   BSD-compatible licenses. See src/llvm/LICENSE.txt for
275   details.
276
277
278 * Portions of the FFI code for interacting with the native ABI
279   is derived from the Clay programming language, which carries
280   the following license.
281
282     Copyright (C) 2008-2010 Tachyon Technologies.
283     All rights reserved.
284
285     Redistribution and use in source and binary forms, with
286     or without modification, are permitted provided that the
287     following conditions are met:
288
289     1. Redistributions of source code must retain the above
290        copyright notice, this list of conditions and the
291        following disclaimer.
292
293     2. Redistributions in binary form must reproduce the
294        above copyright notice, this list of conditions and
295        the following disclaimer in the documentation and/or
296        other materials provided with the distribution.
297
298     THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR
299     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
300     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
301     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
302     DEVELOPERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
303     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
304     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
305     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
306     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
307     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
308     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
309     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
310     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
311     OF SUCH DAMAGE.
312
313
314 * Additional copyright may be retained by contributors other
315   than Mozilla, the Rust Project Authors, or the parties
316   enumerated in this file. Such copyright can be determined
317   on a case-by-case basis by examining the author of each
318   portion of a file in the revision-control commit records
319   of the project, or by consulting representative comments
320   claiming copyright ownership for a file.
321
322   For example, the text:
323
324       "Copyright (c) 2011 Google Inc."
325
326   appears in some files, and these files thereby denote
327   that their author and copyright-holder is Google Inc.
328
329   In all such cases, the absence of explicit licensing text
330   indicates that the contributor chose to license their work
331   for distribution under identical terms to those Mozilla
332   has chosen for the collective work, enumerated at the top
333   of this file. The only difference is the retention of
334   copyright itself, held by the contributor.