diff --git a/Cargo.lock b/Cargo.lock index 59c8093..98e120c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,15 +17,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aho-corasick" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" -dependencies = [ - "memchr", -] - [[package]] name = "anstream" version = "0.6.4" @@ -188,7 +179,8 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "duster" version = "0.1.1" -source = "git+https://code.fizz.buzz/talexander/duster.git?branch=master#3428a3f5097c7d2cc252d1bfd9aae7771553ab69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17d19cdf8e1ae4aead0978a30e99817af1c36abaf22f81901952b1310abb6989" dependencies = [ "nom 6.1.2", "serde", @@ -355,12 +347,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - [[package]] name = "lexical-core" version = "0.7.6" @@ -414,7 +400,6 @@ dependencies = [ "serde_json", "tokio", "toml", - "tree-sitter-highlight", "walkdir", ] @@ -506,35 +491,6 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" -[[package]] -name = "regex" -version = "1.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" - [[package]] name = "rustc-demangle" version = "0.1.23" @@ -628,26 +584,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "thiserror" -version = "1.0.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "tokio" version = "1.33.0" @@ -694,26 +630,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "tree-sitter" -version = "0.20.10" -source = "git+https://github.com/tree-sitter/tree-sitter.git?rev=52f7eaff3182a726eb064a91d4e49dfbaecd4ee3#52f7eaff3182a726eb064a91d4e49dfbaecd4ee3" -dependencies = [ - "cc", - "regex", -] - -[[package]] -name = "tree-sitter-highlight" -version = "0.20.2" -source = "git+https://github.com/tree-sitter/tree-sitter.git?rev=52f7eaff3182a726eb064a91d4e49dfbaecd4ee3#52f7eaff3182a726eb064a91d4e49dfbaecd4ee3" -dependencies = [ - "lazy_static", - "regex", - "thiserror", - "tree-sitter", -] - [[package]] name = "unicode-ident" version = "1.0.12" diff --git a/Cargo.toml b/Cargo.toml index 4b41bf8..e7f395a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,13 +2,26 @@ name = "natter" version = "0.0.1" edition = "2021" +authors = ["Tom Alexander "] +description = "A static site generator using org source files." +license = "0BSD" +repository = "https://code.fizz.buzz/talexander/natter" +readme = "README.md" +keywords = ["static", "site", "generator"] +categories = ["command-line-utilities"] +resolver = "2" +include = [ + "LICENSE", + "**/*.rs", + "Cargo.toml", + "Cargo.lock", + "default_environment/" +] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = { version = "4.4.6", default-features = false, features = ["std", "color", "help", "derive"] } -duster = { git = "https://code.fizz.buzz/talexander/duster.git", branch = "master" } -tree-sitter-highlight = { git = "https://github.com/tree-sitter/tree-sitter.git", rev = "52f7eaff3182a726eb064a91d4e49dfbaecd4ee3" } +duster = "0.1.1" futures = "0.3.29" include_dir = "0.7.3" # TODO: This is temporary to work on the latest organic code. Eventually switch back to using the published crate. diff --git a/README.md b/README.md new file mode 100644 index 0000000..e79c870 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Natter + +Natter is a static site generator for blogs using org as an input format. It is at a very early stage, and will have deep sweeping changes.