launchbadge / realworld-axum-sqlx

A Rust implementation of the Realworld demo app spec using Axum and SQLx.
GNU Affero General Public License v3.0
803 stars 82 forks source link

MIT compatible license? #8

Open kevinbader opened 2 years ago

kevinbader commented 2 years ago

This repository is a great source for best practices. It'd be cool to re-use some parts of it as-is, like the SQL function for adding the set_updated_at trigger. However, the license is quite restrictive; I'm definitely not a license expert, but it appears to me I can't copy over that trigger into my MIT licensed FOSS project.

I realize this might be intended, but on the other hand being a source to copy from might also just be the reason this repo exists. So I'm curious :)

JonasKs commented 1 year ago

I agree, this license seems very restrictive for the nature of this project, @abonander? 😊

JonasKs commented 1 year ago

I see the license was set because of this:

The main concern was someone taking it and using it as the base for a proprietary project, so a copyleft license made sense to us.

Weird, considering their sqlx is MIT licensed, but not this, which is literally intended as inspiration/for teaching purposes 😁