Skip to content

Commit 7336542

Browse files
committed
meta: initial commit
0 parents  commit 7336542

File tree

9 files changed

+360
-0
lines changed

9 files changed

+360
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Summary
2+
3+
<!-- Summarize the bug encountered concisely -->
4+
5+
## Steps to reproduce
6+
7+
<!-- How one can reproduce the issue - this is very important -->
8+
9+
## What is the current bug behavior?
10+
11+
<!-- What actually happens -->
12+
13+
## What is the expected correct behavior?
14+
15+
<!-- What you should see instead -->
16+
17+
## Relevant logs and/or screenshots
18+
19+
<!-- Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as
20+
it's very hard to read otherwise. -->
21+
22+
## Possible fixes
23+
24+
<!-- If you can, link to the line of code that might be responsible for the problem -->
25+
26+
## Related Issues/MRs
27+
28+
<!-- Add links to other issues/MRs here -->
29+
30+
/label ~"type::bug"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Summary
2+
3+
<!-- Add a summary here -->
4+
5+
## Discussion Points
6+
7+
<!-- Add discussion points here -->
8+
9+
## Related Issues/MRs
10+
11+
<!-- Add links to other issues/MRs here -->
12+
13+
/label ~"type::discussion"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Summary
2+
3+
<!-- Insert a summary here -->
4+
5+
## Description
6+
7+
<!-- Insert a description here -->
8+
9+
## Related Issues/MRs
10+
11+
<!-- Add links to other issues/MRs here -->
12+
13+
/label ~"type::documentation"

.gitlab/issue_templates/Misc.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Summary
2+
3+
<!-- Insert a summary here -->
4+
5+
## Description
6+
7+
<!-- Insert a description here -->
8+
9+
/label ~"type::misc"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Summary
2+
3+
<!-- Insert a summary of the new feature here -->
4+
5+
## Description
6+
7+
<!-- Insert a description of the new feature here -->
8+
9+
## Implementation steps
10+
11+
<!-- Insert a description of the possible implementation steps here -->
12+
13+
## Related Issues/MRs
14+
15+
<!-- Add links to other issues/MRs here -->
16+
17+
/label ~"type::feature"

.gitlab/issue_templates/Test.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Summary
2+
3+
<!-- Add a summary here -->
4+
5+
## Description
6+
7+
<!-- Add a description here -->
8+
9+
## Related Issues/MRs
10+
11+
<!-- Add links to other issues/MRs here -->
12+
13+
/label ~"type::test"

CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## CODEOWNERS for autoreview assigning in gitlab
2+
3+
# https://docs.gitlab.com/ee/user/project/code_owners.html
4+
5+
[Maintainers]
6+
* @hdamer

LICENSE

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
Copyright (c) 2021 The NAMIB project contributors, all rights reserved.
2+
3+
This program and the accompanying materials are made available under the
4+
terms of the Eclipse Public License v1.0 and 3-Clause BSD License,
5+
which accompany this distribution.
6+
The Eclipse Public License is also available at http://www.eclipse.org/legal/epl-v10.html
7+
and the 3-Clause BSD License is also available at https://opensource.org/licenses/BSD-3-Clause.
8+
9+
3-Clause BSD License
10+
11+
Copyright 2021 The NAMIB project contributors
12+
13+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
14+
15+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
16+
17+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
18+
19+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
20+
21+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
23+
Eclipse Public License - v 1.0
24+
25+
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
26+
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
27+
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
28+
29+
1. DEFINITIONS
30+
31+
"Contribution" means:
32+
33+
a) in the case of the initial Contributor, the initial code and documentation
34+
distributed under this Agreement, and
35+
36+
b) in the case of each subsequent Contributor:
37+
38+
i) changes to the Program, and
39+
40+
ii) additions to the Program;
41+
42+
where such changes and/or additions to the Program originate from and are
43+
distributed by that particular Contributor. A Contribution 'originates' from
44+
a Contributor if it was added to the Program by such Contributor itself or
45+
anyone acting on such Contributor's behalf. Contributions do not include additions
46+
to the Program which: (i) are separate modules of software distributed in
47+
conjunction with the Program under their own license agreement, and (ii) are
48+
not derivative works of the Program.
49+
50+
"Contributor" means any person or entity that distributes the Program.
51+
52+
"Licensed Patents" mean patent claims licensable by a Contributor which are
53+
necessarily infringed by the use or sale of its Contribution alone or when
54+
combined with the Program.
55+
56+
"Program" means the Contributions distributed in accordance with this Agreement.
57+
58+
"Recipient" means anyone who receives the Program under this Agreement, including
59+
all Contributors.
60+
61+
2. GRANT OF RIGHTS
62+
63+
a) Subject to the terms of this Agreement, each Contributor hereby grants
64+
Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce,
65+
prepare derivative works of, publicly display, publicly perform, distribute
66+
and sublicense the Contribution of such Contributor, if any, and such derivative
67+
works, in source code and object code form.
68+
69+
b) Subject to the terms of this Agreement, each Contributor hereby grants
70+
Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
71+
Patents to make, use, sell, offer to sell, import and otherwise transfer the
72+
Contribution of such Contributor, if any, in source code and object code form.
73+
This patent license shall apply to the combination of the Contribution and
74+
the Program if, at the time the Contribution is added by the Contributor,
75+
such addition of the Contribution causes such combination to be covered by
76+
the Licensed Patents. The patent license shall not apply to any other combinations
77+
which include the Contribution. No hardware per se is licensed hereunder.
78+
79+
c) Recipient understands that although each Contributor grants the licenses
80+
to its Contributions set forth herein, no assurances are provided by any Contributor
81+
that the Program does not infringe the patent or other intellectual property
82+
rights of any other entity. Each Contributor disclaims any liability to Recipient
83+
for claims brought by any other entity based on infringement of intellectual
84+
property rights or otherwise. As a condition to exercising the rights and
85+
licenses granted hereunder, each Recipient hereby assumes sole responsibility
86+
to secure any other intellectual property rights needed, if any. For example,
87+
if a third party patent license is required to allow Recipient to distribute
88+
the Program, it is Recipient's responsibility to acquire that license before
89+
distributing the Program.
90+
91+
d) Each Contributor represents that to its knowledge it has sufficient copyright
92+
rights in its Contribution, if any, to grant the copyright license set forth
93+
in this Agreement.
94+
95+
3. REQUIREMENTS
96+
97+
A Contributor may choose to distribute the Program in object code form under
98+
its own license agreement, provided that:
99+
100+
a) it complies with the terms and conditions of this Agreement; and
101+
102+
b) its license agreement:
103+
104+
i) effectively disclaims on behalf of all Contributors all warranties and
105+
conditions, express and implied, including warranties or conditions of title
106+
and non-infringement, and implied warranties or conditions of merchantability
107+
and fitness for a particular purpose;
108+
109+
ii) effectively excludes on behalf of all Contributors all liability for damages,
110+
including direct, indirect, special, incidental and consequential damages,
111+
such as lost profits;
112+
113+
iii) states that any provisions which differ from this Agreement are offered
114+
by that Contributor alone and not by any other party; and
115+
116+
iv) states that source code for the Program is available from such Contributor,
117+
and informs licensees how to obtain it in a reasonable manner on or through
118+
a medium customarily used for software exchange.
119+
120+
When the Program is made available in source code form:
121+
122+
a) it must be made available under this Agreement; and
123+
124+
b) a copy of this Agreement must be included with each copy of the Program.
125+
126+
Contributors may not remove or alter any copyright notices contained within
127+
the Program.
128+
129+
Each Contributor must identify itself as the originator of its Contribution,
130+
if any, in a manner that reasonably allows subsequent Recipients to identify
131+
the originator of the Contribution.
132+
133+
4. COMMERCIAL DISTRIBUTION
134+
135+
Commercial distributors of software may accept certain responsibilities with
136+
respect to end users, business partners and the like. While this license is
137+
intended to facilitate the commercial use of the Program, the Contributor
138+
who includes the Program in a commercial product offering should do so in
139+
a manner which does not create potential liability for other Contributors.
140+
Therefore, if a Contributor includes the Program in a commercial product offering,
141+
such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
142+
every other Contributor ("Indemnified Contributor") against any losses, damages
143+
and costs (collectively "Losses") arising from claims, lawsuits and other
144+
legal actions brought by a third party against the Indemnified Contributor
145+
to the extent caused by the acts or omissions of such Commercial Contributor
146+
in connection with its distribution of the Program in a commercial product
147+
offering. The obligations in this section do not apply to any claims or Losses
148+
relating to any actual or alleged intellectual property infringement. In order
149+
to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
150+
Contributor in writing of such claim, and b) allow the Commercial Contributor
151+
to control, and cooperate with the Commercial Contributor in, the defense
152+
and any related settlement negotiations. The Indemnified Contributor may participate
153+
in any such claim at its own expense.
154+
155+
For example, a Contributor might include the Program in a commercial product
156+
offering, Product X. That Contributor is then a Commercial Contributor. If
157+
that Commercial Contributor then makes performance claims, or offers warranties
158+
related to Product X, those performance claims and warranties are such Commercial
159+
Contributor's responsibility alone. Under this section, the Commercial Contributor
160+
would have to defend claims against the other Contributors related to those
161+
performance claims and warranties, and if a court requires any other Contributor
162+
to pay any damages as a result, the Commercial Contributor must pay those
163+
damages.
164+
165+
5. NO WARRANTY
166+
167+
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON
168+
AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS
169+
OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
170+
TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
171+
Each Recipient is solely responsible for determining the appropriateness of
172+
using and distributing the Program and assumes all risks associated with its
173+
exercise of rights under this Agreement, including but not limited to the
174+
risks and costs of program errors, compliance with applicable laws, damage
175+
to or loss of data, programs or equipment, and unavailability or interruption
176+
of operations.
177+
178+
6. DISCLAIMER OF LIABILITY
179+
180+
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
181+
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
182+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
183+
LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
184+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
185+
WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
186+
GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
187+
188+
7. GENERAL
189+
190+
If any provision of this Agreement is invalid or unenforceable under applicable
191+
law, it shall not affect the validity or enforceability of the remainder of
192+
the terms of this Agreement, and without further action by the parties hereto,
193+
such provision shall be reformed to the minimum extent necessary to make such
194+
provision valid and enforceable.
195+
196+
If Recipient institutes patent litigation against any entity (including a
197+
cross-claim or counterclaim in a lawsuit) alleging that the Program itself
198+
(excluding combinations of the Program with other software or hardware) infringes
199+
such Recipient's patent(s), then such Recipient's rights granted under Section
200+
2(b) shall terminate as of the date such litigation is filed.
201+
202+
All Recipient's rights under this Agreement shall terminate if it fails to
203+
comply with any of the material terms or conditions of this Agreement and
204+
does not cure such failure in a reasonable period of time after becoming aware
205+
of such noncompliance. If all Recipient's rights under this Agreement terminate,
206+
Recipient agrees to cease use and distribution of the Program as soon as reasonably
207+
practicable. However, Recipient's obligations under this Agreement and any
208+
licenses granted by Recipient relating to the Program shall continue and survive.
209+
210+
Everyone is permitted to copy and distribute copies of this Agreement, but
211+
in order to avoid inconsistency the Agreement is copyrighted and may only
212+
be modified in the following manner. The Agreement Steward reserves the right
213+
to publish new versions (including revisions) of this Agreement from time
214+
to time. No one other than the Agreement Steward has the right to modify this
215+
Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse
216+
Foundation may assign the responsibility to serve as the Agreement Steward
217+
to a suitable separate entity. Each new version of the Agreement will be given
218+
a distinguishing version number. The Program (including Contributions) may
219+
always be distributed subject to the version of the Agreement under which
220+
it was received. In addition, after a new version of the Agreement is published,
221+
Contributor may elect to distribute the Program (including its Contributions)
222+
under the new version. Except as expressly stated in Sections 2(a) and 2(b)
223+
above, Recipient receives no rights or licenses to the intellectual property
224+
of any Contributor under this Agreement, whether expressly, by implication,
225+
estoppel or otherwise. All rights in the Program not expressly granted under
226+
this Agreement are reserved.
227+
228+
This Agreement is governed by the laws of the State of New York and the intellectual
229+
property laws of the United States of America. No party to this Agreement
230+
will bring a legal action under this Agreement more than one year after the
231+
cause of action arose. Each party waives its rights to a jury trial in any
232+
resulting litigation.

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# tinydtls-rs
2+
3+
Rust bindings to the tinydtls library (only raw bindings for now).
4+
5+
## License
6+
7+
Matching the license of the tinydtls C library, this library is made available both under
8+
the terms of the Eclipse Public License v1.0 and 3-Clause BSD License (which the
9+
Eclipse Distribution License v1.0 that is used for tinydtls is based on).
10+
11+
You may choose at your own option which of the two licenses you wish to use. This also
12+
applies to the tinydtls C library, see https://www.eclipse.org/legal/eplfaq.php#DUALLIC
13+
14+
Additionally, the tinydtls C library contains third party code that might be included
15+
in compiled binaries that link to tinydtls.
16+
For information on third-party code and its licenses, see
17+
https://github.com/eclipse/tinydtls/blob/develop/ABOUT.md.
18+
19+
See https://github.com/eclipse/tinydtls/blob/develop/LICENSE for more information.
20+
21+
## Maintainers
22+
23+
This project is currently maintained by the following developers:
24+
25+
| Name | Email Address | GitHub Username |
26+
|:----------:|:--------------------:|:--------------------------------------------:|
27+
| Hugo Hakim Damer | [email protected] | [@pulsastrix](https://github.com/pulsastrix) |

0 commit comments

Comments
 (0)