+1
-1
LICENSES/Apache-2.0.txt
+1
-1
LICENSES/Apache-2.0.txt
···
58
58
59
59
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
60
60
61
-
Copyright 2025 Lucas Baumann
61
+
Copyright [yyyy] [name of copyright owner]
62
62
63
63
Licensed under the Apache License, Version 2.0 (the "License");
64
64
you may not use this file except in compliance with the License.
+6
src/lib.rs
+6
src/lib.rs
···
1
+
// SPDX-FileCopyrightText: 2025 Lucas Baumann
2
+
// SPDX-FileCopyrightText: Lucas Baumann
3
+
//
4
+
// SPDX-License-Identifier: Apache-2.0
5
+
// SPDX-License-Identifier: MIT
6
+
1
7
//! Simpler version of the left-right from Jon Gjengset library.
2
8
//!
3
9
//! Uses two copies of the value to allow doing small changes, while still allowing non-blocking reading.