Skip to content

Commit

Permalink
http-app: simple example http server (#9)
Browse files Browse the repository at this point in the history
* http-app: simple example http server

* http-app: remove hoon

* http-app: working with wrapper

* bootstrap: deleted for http-app

* http-app: thread through full requests and responses (except headers)

* http-app: cleaning

* http-app: feature complete, all values threaded through

* main: remove print

* gitignore cleanup

* http-app: update hoon

* hoon-139: symlink

* wrapper: symlink

* http-app: all works

* Dockerfile: remove

* http-app: use new to_bytes_until_nul method
  • Loading branch information
tacryt-socryp authored Sep 5, 2024
1 parent 351872d commit 4559d50
Show file tree
Hide file tree
Showing 9 changed files with 626 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ bin/
.vscode/settings.json

# Junk
.unikraft
.DS_Store

*.swp
**/*.swp
.DS_Store
Expand Down
281 changes: 281 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[workspace]
members = [
"crown",
"choo"
"choo",
"http-app",
]
resolver = "2"

Expand Down
18 changes: 18 additions & 0 deletions http-app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "http-app"
version.workspace = true
edition.workspace = true

[dependencies]
crown = { path = "../crown" }
sword = { workspace = true }
sword_macros = { workspace = true }
clap = { workspace = true, features = ["derive", "cargo", "color", "env"]}
tokio = { workspace = true }
tracing = { workspace = true }
axum = "0.7.5"
tower = "0.5.0"

[[bin]]
name = "http-app"
path = "main.rs"
1 change: 1 addition & 0 deletions http-app/hoon/lib/hoon-139.hoon
Loading

0 comments on commit 4559d50

Please sign in to comment.