|
| 1 | +/// This is copied from Cargokit (which is the official way to use it currently) |
| 2 | +/// Details: https://fzyzcjy.github.io/flutter_rust_bridge/manual/integrate/builtin |
| 3 | + |
| 4 | +Copyright 2022 Matej Knopp |
| 5 | + |
| 6 | +================================================================================ |
| 7 | + |
| 8 | +MIT LICENSE |
| 9 | + |
| 10 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 11 | +of this software and associated documentation files (the "Software"), to deal |
| 12 | +in the Software without restriction, including without limitation the rights |
| 13 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
| 14 | +of the Software, and to permit persons to whom the Software is furnished to do |
| 15 | +so, subject to the following conditions: |
| 16 | + |
| 17 | +The above copyright notice and this permission notice shall be included in all |
| 18 | +copies or substantial portions of the Software. |
| 19 | + |
| 20 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 21 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 22 | +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS |
| 23 | +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 24 | +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR |
| 25 | +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 26 | + |
| 27 | +================================================================================ |
| 28 | + |
| 29 | +APACHE LICENSE, VERSION 2.0 |
| 30 | + |
| 31 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 32 | +you may not use this file except in compliance with the License. |
| 33 | +You may obtain a copy of the License at |
| 34 | + |
| 35 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 36 | + |
| 37 | +Unless required by applicable law or agreed to in writing, software |
| 38 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 39 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 40 | +See the License for the specific language governing permissions and |
| 41 | +limitations under the License. |
| 42 | + |
0 commit comments