├── .gitignore ├── 1 - Presentation └── DEVCON 2024 - Rust는 어떻게 안전한 프로그래밍을 이뤄내는가.pdf ├── 2 - Example ├── 01_ownership.cpp ├── 01_ownership.rs ├── 02_borrowing.rs ├── 03_lifetime.rs ├── 04_struct.rs ├── 05_trait.rs ├── 06_trait_object.rs ├── 07_type_conversion.rs ├── 08_enum.rs ├── 09_option.rs ├── 10_result.rs ├── 11_pattern_matching.rs ├── 12_copy_and_clone.cpp ├── 12_copy_and_clone.rs ├── 13_f64_sort.rs ├── 14_closure.rs ├── 15_concurrency_1.rs ├── 16_concurrency_2.rs └── 17_macro.rs ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | debug/ 4 | target/ 5 | 6 | # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries 7 | # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html 8 | Cargo.lock 9 | 10 | # These are backup files generated by rustfmt 11 | **/*.rs.bk 12 | 13 | # MSVC Windows builds of rustc generate these, which store debugging information 14 | *.pdb 15 | 16 | # RustRover 17 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can 18 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 19 | # and can be added to the global gitignore or merged into this file. For a more nuclear 20 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 21 | #.idea/ -------------------------------------------------------------------------------- /1 - Presentation/DEVCON 2024 - Rust는 어떻게 안전한 프로그래밍을 이뤄내는가.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utilForever/2024-DEVCON-Rust-Safety/6622f3fca89231a8926631ad6345c9b12166377f/1 - Presentation/DEVCON 2024 - Rust는 어떻게 안전한 프로그래밍을 이뤄내는가.pdf -------------------------------------------------------------------------------- /2 - Example/01_ownership.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void f(std::string s) 5 | { 6 | s += ", world!"; 7 | } 8 | 9 | int main() 10 | { 11 | std::string s = "Hello"; 12 | 13 | f(s); 14 | 15 | // s = "Hello" 16 | std::cout << s << '\n'; 17 | 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /2 - Example/01_ownership.rs: -------------------------------------------------------------------------------- 1 | fn f(mut s: String) { 2 | s.push_str(", world!"); 3 | } 4 | 5 | fn main() { 6 | let mut s = String::from("Hello"); 7 | 8 | // s is moved to f 9 | f(s); 10 | 11 | // Error: value used here after move 12 | // println!("{s}"); 13 | } 14 | -------------------------------------------------------------------------------- /2 - Example/02_borrowing.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let mut a = 10; 3 | let b = &a; 4 | 5 | // Error: cannot borrow `a` as mutable because it is also borrowed as immutable 6 | { 7 | let c = &mut a; 8 | *c = 20; 9 | } 10 | 11 | println!("a : {a}"); 12 | println!("b : {b}"); 13 | } 14 | -------------------------------------------------------------------------------- /2 - Example/03_lifetime.rs: -------------------------------------------------------------------------------- 1 | #[derive(Debug)] 2 | struct Number(i32); 3 | 4 | // fn min(a: &Number, b: &Number) -> &Number { 5 | // if a.0 < b.0 { 6 | // a 7 | // } else { 8 | // b 9 | // } 10 | // } 11 | 12 | fn min<'a>(a: &'a Number, b: &'a Number) -> &'a Number { 13 | if a.0 < b.0 { 14 | a 15 | } else { 16 | b 17 | } 18 | } 19 | 20 | fn main() { 21 | let num1 = Number(5); 22 | let num2 = Number(24); 23 | let num3 = min(&num1, &num2); 24 | 25 | println!("num3: {num3:?}"); 26 | } 27 | -------------------------------------------------------------------------------- /2 - Example/04_struct.rs: -------------------------------------------------------------------------------- 1 | struct Player { 2 | name: String, 3 | level: i32, 4 | hp: i32, 5 | mp: i32, 6 | } 7 | 8 | impl Player { 9 | fn increase_level(&mut self) { 10 | self.level += 1; 11 | self.hp += 10; 12 | self.mp += 5; 13 | } 14 | } 15 | 16 | fn main() { 17 | let mut player = Player { 18 | name: String::from("Chris"), 19 | level: 1, 20 | hp: 100, 21 | mp: 50, 22 | }; 23 | 24 | player.increase_level(); 25 | 26 | println!("Player: {}", player.name); 27 | println!("Level: {}", player.level); 28 | println!("HP: {}", player.hp); 29 | println!("MP: {}", player.mp); 30 | } 31 | -------------------------------------------------------------------------------- /2 - Example/05_trait.rs: -------------------------------------------------------------------------------- 1 | trait Moveable { 2 | fn move_to(&mut self, x: i32, y: i32); 3 | } 4 | 5 | struct Player { 6 | name: String, 7 | level: i32, 8 | hp: i32, 9 | mp: i32, 10 | stamina: i32, 11 | } 12 | 13 | struct Pet { 14 | name: String, 15 | level: i32, 16 | exp: i32, 17 | } 18 | 19 | impl Moveable for Player { 20 | fn move_to(&mut self, x: i32, y: i32) { 21 | if self.stamina <= 0 { 22 | println!("Not enough stamina to move"); 23 | return; 24 | } 25 | 26 | self.stamina -= 1; 27 | println!("Moving player to ({x}, {y})"); 28 | } 29 | } 30 | 31 | impl Moveable for Pet { 32 | fn move_to(&mut self, x: i32, y: i32) { 33 | self.exp += 1; 34 | println!("Moving pet to ({x}, {y})"); 35 | } 36 | } 37 | 38 | fn main() { 39 | let mut player = Player { 40 | name: String::from("Chris"), 41 | level: 1, 42 | hp: 100, 43 | mp: 50, 44 | stamina: 100, 45 | }; 46 | 47 | let mut pet = Pet { 48 | name: String::from("Dog"), 49 | level: 1, 50 | exp: 0, 51 | }; 52 | 53 | player.move_to(10, 20); 54 | pet.move_to(5, 5); 55 | 56 | println!("Player stamina: {}", player.stamina); 57 | println!("Pet exp: {}", pet.exp); 58 | } -------------------------------------------------------------------------------- /2 - Example/06_trait_object.rs: -------------------------------------------------------------------------------- 1 | trait Moveable { 2 | fn move_to(&mut self, x: i32, y: i32); 3 | } 4 | 5 | struct Player { 6 | name: String, 7 | level: i32, 8 | hp: i32, 9 | mp: i32, 10 | stamina: i32, 11 | } 12 | 13 | struct Pet { 14 | name: String, 15 | level: i32, 16 | exp: i32, 17 | } 18 | 19 | impl Moveable for Player { 20 | fn move_to(&mut self, x: i32, y: i32) { 21 | if self.stamina <= 0 { 22 | println!("Not enough stamina to move"); 23 | return; 24 | } 25 | 26 | self.stamina -= 1; 27 | println!("Moving player to ({x}, {y})"); 28 | } 29 | } 30 | 31 | impl Moveable for Pet { 32 | fn move_to(&mut self, x: i32, y: i32) { 33 | self.exp += 1; 34 | println!("Moving pet to ({x}, {y})"); 35 | } 36 | } 37 | 38 | fn main() { 39 | let mut objects = vec![ 40 | Box::new(Player { 41 | name: String::from("Chris"), 42 | level: 1, 43 | hp: 100, 44 | mp: 50, 45 | stamina: 100, 46 | }) as Box, 47 | Box::new(Pet { 48 | name: String::from("Dog"), 49 | level: 1, 50 | exp: 0, 51 | }) as Box, 52 | ]; 53 | 54 | for object in objects.iter_mut() { 55 | object.move_to(10, 20); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /2 - Example/07_type_conversion.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let a = 10; 3 | let b = 30.4; 4 | 5 | // Error: mismatched types 6 | // let c = a + b; 7 | 8 | // Use exlicit type conversion 9 | let c = a as f64 + b; 10 | 11 | println!("{c}"); 12 | } 13 | -------------------------------------------------------------------------------- /2 - Example/08_enum.rs: -------------------------------------------------------------------------------- 1 | enum Status { 2 | Idle, 3 | Run(i32), 4 | Attack { damage: i32 }, 5 | Defend { defense: i32 }, 6 | } 7 | 8 | fn main() { 9 | let mut status = Status::Idle; 10 | status = Status::Run(10); 11 | status = Status::Attack { damage: 20 }; 12 | status = Status::Defend { defense: 5 }; 13 | } 14 | -------------------------------------------------------------------------------- /2 - Example/09_option.rs: -------------------------------------------------------------------------------- 1 | // enum Option { 2 | // Some(T), 3 | // None, 4 | // } 5 | 6 | fn main() { 7 | let x: Option = Some(5); 8 | let y: Option = None; 9 | 10 | println!("{:?}", x); 11 | println!("{:?}", y); 12 | 13 | println!("{}", x.unwrap_or(0)); 14 | 15 | match y { 16 | Option::Some(v) => println!("Value: {}", v), 17 | Option::None => println!("No value"), 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /2 - Example/10_result.rs: -------------------------------------------------------------------------------- 1 | // enum Result { 2 | // Ok(T), 3 | // Err(E), 4 | // } 5 | 6 | fn square_if_even(num: i32) -> Result { 7 | if num % 2 == 0 { 8 | Ok(num * num) 9 | } else { 10 | Err(String::from("Not even")) 11 | } 12 | } 13 | 14 | fn main() { 15 | let num1 = 4; 16 | let num2 = 5; 17 | 18 | match square_if_even(num1) { 19 | Ok(v) => println!("Result: {v}"), 20 | Err(e) => println!("Error: {e}"), 21 | } 22 | 23 | match square_if_even(num2) { 24 | Ok(v) => println!("Result: {v}"), 25 | Err(e) => println!("Error: {e}"), 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /2 - Example/11_pattern_matching.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let num = 100; 3 | 4 | match num { 5 | 0 => println!("Zero"); 6 | 1 | 3 | 5 | 7 | 9 => println!("1-digit Odd"); 7 | 2..=8 => println!("1-digit Even"); 8 | num @ 10..=99 => println!("2-digit: {num}"); 9 | _ => println!("3-digit or more"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /2 - Example/12_copy_and_clone.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | class SpreadSheet 4 | { 5 | public: 6 | SpreadSheet(int id, int rows, int cols) 7 | : m_id(id), m_rows(rows), m_cols(cols) 8 | { 9 | m_data = new int *[rows]; 10 | 11 | for (int i = 0; i < rows; ++i) 12 | { 13 | m_data[i] = new int[cols]; 14 | } 15 | } 16 | 17 | SpreadSheet(const SpreadSheet &src) 18 | : SpreadSheet(src.m_id, src.m_rows, src.m_cols) 19 | { 20 | for (int i = 0; i < m_rows; ++i) 21 | { 22 | for (int j = 0; j < m_cols; ++j) 23 | { 24 | m_data[i][j] = src.m_data[i][j]; 25 | } 26 | } 27 | } 28 | 29 | ~SpreadSheet() 30 | { 31 | for (int i = 0; i < m_rows; ++i) 32 | { 33 | delete[] m_data[i]; 34 | } 35 | 36 | delete[] m_data; 37 | } 38 | 39 | void SetCell(int row, int col, int value) 40 | { 41 | m_data[row][col] = value; 42 | } 43 | 44 | int GetCell(int row, int col) const 45 | { 46 | return m_data[row][col]; 47 | } 48 | 49 | private: 50 | int m_id; 51 | int m_rows; 52 | int m_cols; 53 | int **m_data; 54 | }; 55 | 56 | int main() 57 | { 58 | SpreadSheet sheet1(1, 10, 5); 59 | 60 | { 61 | SpreadSheet sheet2(sheet1); 62 | sheet1.SetCell(0, 0, 42); 63 | 64 | // sheet2.GetCell(0, 0) == 42 65 | std::cout << sheet2.GetCell(0, 0) << '\n'; 66 | } 67 | 68 | // sheet1.GetCell(0, 0) == 42 69 | std::cout << sheet1.GetCell(0, 0) << '\n'; 70 | 71 | return 0; 72 | } 73 | -------------------------------------------------------------------------------- /2 - Example/12_copy_and_clone.rs: -------------------------------------------------------------------------------- 1 | fn hello(name: String) { 2 | println!("Hello, {name}"); 3 | } 4 | 5 | fn square(num: i32) -> i32 { 6 | num * num 7 | } 8 | 9 | fn main() { 10 | // Only implement Clone trait, not Copy 11 | let name = String::from("Chris"); 12 | hello(name.clone()); 13 | hello(name); 14 | 15 | // Implement Copy and Clone traits 16 | let num = 5; 17 | println!("square({num}): {}", square(num)); 18 | println!("square({}) : {}", num + 5, square(num + 5)); 19 | } 20 | -------------------------------------------------------------------------------- /2 - Example/13_f64_sort.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let mut arr = vec![1.2, 4.5, 3.1, -5.7, 6.3]; 3 | 4 | // Can't use arr.sort() because f64 doesn't implement Ord 5 | // arr.sort(); 6 | 7 | // Instead, use sort_by 8 | arr.sort_by(|a, b| a.partial_cmp(b).unwrap()); 9 | 10 | println!("{:?}", arr); 11 | } 12 | -------------------------------------------------------------------------------- /2 - Example/14_closure.rs: -------------------------------------------------------------------------------- 1 | fn call_twice(closure: F) where F: Fn() { 2 | closure(); 3 | closure(); 4 | } 5 | 6 | fn main() { 7 | let name = String::from("Chris"); 8 | let hello = || { 9 | println!("Hello, {name}"); 10 | drop(name); 11 | }; 12 | 13 | call_twice(hello); 14 | } 15 | -------------------------------------------------------------------------------- /2 - Example/15_concurrency_1.rs: -------------------------------------------------------------------------------- 1 | // use std::rc::Rc; 2 | // use std::thread; 3 | 4 | // fn main() { 5 | // let rc1 = Rc::new("Hyundai".to_string()); 6 | // let rc2 = rc1.clone(); 7 | 8 | // thread::spawn(move || { 9 | // // Error 10 | // rc2.clone(); 11 | // }); 12 | 13 | // rc1.clone(); 14 | // } 15 | 16 | use std::sync::Arc; 17 | use std::thread; 18 | 19 | fn main() { 20 | let arc1 = Arc::new("Hyundai".to_string()); 21 | let arc2 = arc1.clone(); 22 | 23 | thread::spawn(move || { 24 | // No error 25 | let _ = arc2.clone(); 26 | }); 27 | 28 | let _ = arc1.clone(); 29 | } 30 | -------------------------------------------------------------------------------- /2 - Example/16_concurrency_2.rs: -------------------------------------------------------------------------------- 1 | use std::{thread, time::Duration}; 2 | 3 | fn main() { 4 | let handle1 = thread::spawn(|| { 5 | for i in 1..=5 { 6 | println!("Thread 1: Running - {i}"); 7 | thread::sleep(Duration::from_millis(500)); 8 | } 9 | 10 | 42 11 | }); 12 | let handle2 = thread::spawn(|| { 13 | println!("Thread 2: Running"); 14 | panic!("Thread 2: Panic!"); 15 | }); 16 | 17 | match handle1.join() { 18 | Ok(result) => println!("Thread 1 is completed: {result}"), 19 | Err(e) => println!("Panic occurs in Thread 1: {e:?}"), 20 | } 21 | match handle2.join() { 22 | Ok(_) => println!("Thread 2 is completed"), 23 | Err(e) => println!("Panic occurs in Thread 2: {e:?}"), 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /2 - Example/17_macro.rs: -------------------------------------------------------------------------------- 1 | use std::collections::HashMap; 2 | 3 | #[derive(Clone, PartialEq, Debug)] 4 | enum Json { 5 | Null, 6 | Boolean(bool), 7 | Number(f64), 8 | String(String), 9 | Array(Vec), 10 | Object(Box>), 11 | } 12 | 13 | macro_rules! impl_from_num_for_json{ 14 | ( $( $t: ident )* ) => { 15 | $( 16 | impl From<$t> for Json { 17 | fn from(arg: $t) -> Json { 18 | Json::Number(arg as f64) 19 | } 20 | } 21 | 22 | )* 23 | }; 24 | } 25 | 26 | impl_from_num_for_json!(u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64); 27 | 28 | impl From for Json { 29 | fn from(b: bool) -> Json { 30 | Json::Boolean(b) 31 | } 32 | } 33 | 34 | impl From for Json { 35 | fn from(s: String) -> Json { 36 | Json::String(s) 37 | } 38 | } 39 | 40 | impl From<&str> for Json { 41 | fn from(s: &str) -> Json { 42 | Json::String(s.to_string()) 43 | } 44 | } 45 | 46 | macro_rules! json { 47 | (null) => { 48 | Json::Null 49 | }; 50 | ([ $( $element:tt),*]) => { 51 | Json::Array(vec![ $(json!($element)),*]) 52 | }; 53 | ({$($key:tt : $value:expr),*}) => { 54 | Json::Object(Box::new( 55 | vec![$(($key.to_string(), json!($value))),*].into_iter().collect() 56 | )) 57 | }; 58 | ($other:tt) => { 59 | Json::from($other); 60 | }; 61 | } 62 | 63 | fn main() { 64 | print!("{:?}", json!([{"picth": 440.0}])); 65 | } 66 | 67 | #[test] 68 | fn test_json_array_with_element() { 69 | let result = json!([{"pitch": 440.0}]); 70 | let expected = Json::Array(vec![Json::Object(Box::new( 71 | vec![("pitch".to_string(), Json::Number(440.0))] 72 | .into_iter() 73 | .collect(), 74 | ))]); 75 | 76 | assert_eq!(result, expected); 77 | } 78 | 79 | #[test] 80 | fn test_json_array() { 81 | let result = json!([1]); 82 | let expected = Json::Array(vec![Json::Number(1.0)]); 83 | 84 | assert_eq!(result, expected); 85 | } 86 | 87 | #[test] 88 | fn test_json_null() { 89 | let result = json!(null); 90 | let expected = Json::Null; 91 | 92 | assert_eq!(result, expected); 93 | } 94 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Chris Ohk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 2024-DEVCON-Rust-Safety 2 | 3 | DEVCON 2024 - Rust는 어떻게 안전한 프로그래밍을 이뤄내는가 발표 자료 및 예제 코드 4 | 5 | ## Contents 6 | 7 | - Presentation 8 | - [DEVCON 2024 - Rust는 어떻게 안전한 프로그래밍을 이뤄내는가](./1%20-%20Presentation/DEVCON%202024%20-%20Rust는%20어떻게%20안전한%20프로그래밍을%20이뤄내는가.pdf) 9 | - Example Code 10 | - [Ownership](./2%20-%20Example/01_ownership.rs) 11 | - [Borrowing](./2%20-%20Example/02_borrowing.rs) 12 | - [Lifetime](./2%20-%20Example/03_lifetime.rs) 13 | - [Struct](./2%20-%20Example/04_struct.rs) 14 | - [Trait](./2%20-%20Example/05_trait.rs) 15 | - [Trait Object](./2%20-%20Example/06_trait_object.rs) 16 | - [Type Conversion](./2%20-%20Example/07_type_conversion.rs) 17 | - [Enum](./2%20-%20Example/08_enum.rs) 18 | - [Option](./2%20-%20Example/09_option.rs) 19 | - [Result](./2%20-%20Example/10_result.rs) 20 | - [Pattern Matching](./2%20-%20Example/11_pattern_matching.rs) 21 | - [Copy and Clone](./2%20-%20Example/12_copy_and_clone.rs) 22 | - [Sorting for f64](./2%20-%20Example/13_f64_sort.rs) 23 | - [Closure](./2%20-%20Example/14_closure.rs) 24 | - [Concurrency 1](./2%20-%20Example/15_concurrency_1.rs) 25 | - [Concurrency 2](./2%20-%20Example/16_concurrency_2.rs) 26 | - [Macro](./2%20-%20Example/17_macro.rs) 27 | 28 | ## References 29 | 30 | - Beginner 31 | * [The Rust Programming Language](https://doc.rust-lang.org/book/) 32 | * [Rust-101 by Ralf Jung](https://www.ralfj.de/projects/rust-101/main.html) 33 | * [Comprehensive Rust](https://google.github.io/comprehensive-rust/) 34 | * [Rustlings](https://github.com/rust-lang/rustlings/) 35 | * [Rust By Example](https://doc.rust-lang.org/stable/rust-by-example/) 36 | * [Exercism - Rust](https://exercism.org/tracks/rust) 37 | * [Book: The Rust Programming Language](http://www.yes24.com/Product/Goods/83075894) 38 | * [Book: Rust in Action](https://www.manning.com/books/rust-in-action) 39 | * [Book: Programming Rust](https://www.oreilly.com/library/view/programming-rust-2nd/9781492052586/) 40 | - Intermediate 41 | * [The Standard Library](https://doc.rust-lang.org/std/index.html) 42 | * [The Edition Guide](https://doc.rust-lang.org/edition-guide/index.html) 43 | * [The Cargo Book](https://doc.rust-lang.org/cargo/index.html) 44 | * [The rustdoc Book](https://doc.rust-lang.org/rustdoc/index.html) 45 | * [The rustc Book](https://doc.rust-lang.org/rustc/index.html) 46 | * [Book: Concurrent Programming](http://www.yes24.com/Product/Goods/108570426) 47 | * [Book: Rust for Rustaceans](https://rust-for-rustaceans.com/) 48 | - Advanced 49 | * [The Rust Reference](https://doc.rust-lang.org/reference/index.html) 50 | * [The Rustonomicon](https://doc.rust-lang.org/nomicon/index.html) 51 | * [The Rust Unstable Book](https://doc.rust-lang.org/nightly/unstable-book/index.html) 52 | 53 | ## How To Contribute 54 | 55 | Contributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please contact me. 56 | 57 | ## Contact 58 | 59 | You can contact me via e-mail (utilForever at gmail.com). I am always happy to answer questions or help with any issues you might have, and please be sure to share any additional work or your creations with me, I love seeing what other people are making. 60 | 61 | ## License 62 | 63 | 64 | 65 | The class is licensed under the [MIT License](http://opensource.org/licenses/MIT): 66 | 67 | Copyright © 2024 [Chris Ohk](http://www.github.com/utilForever). 68 | 69 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 70 | 71 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 72 | 73 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 74 | --------------------------------------------------------------------------------