Repository navigation
v0.2.3
🔒 License Compliance: Relicense to GPL-3.0 and Add Proper Attribution
Summary
This PR addresses licensing compliance by relicensing the project from MIT to GPL-3.0-only and adding proper attribution to the original author, Daniel López Azaña (@daniloaz), whose lightstreamer-client project served as the foundation for portions of this codebase.
Changes Made
1. License Update 📄
- ✅ Replaced MIT LICENSE with full GPL-3.0 text
- ✅ Updated Cargo.toml license field to
GPL-3.0-only - ✅ Updated README.md license badge and section
- ✅ Created NOTICE file documenting code derivation
2. Attribution & Copyright Notices 👥
- ✅ Added Daniel López Azaña as co-author in Cargo.toml
- ✅ Added attribution section in README.md and lib.rs documentation
- ✅ Added GPL-3.0 copyright headers to all derived source files:
- src/lib.rs
- src/subscription/item_update.rs (specifically mentioned in issue #2)
- src/subscription/listener.rs
- src/subscription/model.rs
- src/subscription/mod.rs
- src/client/mod.rs
- src/connection/mod.rs
3. Bug Fixes 🐛
- ✅ Fixed clippy error in src/utils/util.rs: Changed
chars().enumerate()tochar_indices()for proper UTF-8 string indexing
4. New Features ✨
- ✅ Added ChannelSubscriptionListener for async update processing via tokio channels
- ✅ Improved cross-platform signal handling (Unix + Windows support)
- ✅ Enhanced documentation with Quick Start and Advanced Usage examples
- ✅ Added workspace configuration for examples
Compliance
This change ensures full compliance with GPL-3.0 requirements for derivative works:
- ✅ Retains GPL-3.0 license as required
- ✅ Provides proper attribution to original author
- ✅ Includes copyright notices in source files
- ✅ Links to original project
Acknowledgment
We are grateful to Daniel López Azaña for his pioneering work in bringing Lightstreamer support to the Rust ecosystem. This project builds upon his excellent foundation while extending functionality and maintaining the open-source spirit through GPL-3.0.
Resolves: #2
Testing
- ✅
cargo checkpasses - ✅
cargo docgenerates documentation successfully - ✅ All existing tests pass
- ✅ New tests added for ChannelSubscriptionListener