Skip to content

Commit

Permalink
Add Apache license in addition to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
joelonsql committed Aug 11, 2023
1 parent 7a3b76d commit 07fccc1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
7 changes: 0 additions & 7 deletions LICENSE

This file was deleted.

Empty file added LICENSE-APACHE
Empty file.
23 changes: 23 additions & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions wherr-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
name = "wherr-macro"
version = "0.1.0"
edition = "2021"
authors = ["Joel Jakobsson <[email protected]>"]
categories = ["rust-patterns"]
description = "Enhance Rust error messages with file and line details using the `#[wherr]` macro for clearer debugging."
keywords = ["error", "error-handling"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joelonsql/wherr"

[lib]
proc-macro = true
Expand Down
6 changes: 6 additions & 0 deletions wherr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
name = "wherr"
version = "0.1.0"
edition = "2021"
authors = ["Joel Jakobsson <[email protected]>"]
categories = ["rust-patterns"]
description = "Enhance Rust error messages with file and line details using the `#[wherr]` macro for clearer debugging."
keywords = ["error", "error-handling"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joelonsql/wherr"

[dependencies]
wherr-macro = { path = "../wherr-macro" }

0 comments on commit 07fccc1

Please sign in to comment.