Skip to content

Commit 4f1495f

Browse files
committed
chore: update rust crates to use MIT license
1 parent 4d2d334 commit 4f1495f

File tree

5 files changed

+21
-15
lines changed

5 files changed

+21
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Node 18+ is required for local development.
179179
- `loro-protocol`: MIT
180180
- `loro-websocket`: MIT
181181
- `loro-adaptors`: MIT
182-
- Rust workspace crates under `rust/`: AGPL-3.0-only
182+
- Rust workspace crates under `rust/`: MIT
183183

184184
## Project Structure
185185

rust/LICENSE

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
GNU Affero General Public License v3.0 (AGPL-3.0-only)
1+
MIT License
22

3-
This Rust workspace is licensed under the GNU Affero General Public License version 3 only.
3+
Copyright (c) 2025 Loro Protocol Contributors
44

5-
Applies to crates:
6-
- loro-protocol
7-
- loro-websocket-client
8-
- loro-websocket-server
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
911

10-
SPDX-License-Identifier: AGPL-3.0-only
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1114

12-
Full license text:
13-
https://www.gnu.org/licenses/agpl-3.0.txt
14-
15-
For convenience, you may obtain a local copy of the license text at the above URL.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

rust/loro-protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "loro-protocol"
33
version = "0.1.0"
44
edition = "2021"
55
description = "Rust implementation of the Loro Syncing Protocol encoder/decoder"
6-
license = "AGPL-3.0-only"
6+
license = "MIT"
77
repository = "https://example.com/"
88
readme = false
99

rust/loro-websocket-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "loro-websocket-client"
33
version = "0.1.0"
44
edition = "2021"
55
description = "Async WebSocket client for the Loro protocol"
6-
license = "AGPL-3.0-only"
6+
license = "MIT"
77

88
[lib]
99
name = "loro_websocket_client"

rust/loro-websocket-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "loro-websocket-server"
33
version = "0.1.0"
44
edition = "2021"
55
description = "Simple async WebSocket server skeleton for the Loro protocol"
6-
license = "AGPL-3.0-only"
6+
license = "MIT"
77

88
[lib]
99
name = "loro_websocket_server"

0 commit comments

Comments
 (0)