diff --git a/Cargo.toml b/Cargo.toml index afe9084..a558de1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "ez-urandom" version = "0.1.0" edition = "2024" +license = "MIT-0" [dependencies] paste = "1" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d71bf9a --- /dev/null +++ b/LICENSE @@ -0,0 +1,5 @@ +Copyright 2026 ddidderr + +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. + +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. diff --git a/src/lib.rs b/src/lib.rs index 59b9cc9..8c10ae3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT-0 + //! Easy access to operating-system randomness via `/dev/urandom`. //! //! The crate exposes [`OsRandom`], a small wrapper around an open handle to