Initial commit.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-06-30 15:26:13 +02:00
commit e713fcf981
6 changed files with 74 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View File

@ -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"

8
Cargo.toml Normal file
View File

@ -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]

17
LICENSE Normal file
View File

@ -0,0 +1,17 @@
(C) [year] Nicolás A. Ortega Froysa <nicolas@ortegas.org>
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.

14
README.md Normal file
View File

@ -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).

27
src/main.rs Normal file
View File

@ -0,0 +1,27 @@
/*
* Copyright (C) 2022 Ortega Froysa, Nicolás <nicolas@ortegas.org> All rights reserved.
* Author: Ortega Froysa, Nicolás <nicolas@ortegas.org>
*
* 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!");
}