Sebastian Dröge
|
3db8882ce8
|
Pass Urls directly to the Source/Sink implementations instead of having them handle strings
|
2016-05-24 23:24:05 +03:00 |
|
Sebastian Dröge
|
5cc890cc04
|
Add comments about which Source/Sink methods are called from which threads
Source::get_size() / ::is_seekable() implementations need to be made
thread-safe still.
|
2016-05-23 21:35:03 +03:00 |
|
Sebastian Dröge
|
5673201400
|
Remove pointless cloning of URI in ::get_uri()
|
2016-05-22 16:29:25 +03:00 |
|
Sebastian Dröge
|
ca4fa82ffe
|
Make it an requirement to implement Source::do_seek()
|
2016-05-22 16:23:43 +03:00 |
|
Sebastian Dröge
|
acc7d2ea26
|
Use Option<&str> instead of &Option<&str> for set_uri()
This seems more ergonomic to use, and is more common in other libraries.
|
2016-05-18 11:39:37 +03:00 |
|
Sebastian Dröge
|
b8a031c29b
|
Use Option<&str> instead of Option<String> for set_uri()
There is no reason to require a heap-allocated String here.
|
2016-05-18 11:29:57 +03:00 |
|
Sebastian Dröge
|
546d67fa5a
|
Add license and copyright notices
|
2016-05-15 18:54:09 +03:00 |
|
Sebastian Dröge
|
400696fbf8
|
Minor cleanup and make mutability more restricted
|
2016-05-15 17:43:13 +03:00 |
|
Sebastian Dröge
|
e43f247be3
|
Fix various compiler warnings
|
2016-05-15 17:34:13 +03:00 |
|
Sebastian Dröge
|
79aed66914
|
Require Sync and Send traits to be implemented for Sources
|
2016-05-15 11:55:52 +03:00 |
|
Sebastian Dröge
|
fdab33f01b
|
Map do_seek()
To be used in the HTTP source at some point
|
2016-05-14 17:57:25 +03:00 |
|
Sebastian Dröge
|
4d989404b0
|
Move stuff around into different modules
|
2016-05-14 14:44:49 +03:00 |
|