Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Add Zlib license
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull committed Mar 17, 2023
1 parent cbf0cc8 commit 64e1dfa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
name = "window-handle"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0 OR Zlib"
authors = ["John Nunley <jtnunley01@gmail.com>"]
description = "Medium-rare window handles for GUI applications"
repository = "https://github.com/notgull/window-handle"
keywords = ["windowing"]
readme = "README.md"
documentation = "https://docs.rs/window-handle"
rust-version = "1.64"

[dependencies]
raw-window-handle = { version = "0.5.1", default-features = false }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
11 changes: 11 additions & 0 deletions LICENSE-ZLIB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright (c) 2020 Osspial

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT OR Apache-2.0 OR Zlib
//! Medium-rare window handles for Rust windowing applications.
//!
//! While the [`raw-window-handle`] crate provides a cross-platform
Expand All @@ -10,7 +11,12 @@
//! [`raw-window-handle`]: https://crates.io/crates/raw-window-handle

#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(missing_docs)]
#![deny(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
rust_2018_idioms
)]
#![no_std]

use core::fmt;
Expand Down

0 comments on commit 64e1dfa

Please sign in to comment.