commit e713fcf9810f82097b8b14af37abcb7de3ca442a Author: Nicolás Ortega Froysa Date: Thu Jun 30 15:26:13 2022 +0200 Initial commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..32194f4 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "skyums-protocol" +version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..53a529f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "skyums-protocol" +version = "1.0.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..85691d9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ +(C) [year] Nicolás A. Ortega Froysa + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. diff --git a/README.md b/README.md new file mode 100644 index 0000000..76c208f --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Skyum's Protocol + +This program is a reference to the problem in a [mathematical paper][1] and +referenced in a video by Veritasium titled ["The Riddle That Seems Impossible +Even If You Know The Answer"][2]. I don't feel like explaining the whole +problem, because I'd like to get coding, so just check out the video. + +[1]: https://www.brics.dk/RS/03/44/BRICS-RS-03-44.pdf +[2]: https://odysee.com/@veritasium:f/the-riddle-that-seems-impossible-even-if:6?r=Cgf2A9Q55WHkdCBZhVdYdHg6bGCkmai8 + +## License + +This code is licensed under the terms & conditions of the ZLib license (see the +[license file](LICENSE) for more information). diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..3ec4edf --- /dev/null +++ b/src/main.rs @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2022 Ortega Froysa, Nicolás All rights reserved. + * Author: Ortega Froysa, Nicolás + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * + * 3. This notice may not be removed or altered from any source + * distribution. + */ + +fn main() { + println!("Hello, world!"); +}