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