Skip to content

Commit 8e4f1d5

Browse files
committed
prepare for publishing iup-sys on crates.io
1 parent fce9b81 commit 8e4f1d5

File tree

5 files changed

+74
-3
lines changed

5 files changed

+74
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.bak
12
*.swp
23
target/
34
Cargo.lock

iup-sys/Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[package]
2-
name = "iup-sys"
3-
description = "Raw IUP bindings for Rust used internally by iup-rust"
4-
version = "0.0.1"
52
authors = ["David Campbell <[email protected]>"]
63
build = "build.rs"
4+
description = "Raw IUP bindings for Rust"
5+
homepage = "https://github.com/dcampbell24/iup-rust/tree/master/iup-sys"
6+
keywords = ["bindings", "gui", "iup"]
7+
license = "MIT"
78
links = "IUP"
9+
name = "iup-sys"
10+
repository = "https://github.com/dcampbell24/iup-rust/tree/master/iup-sys"
11+
version = "0.0.1"
812

913
[lib]
1014
name = "iup_sys"

iup-sys/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 David Campbell
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

iup-sys/LICENSE-TECGRAF

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
The Tecgraf products under this license are: IUP, CD and IM.
2+
3+
All the products under this license are free software: they can be used for
4+
both academic and commercial purposes at absolutely no cost. There are no
5+
paperwork, no royalties, no GNU-like "copyleft" restrictions, either. Just
6+
download and use it. They are licensed under the terms of the MIT license
7+
reproduced below, and so are compatible with GPL and also qualifies as Open
8+
Source software. They are not in the public domain, PUC-Rio keeps their
9+
copyright. The legal details are below.
10+
11+
The spirit of this license is that you are free to use the libraries for any
12+
purpose at no cost without having to ask us. The only requirement is that if
13+
you do use them, then you should give us credit by including the copyright
14+
notice below somewhere in your product or its documentation. A nice, but
15+
optional, way to give us further credit is to include a Tecgraf logo and a
16+
link to our site in a web page for your product.
17+
18+
The libraries are designed, implemented and maintained by a team at
19+
Tecgraf/PUC-Rio in Brazil. The implementation is not derived from licensed
20+
software. The library was developed by request of Petrobras. Petrobras
21+
permits Tecgraf to distribute the library under the conditions here
22+
presented.
23+
24+
Copyright © 1994-2015 Tecgraf, PUC-Rio.
25+
26+
Permission is hereby granted, free of charge, to any person obtaining a copy
27+
of this software and associated documentation files (the "Software"), to
28+
deal in the Software without restriction, including without limitation the
29+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
30+
sell copies of the Software, and to permit persons to whom the Software is
31+
furnished to do so, subject to the following conditions:
32+
33+
The above copyright notice and this permission notice shall be included in
34+
all copies or substantial portions of the Software.
35+
36+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
42+
IN THE SOFTWARE.

iup-sys/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// This file is based on iup.h. If you update this file, please follow the same
1212
// formatting and ordering as found in iup.h to make comparison easy.
1313

14+
// The IUP library this header file is derived from is a Tecgraf product under a MIT style license.
15+
// See LICENSE-TECGRAF for the full license.
16+
1417
// #include "iupkey.h"
1518
// #include "iupdef.h"
1619

0 commit comments

Comments
 (0)