From 2819bf25eeff8ac8653911c8631ae2a282137b0e Mon Sep 17 00:00:00 2001 From: Ilya Averyanov Date: Fri, 3 Sep 2021 14:27:11 +0300 Subject: [PATCH 1/2] Update license --- LICENSE | 1 + README.md | 11 ++++------- libusb1-sys/LICENSE | 1 + libusb1-sys/README.md | 2 -- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 19f28b1..cf8ea43 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,5 @@ Copyright (c) 2015 David Cuddeback + 2019 Ilya Averyanov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index ee0ccc0..aabf8ef 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,9 @@ fn main() { } ``` -## Contributors -* [dcuddeback](https://github.com/dcuddeback) -* [nibua-r](https://github.com/nibua-r) -* [kevinmehall](https://github.com/kevinmehall) - ## License -Copyright © 2015 David Cuddeback - Distributed under the [MIT License](LICENSE). + +### License note. +If you link native `libusb` (by example using `vendored` features) library statically then +you must follow [GNU LGPL](https://github.com/libusb/libusb/blob/master/COPYING) from libusb. diff --git a/libusb1-sys/LICENSE b/libusb1-sys/LICENSE index 19f28b1..cf8ea43 100644 --- a/libusb1-sys/LICENSE +++ b/libusb1-sys/LICENSE @@ -1,4 +1,5 @@ Copyright (c) 2015 David Cuddeback + 2019 Ilya Averyanov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/libusb1-sys/README.md b/libusb1-sys/README.md index 4d757ca..48eb3a1 100644 --- a/libusb1-sys/README.md +++ b/libusb1-sys/README.md @@ -86,8 +86,6 @@ help is the information already available for `libusb`: ## License -Copyright © 2015 David Cuddeback - Distributed under the [MIT License](LICENSE). ### License note. From 17b9c69af591d38033899fe55d0c24d9687754af Mon Sep 17 00:00:00 2001 From: Ilya Averyanov Date: Thu, 2 Sep 2021 19:14:41 +0300 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 19 +++++++++++++++++++ libusb1-sys/CHANGELOG.md | 6 ++++++ 2 files changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a60142..d32d3c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,28 @@ ## Unreleased * Re-export libusb1-sys as ffi [#75] * impl Debug for DeviceHandle [#78] +* Add bind to libusb_get_next_timeout [#95] +* Add DeviceHandle::into_raw() [#97] +* Improve read_string_descriptor [#99] +* Derive Debug for Context [#103] +* Implement Clone for Device [#104] +* Add Context::interrupt_handle_events() [#101] +* context: add open_device_with_fd() [#106] +* Rewrite hotplug registration. Add `HotplugBuilder` [#110]. And rewrite [#72] +* ConfigDescriptor and InterfaceDescriptor extra return just slice [#111] +[#72]: https://github.com/a1ien/rusb/pull/72 [#75]: https://github.com/a1ien/rusb/pull/75 [#78]: https://github.com/a1ien/rusb/pull/78 +[#95]: https://github.com/a1ien/rusb/pull/95 +[#97]: https://github.com/a1ien/rusb/pull/97 +[#99]: https://github.com/a1ien/rusb/pull/99 +[#101]: https://github.com/a1ien/rusb/pull/101 +[#103]: https://github.com/a1ien/rusb/pull/103 +[#104]: https://github.com/a1ien/rusb/pull/104 +[#106]: https://github.com/a1ien/rusb/pull/106 +[#110]: https://github.com/a1ien/rusb/pull/110 +[#111]: https://github.com/a1ien/rusb/pull/111 ## 0.8.1 * Add getters for bRefresh and bSynchAddress [#61] diff --git a/libusb1-sys/CHANGELOG.md b/libusb1-sys/CHANGELOG.md index d03b163..d208b47 100644 --- a/libusb1-sys/CHANGELOG.md +++ b/libusb1-sys/CHANGELOG.md @@ -4,6 +4,12 @@ ## Unreleased * Allow null function pointers for libusb_set_log_cb() [#74] * Allow null function pointers for libusb_set_pollfd_notifiers() [#71] +* Fix building of recent libusb on macOS [#108] +* Ignore vendored feature on FreeBSD [#109] +* Update definitions [#112] [#74]: https://github.com/a1ien/rusb/pull/74 [#71]: https://github.com/a1ien/rusb/pull/71 +[#108]: https://github.com/a1ien/rusb/pull/108 +[#109]: https://github.com/a1ien/rusb/pull/109 +[#112]: https://github.com/a1ien/rusb/pull/112