Skip to content

Commit ae52165

Browse files
author
Ben Leadbetter
committed
feat: adds cargo deny config (passing)
1 parent e46ac36 commit ae52165

File tree

6 files changed

+74
-6
lines changed

6 files changed

+74
-6
lines changed

LICENCE_Unicode-DFS-2016

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
2+
3+
See Terms of Use for definitions of Unicode Inc.'s Data Files and Software.
4+
5+
Unicode Data Files include all data files under the directories
6+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
7+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
8+
http://www.unicode.org/ivd/data/, and
9+
http://www.unicode.org/utility/trac/browser/.
10+
11+
Unicode Data Files do not include PDF online code charts under the directory
12+
http://www.unicode.org/Public/.
13+
14+
Software includes any source code published in the Unicode Standard or under
15+
the directories http://www.unicode.org/Public/,
16+
http://www.unicode.org/reports/, http://www.unicode.org/cldr/data/,
17+
http://source.icu-project.org/repos/icu/, and
18+
http://www.unicode.org/utility/trac/browser/.
19+
20+
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
21+
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA
22+
FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO
23+
BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT
24+
AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR
25+
SOFTWARE.
26+
27+
COPYRIGHT AND PERMISSION NOTICE
28+
29+
Copyright © 1991-2016 Unicode, Inc. All rights reserved. Distributed under the
30+
Terms of Use in http://www.unicode.org/copyright.html.
31+
32+
Permission is hereby granted, free of charge, to any person obtaining a copy
33+
of the Unicode data files and any associated documentation (the "Data Files")
34+
or Unicode software and any associated documentation (the "Software") to deal
35+
in the Data Files or Software without restriction, including without
36+
limitation the rights to use, copy, modify, merge, publish, distribute, and/or
37+
sell copies of the Data Files or Software, and to permit persons to whom the
38+
Data Files or Software are furnished to do so, provided that either
39+
40+
* (a) this copyright and permission notice appear with all copies of the Data Files or Software, or
41+
* (b) this copyright and permission notice appear in associated Documentation.
42+
43+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
44+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD
46+
PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN
47+
THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
48+
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
49+
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
50+
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE
51+
DATA FILES OR SOFTWARE.
52+
53+
Except as contained in this notice, the name of a copyright holder shall not
54+
be used in advertising or otherwise to promote the sale, use or other dealings
55+
in these Data Files or Software without prior written authorization of the
56+
copyright holder.
57+

deny.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[licenses]
2+
allow = ["MIT", "Apache-2.0", "Unicode-DFS-2016"]
3+
4+
[licenses.private]
5+
ignore = true
6+
7+
[bans]
8+
multiple-versions = "deny"
9+
10+
[sources]
11+
unknown-registry = "deny"
12+
unknown-git = "deny"

examples/handling_messages/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "handling_messages"
3-
version = "0.1.0"
3+
publish = false
44
edition = "2021"
55

66
[dependencies]

examples/no_std_dynamic_message_generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "no_std_dynamic_message_generator"
3-
version = "0.1.0"
3+
publish = false
44
edition = "2021"
55

66
[dependencies]

fuzz/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[package]
22
name = "midi2-fuzz"
3-
version = "0.0.0"
43
publish = false
54
edition = "2021"
65

midi2/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ version = "0.7.0"
44
description = "Ergonomic, versatile, strong types wrapping MIDI 2.0 message data."
55
edition = "2021"
66
readme = "README.md"
7-
license = "MIT OR Apache-2.0"
7+
license = "MIT OR Apache-2.0 OR Unicode-DFS-2016"
88
authors = [
99
"Ben Leadbetter <[email protected]>",
1010
]
1111
repository = "https://github.com/midi2-dev/bl-midi2-rs.git"
1212

1313
[dependencies]
14-
derive_more = { version = "0.99.17", features = ["from"], default-features = false }
15-
fixed = "1.27.0"
14+
derive_more = { version = "2.0.1", features = ["from"], default-features = false }
15+
fixed = "1.28.0"
1616
midi2_proc = { version = "0.7.0", path = "../midi2_proc" }
1717
ux = "0.1.6"
1818

0 commit comments

Comments
 (0)