From a68e4e4ad2a6f0ae718f85c9367b36d2207f18da Mon Sep 17 00:00:00 2001
From: Alexander Koz
Date: Sun, 10 Sep 2023 20:26:27 +0400
Subject: [PATCH] add license to crate-manifests
---
api/color/Cargo.toml | 3 ++-
api/color/src/lib.rs | 2 +-
api/ctrl/Cargo.toml | 1 +
api/fs/Cargo.toml | 1 +
api/gfx/Cargo.toml | 1 +
api/menu/Cargo.toml | 1 +
api/sound/Cargo.toml | 1 +
api/sys/Cargo.toml | 1 +
8 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/api/color/Cargo.toml b/api/color/Cargo.toml
index 8d6b953d..0387d178 100644
--- a/api/color/Cargo.toml
+++ b/api/color/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level color API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
@@ -32,7 +33,7 @@ bindings-documentation = ["sys/bindings-documentation"]
[dependencies.sys]
-path = "../sys"
version = "0.1"
+path = "../sys"
package = "playdate-sys"
default-features = false
diff --git a/api/color/src/lib.rs b/api/color/src/lib.rs
index 4b41aba6..63ed6197 100644
--- a/api/color/src/lib.rs
+++ b/api/color/src/lib.rs
@@ -2,7 +2,7 @@
#![feature(const_trait_impl)]
#![feature(impl_trait_in_assoc_type)]
-pub extern crate sys;
+extern crate sys;
use sys::ffi::LCDColor;
use sys::ffi::LCDPattern;
use sys::ffi::LCDSolidColor;
diff --git a/api/ctrl/Cargo.toml b/api/ctrl/Cargo.toml
index 751dd8d3..c809f66b 100644
--- a/api/ctrl/Cargo.toml
+++ b/api/ctrl/Cargo.toml
@@ -6,6 +6,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level controls API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
diff --git a/api/fs/Cargo.toml b/api/fs/Cargo.toml
index 2f013a05..573aaac2 100644
--- a/api/fs/Cargo.toml
+++ b/api/fs/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level file-system API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
diff --git a/api/gfx/Cargo.toml b/api/gfx/Cargo.toml
index b74b9049..8ee79a7d 100644
--- a/api/gfx/Cargo.toml
+++ b/api/gfx/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level graphics API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
diff --git a/api/menu/Cargo.toml b/api/menu/Cargo.toml
index c78cdd59..390f473c 100644
--- a/api/menu/Cargo.toml
+++ b/api/menu/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level system menu API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
diff --git a/api/sound/Cargo.toml b/api/sound/Cargo.toml
index b38ed88f..7a8530ac 100644
--- a/api/sound/Cargo.toml
+++ b/api/sound/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "High-level sound API built on-top of Playdate API"
homepage = "https://github.com/boozook/playdate"
diff --git a/api/sys/Cargo.toml b/api/sys/Cargo.toml
index a372f2b9..9a0a0d30 100644
--- a/api/sys/Cargo.toml
+++ b/api/sys/Cargo.toml
@@ -6,6 +6,7 @@ build = "src/build.rs"
include = ["gen/*.rs"]
readme = "README.md"
+license = "MIT OR Apache-2.0"
authors = ["Alex Koz "]
description = "Low-level Playdate API bindings"
keywords = ["playdate", "bindings", "ffi", "gamedev"]