Hi,

The Tokio version used is under the MIT license, so those files can't be used 
under ALv2. MIT code can ship in an ALv2 release but it stays MIT, and the 
copyright and permission notice have to come with it under teh terms of that 
license. [1]

On reimplementation, that doesn't hold for mutex and rwlock. mutex/mod.rs, 
rwlock/mod.rs and the eight guard files carry Tokio's doc comments word for 
word, for example "The priority policy of this read-write lock is fair (or 
[write-preferring])" and "if unused the Mutex will immediately unlock". A 
reimplementation doesn't reproduce the upstream text. It may well be true for 
semaphore, once_cell, oneshot and atomic_waker, as I couldn't find any Tokio or 
futures-rs text in those.

If fastpool is your code that's fine, but can you confirm you're the sole 
copyright holder? Any other contributor's copyright isn't yours to grant. It 
needs a LICENSE entry either way. Also fastpool's README calls it a 
reimplementation of deadpool, while HISTORY.md says pool is ported from 
fastpool which is derived from deadpool. One of those should change.

There isn't a co-existing header in ASF policy. The ASF header doesn't go on 
files the ASF doesn't own, and modified third-party files keep the original 
header with the modification noted. Where the ASF does hold copyright in a 
derivative you can have the ASF header with an attribution notice, but that's a 
per-file call based on how much of the original is left and teh bar should be 
very high. [2]

Knowing where the code comes from is the part I'd like written down. 
HISTORY.md's list didn't make it into LICENSE, so HISTORY.md being complete 
doesn't help much on its own. If you know the provenance, please put the full 
list in LICENSE rather than just what HISTORY.md mentions. Note that I had 
mentioned futures-rs and that did not appear in the HISTORY file in this RC.

Kind regards,
Justin

1. https://infra.apache.org/licensing-howto.html#permissive-deps
2. https://www.apache.org/legal/src-headers.html#3party


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to