Move axum crate into workspace subfolder

Over time I imagine we're gonna have other crates in this repo that
provide utilities or integrations for axum. This prepares for that by
moving the main axum crate into its own folder.

The README situation is a bit annoying because we want `./README.md`
for viewing the repo on github but `axum/README.md` for crates.io. For
now I've just copy/pasted it and added CI step to make sure they're
identical.
This commit is contained in:
David Pedersen
2021-11-03 11:40:23 +01:00
parent b60bfd7f34
commit 5d9b697be3
100 changed files with 774 additions and 604 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["ws"] }
axum = { path = "../../axum", features = ["ws"] }
futures = "0.3"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tracing = "0.1"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tracing = "0.1"
+1 -1
View File
@@ -5,5 +5,5 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
+1 -1
View File
@@ -5,5 +5,5 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
hyper = { version = "0.14", features = ["full"] }
tower = { version = "0.4", features = ["make"] }
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["headers"] }
axum = { path = "../../axum", features = ["headers"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.22"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["multipart"] }
axum = { path = "../../axum", features = ["multipart"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["headers"] }
axum = { path = "../../axum", features = ["headers"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
tower = { version = "0.4", features = ["util"] }
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.68"
tokio = { version = "1.0", features = ["full"] }
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2018"
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["headers"] }
axum = { path = "../../axum", features = ["headers"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
axum-server = { version = "0.2", features = ["tls-rustls"] }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -6,7 +6,7 @@ version = "0.1.0"
[dependencies]
async-trait = "0.1"
axum = { path = "../.." }
axum = { path = "../../axum" }
http-body = "0.4.3"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.29"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"
+1 -1
View File
@@ -5,7 +5,7 @@ edition = "2018"
publish = false
[dependencies]
axum = { path = "../..", features = ["ws", "headers"] }
axum = { path = "../../axum", features = ["ws", "headers"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"