commit d18301a2035d349e3e42fd4851e03b2dcd2d2603 Author: Alex Kotov Date: Sat Apr 1 11:20:34 2023 +0400 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..042776a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/Cargo.lock +/target/ diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..5f1800a --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "repubmark" +version = "0.0.0" +authors = ["Alex Kotov "] +edition = "2021" +description = "A Markdown-inspired markup language that can be compiled into HTML and Gemtext" +readme = true +homepage = "https://git.causa-arcana.com/kotovalexarian/repubmark" +repository = "https://git.causa-arcana.com/kotovalexarian/repubmark.git" +license = "MIT" +keywords = ["cli", "parser", "text", "parsing", "language", "template", "parse", "format", "command-line"] +categories = ["command-line-utilities", "encoding", "parser-implementations", "template-engine", "text-processing"] +publish = true diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d0c07f2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Alex Kotov + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e5f7531 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CARGO = cargo + +all: test fmt clippy + +run: + $(CARGO) run + +test: + $(CARGO) test + +fmt: + $(CARGO) fmt --check + +clippy: + $(CARGO) clippy diff --git a/README.md b/README.md new file mode 100644 index 0000000..76867b9 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +Repubmark +========= + +A Markdown-inspired markup language that can be compiled into HTML and Gemtext. diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..df99c69 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +max_width = 80 diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..0672e51 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, World!"); +}