-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
59 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/target | ||
tests/markdown_files | ||
crates/json_http/tests/markdown_files/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
[package] | ||
name = "custard" | ||
version = "0.3.1" | ||
edition = "2021" | ||
license = "MIT" | ||
description = "A frontmatter-querying server" | ||
repository = "https://github.com/Teajey/custard" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] | ||
name = "custard_lib" | ||
|
||
[dependencies] | ||
anyhow = "1.0.75" | ||
axum = "0.6.20" | ||
camino = "1.1.6" | ||
chrono = { version = "0.4.31", features = ["serde"] } | ||
notify = "5.2.0" | ||
serde = { version = "1.0.188", features = ["serde_derive"] } | ||
serde_json = "1.0.107" | ||
serde_yaml = "0.9.25" | ||
thiserror = "1.0.49" | ||
tokio = { version = "1.32.0", features = ["full"] } | ||
|
||
[dev-dependencies] | ||
pretty_assertions = "1.4.0" | ||
[workspace] | ||
resolver = "2" | ||
members = ["crates/*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Serves plain-text files from a given directory using basic HTTP. More complex queries can be made for files that contain a Markdown-style frontmatter! | ||
Serves plain-text files from a given directory. More complex queries can be made for files that contain a Markdown-style frontmatter! | ||
|
||
Inspired by [Obsidian](https://obsidian.md/), I wanted to make a service to host markdown for my website in a similar manner :^) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "custard" | ||
version = "0.3.1" | ||
edition = "2021" | ||
license = "MIT" | ||
description = "A frontmatter-querying server" | ||
repository = "https://github.com/Teajey/custard" | ||
|
||
[dependencies] | ||
anyhow = "1.0.75" | ||
camino = "1.1.6" | ||
axum = "0.6.20" | ||
custard_lib = { version = "0.1.0", path = "../lib" } | ||
notify = "5.2.0" | ||
serde = { version = "1.0.188", features = ["serde_derive"] } | ||
serde_json = "1.0.107" | ||
tokio = { version = "1.32.0", features = ["full"] } | ||
|
||
[dev-dependencies] | ||
pretty_assertions = "1.4.0" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "custard_lib" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT" | ||
description = "A core library for Custard" | ||
repository = "https://github.com/Teajey/custard" | ||
|
||
[dependencies] | ||
anyhow = "1.0.75" | ||
camino = "1.1.6" | ||
chrono = { version = "0.4.31", features = ["serde"] } | ||
notify = "5.2.0" | ||
serde = { version = "1.0.188", features = ["serde_derive"] } | ||
serde_json = "1.0.107" | ||
serde_yaml = "0.9.25" | ||
thiserror = "1.0.49" | ||
|
||
[dev-dependencies] | ||
pretty_assertions = "1.4.0" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.