]> git.lizzy.rs Git - rust.git/blob - LICENSE.txt
Add documentation about paretheses for grouping expressions
[rust.git] / LICENSE.txt
1 Short version for non-lawyers:
2
3 This work licensed under MIT-like terms.
4
5
6 Long version follows:
7
8 The collective work presented here includes packages written
9 by third parties.  The following third party packages are
10 included:
11
12
13 * The ISAAC pseudo random number generation package. Code
14   for this package is found in the src/rt/isaac directory,
15   within this distribution. This package is redistributed
16   under the following terms, as noted in its source:
17
18     By Bob Jenkins, 1996, Public Domain
19
20
21 * The ACME large integer package. Code for this package is
22   found in the src/rt/bigint directory, within this
23   distribution. This package is redistributed under the
24   following terms, as noted in its source:
25
26     Copyright © 2000 by Jef Poskanzer <jef@mail.acme.com>.
27     All rights reserved.
28
29     Redistribution and use in source and binary forms, with
30     or without modification, are permitted provided that the
31     following conditions are met:
32
33     1. Redistributions of source code must retain the above
34        copyright notice, this list of conditions and the
35        following disclaimer.
36
37     2. Redistributions in binary form must reproduce the
38        above copyright notice, this list of conditions and
39        the following disclaimer in the documentation and/or
40        other materials provided with the distribution.
41
42     THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
43     ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
44     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
45     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
46     DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR
47     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
48     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
49     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
50     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
51     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
52     ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53     LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
54     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
55     IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56
57
58 * The UTHASH hash table package. Code for this package is
59   found in the src/rt/uthash directory within this
60   distribution. This package is redistributed under the
61   following terms, as noted in its source:
62
63     Copyright (c) 2003-2009, Troy D. Hanson
64     http://uthash.sourceforge.net All rights reserved.
65
66     Redistribution and use in source and binary forms, with
67     or without modification, are permitted provided that the
68     following conditions are met:
69
70         * Redistributions of source code must retain the
71           above copyright notice, this list of conditions
72           and the following disclaimer.
73
74     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
75     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
76     WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
77     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
78     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
79     COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
80     DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
81     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
82     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
83     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
84     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
85     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
86     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
87     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
88     OF SUCH DAMAGE.
89
90
91 * Two header files that are part of the Valgrind
92   package. These files are found at src/rt/vg/valgrind.h and
93   src/rt/vg/memcheck.h, within this distribution. These files
94   are redistributed under the following terms, as noted in
95   them:
96
97   for src/rt/vg/valgrind.h:
98
99     This file is part of Valgrind, a dynamic binary
100     instrumentation framework.
101
102     Copyright (C) 2000-2010 Julian Seward.  All rights
103     reserved.
104
105     Redistribution and use in source and binary forms, with
106     or without modification, are permitted provided that the
107     following conditions are met:
108
109     1. Redistributions of source code must retain the above
110        copyright notice, this list of conditions and the
111        following disclaimer.
112
113     2. The origin of this software must not be
114        misrepresented; you must not claim that you wrote the
115        original software.  If you use this software in a
116        product, an acknowledgment in the product
117        documentation would be appreciated but is not
118        required.
119
120     3. Altered source versions must be plainly marked as
121        such, and must not be misrepresented as being the
122        original software.
123
124     4. The name of the author may not be used to endorse or
125        promote products derived from this software without
126        specific prior written permission.
127
128     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
129     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
130     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
131     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
132     NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
133     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
134     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
135     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
136     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
137     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
138     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
139     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
140     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
141     OF SUCH DAMAGE.
142
143   for src/rt/vg/memcheck.h:
144
145     This file is part of MemCheck, a heavyweight Valgrind
146     tool for detecting memory errors.
147
148     Copyright (C) 2000-2010 Julian Seward.  All rights
149     reserved.
150
151     Redistribution and use in source and binary forms, with
152     or without modification, are permitted provided that the
153     following conditions are met:
154
155     1. Redistributions of source code must retain the above
156        copyright notice, this list of conditions and the
157        following disclaimer.
158
159     2. The origin of this software must not be
160        misrepresented; you must not claim that you wrote the
161        original software.  If you use this software in a
162        product, an acknowledgment in the product
163        documentation would be appreciated but is not
164        required.
165
166     3. Altered source versions must be plainly marked as
167        such, and must not be misrepresented as being the
168        original software.
169
170     4. The name of the author may not be used to endorse or
171        promote products derived from this software without
172        specific prior written permission.
173
174     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
175     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
176     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
177     AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
178     NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
179     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
180     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
181     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
182     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
183     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
184     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
185     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
186     USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
187     OF SUCH DAMAGE.
188
189
190 * The libuv asynchronous I/O library. Code for this package
191   is found in the src/rt/libuv directory, within this
192   distribution. This package is redistributed under the
193   following terms, as noted in its source:
194
195     Copyright Joyent, Inc. and other Node contributors. All
196     rights reserved.  Permission is hereby granted, free of
197     charge, to any person obtaining a copy of this software
198     and associated documentation files (the "Software"), to
199     deal in the Software without restriction, including
200     without limitation the rights to use, copy, modify,
201     merge, publish, distribute, sublicense, and/or sell
202     copies of the Software, and to permit persons to whom
203     the Software is furnished to do so, subject to the
204     following conditions:
205
206     The above copyright notice and this permission notice
207     shall be included in all copies or substantial portions
208     of the Software.
209
210     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
211     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
212     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
213     PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
214     SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
215     CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
216     OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
217     IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
218     DEALINGS IN THE SOFTWARE.
219
220
221 * Additional libraries included in libuv carry separate
222   BSD-compatible licenses. See src/rt/libuv/LICENSE for
223   details.
224
225
226 * Additional copyright may be retained by contributors other
227   than Mozilla or the parties enumerated in this file. Such
228   copyright can be determined on a case-by-case basis by
229   examining the author of each portion of a file in the
230   revision-control commit records of the project, or by
231   consulting representative comments claiming copyright
232   ownership for a file.
233
234    For example, the text:
235
236       "Copyright (c) 2011 Google Inc."
237
238    appears in some files, and these files thereby denote
239    that their author and copyright-holder is Google Inc.
240
241    In all such cases, the absence of explicit licensing text
242    indicates that the contributor chose to license their
243    work for distribution under identical terms to those
244    Mozilla has chosen for the collective work, enumerated
245    below.  The only difference is the retention of copyright
246    itself, held by the contributor.
247
248
249 The remaining code and documentation in the collective work
250 presented here, as well as the collective work itslf, is
251 distributed under the following terms ("The Rust License"):
252
253     Copyright (c) 2006-2012 Graydon Hoare
254     Copyright (c) 2009-2012 Mozilla Foundation
255
256     Permission is hereby granted, free of charge, to any
257     person obtaining a copy of this software and associated
258     documentation files (the "Software"), to deal in the
259     Software without restriction, including without
260     limitation the rights to use, copy, modify, merge,
261     publish, distribute, sublicense, and/or sell copies of
262     the Software, and to permit persons to whom the Software
263     is furnished to do so, subject to the following
264     conditions:
265
266     The above copyright notice and this permission notice
267     shall be included in all copies or substantial portions
268     of the Software.
269
270     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
271     ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
272     TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
273     PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
274     SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
275     CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
276     OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
277     IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
278     DEALINGS IN THE SOFTWARE.