Initial git commit. · rust-lang/rust@c01efc6

7 min read Original article ↗
1+

Short version for non-lawyers:

2+3+

This work licensed under BSD-like terms.

4+5+6+

Long version follows:

7+8+

The collective work presented here includes packages written by third parties.

9+

The following third party packages are included:

10+11+12+

* The ISAAC pseudo random number generation package. Code for this package is

13+

found in the src/rt/isaac directory, within this distribution. This package

14+

is redistributed under the following terms, as noted in its source:

15+16+

By Bob Jenkins, 1996, Public Domain

17+18+19+

* The ACME large integer package. Code for this package is found in

20+

the src/rt/bigint directory, within this distribution. This package

21+

is redistributed under the following terms, as noted in its source:

22+23+

Copyright © 2000 by Jef Poskanzer <jef@mail.acme.com>.

24+

All rights reserved.

25+26+

Redistribution and use in source and binary forms, with or without

27+

modification, are permitted provided that the following conditions

28+

are met:

29+

1. Redistributions of source code must retain the above copyright

30+

notice, this list of conditions and the following disclaimer.

31+

2. Redistributions in binary form must reproduce the above copyright

32+

notice, this list of conditions and the following disclaimer in the

33+

documentation and/or other materials provided with the distribution.

34+35+

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND

36+

ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE

37+

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

38+

ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE

39+

FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

40+

DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS

41+

OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)

42+

HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT

43+

LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY

44+

OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF

45+

SUCH DAMAGE.

46+47+48+

* The UTHASH hash table package. Code for this package is found in the

49+

src/rt/uthash directory within this distribution. This package is

50+

redistributed under the following terms, as noted in its source:

51+52+

Copyright (c) 2003-2009, Troy D. Hanson http://uthash.sourceforge.net

53+

All rights reserved.

54+55+

Redistribution and use in source and binary forms, with or without

56+

modification, are permitted provided that the following conditions are met:

57+58+

* Redistributions of source code must retain the above copyright

59+

notice, this list of conditions and the following disclaimer.

60+61+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS

62+

IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED

63+

TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A

64+

PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER

65+

OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

66+

EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

67+

PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR

68+

PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF

69+

LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING

70+

NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

71+

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

72+73+74+

* Two header files that are part of the Valgrind package. These files are found

75+

at src/rt/valgrind.h and src/rt/memcheck.h, within this distribution. These

76+

files are redistributed under the following terms, as noted in them:

77+78+

for src/rt/valgrind.h:

79+80+

This file is part of Valgrind, a dynamic binary instrumentation

81+

framework.

82+83+

Copyright (C) 2000-2008 Julian Seward. All rights reserved.

84+85+

Redistribution and use in source and binary forms, with or without

86+

modification, are permitted provided that the following conditions

87+

are met:

88+89+

1. Redistributions of source code must retain the above copyright

90+

notice, this list of conditions and the following disclaimer.

91+92+

2. The origin of this software must not be misrepresented; you must

93+

not claim that you wrote the original software. If you use this

94+

software in a product, an acknowledgment in the product

95+

documentation would be appreciated but is not required.

96+97+

3. Altered source versions must be plainly marked as such, and must

98+

not be misrepresented as being the original software.

99+100+

4. The name of the author may not be used to endorse or promote

101+

products derived from this software without specific prior written

102+

permission.

103+104+

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS

105+

OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

106+

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

107+

ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY

108+

DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

109+

DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE

110+

GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS

111+

INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

112+

WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING

113+

NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

114+

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

115+116+

for src/rt/memcheck.h:

117+118+

This file is part of MemCheck, a heavyweight Valgrind tool for

119+

detecting memory errors.

120+121+

Copyright (C) 2000-2009 Julian Seward. All rights reserved.

122+123+

Redistribution and use in source and binary forms, with or without

124+

modification, are permitted provided that the following conditions

125+

are met:

126+127+

1. Redistributions of source code must retain the above copyright

128+

notice, this list of conditions and the following disclaimer.

129+130+

2. The origin of this software must not be misrepresented; you must

131+

not claim that you wrote the original software. If you use this

132+

software in a product, an acknowledgment in the product

133+

documentation would be appreciated but is not required.

134+135+

3. Altered source versions must be plainly marked as such, and must

136+

not be misrepresented as being the original software.

137+138+

4. The name of the author may not be used to endorse or promote

139+

products derived from this software without specific prior written

140+

permission.

141+142+

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS

143+

OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

144+

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

145+

ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY

146+

DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

147+

DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE

148+

GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS

149+

INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

150+

WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING

151+

NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

152+

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

153+154+155+

The remaining code and documentation in the collective work presented here, as

156+

well as the collective work itslf, is distributed under the following terms:

157+158+

Copyright (c) 2006-2010 Graydon Hoare

159+

Copyright (c) 2009-2010 Mozilla Foundation

160+161+

Permission is hereby granted, free of charge, to any person obtaining a copy

162+

of this software and associated documentation files (the "Software"), to deal

163+

in the Software without restriction, including without limitation the rights

164+

to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

165+

copies of the Software, and to permit persons to whom the Software is

166+

furnished to do so, subject to the following conditions:

167+168+

The above copyright notice and this permission notice shall be included in

169+

all copies or substantial portions of the Software.

170+171+

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

172+

IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

173+

FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

174+

AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

175+

LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

176+

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN

177+

THE SOFTWARE.