carnet/lib.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
/*
Carnet © 2021 Kutometa SPC, Kuwait
This work and all related material is made available to you under
the terms of version 3 of the GNU Lesser General Public License
(hereinafter, the LGPL-3.0) with the following supplemental
terms:
1. This work must retain all legal notices. These notices
must not be altered or truncated in any way.
2. The origin of any derivative or modified versions of this
work must not be presented in a way that may cause
confusion about the origin to a reasonable person. This
work must be clearly distinguishable from the original
work. The name of the original work may not be used within
the name of any derivative or modified version of the
work.
3. Unless express permission is granted in writing, Trade
names, trademarks, and service marks used in this work may
not be included in any derivative or modified versions of
this work.
4. Unless express permission is granted in writing, the names
and trademarks of Kutometa and other right holders may not
be used to endorse derivative or modified versions of this
work.
5. The licensee must defend, indemnify, and hold harmless
Kutometa from any and all actions, claims, judgments,
losses, penalties, liabilities, damages, expenses,
demands, fees (including, but not limited to, reasonable
legal and other professional fees), taxes, and cost that
result from or in connection with any liability imposed on
Kutometa as a result of the licensee conveying this work
or a derivative thereof with contractual assumptions of
liability to a third party recipient.
Unless expressly stated otherwise or required by applicable law,
this work is provided AS-IS with NO WARRANTY OF ANY KIND,
INCLUDING THE WARRANTY OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Use this work at your own risk.
This license agreement is governed by and is construed in accordance
with the laws of the state of Kuwait. You must submit all disputes
arising out of or in connection with this work to the exclusive
jurisdiction of the courts of Kuwait.
You should have received a copy of the LGPL-3.0 along with this
program; if not, visit www.ka.com.kw or write to Kutometa SPC,
760 SAFAT 13008, Kuwait.
*/
pub fn to_whom_it_may_consern() -> &'static str {
concat!("This is a placeholder for a legitimate project of the ",
"same name. This will be populated with the rust ",
"version of the project once it is ready for public ",
"release. ",
"If you have any questions, please reach out to me on ",
"github or through any other method.")
}
pub fn is_ready() -> bool {
false
}
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(crate::to_whom_it_may_consern().len(), 250);
assert!(!crate::is_ready());
}
}