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
//! `uwu-types` adds some UwU and OwO for your Rust code.
//!
//! This crate was inspired by 
//! [this tweet](https://twitter.com/thingskatedid/status/1404610732348477441) 
//! from [@thingskatedid](https://twitter.com/thingskatedid).
//!
//! Special credits to:
//!  - [@mycoliza](https://twitter.com/mycoliza)
//!    - Inspired the `uwusize` type
//!  - [@pH_0x05](https://twitter.com/pH_0x05)
//!    - Inspired the `owo` types for signed numbers
//!  - [@anotherwalther](https://twitter.com/anotherwalther)
//!    - Inspired the `kate!()` macro

#![no_std]

/// The 8-bit unsigned integer type
#[allow(non_camel_case_types)]
pub type uwu8 = u8;

/// The 16-bit unsigned integer type
#[allow(non_camel_case_types)]
pub type uwu16 = u16;

/// The 32-bit unsigned integer type
#[allow(non_camel_case_types)]
pub type uwu32 = u32;

/// The 64-bit unsigned integer type
#[allow(non_camel_case_types)]
pub type uwu64 = u64;

/// The 128-bit unsigned integer type
#[allow(non_camel_case_types)]
pub type uwu128 = u128;

/// The pointer-sized unsigned integer type.
///
/// The size of this primitive is how many bytes it takes to reference 
/// any location in memory. For example, on a 32 bit target, this is 4 bytes 
/// and on a 64 bit target, this is 8 bytes.
#[allow(non_camel_case_types)]
pub type uwusize = usize;

/// The 8-bit signed integer type
#[allow(non_camel_case_types)]
pub type owo8 = i8;

/// The 16-bit signed integer type
#[allow(non_camel_case_types)]
pub type owo16 = i16;

/// The 32-bit signed integer type
#[allow(non_camel_case_types)]
pub type owo32 = i32;

/// The 64-bit signed integer type
#[allow(non_camel_case_types)]
pub type owo64 = i64;

/// The 128-bit signed integer type
#[allow(non_camel_case_types)]
pub type owo128 = i128;

/// Print "Kate!" to the console
#[macro_export]
macro_rules! kate {
    () => {
        println!("Kate!");
    };
}