diff --git a/examples/async-graphql/Cargo.toml b/examples/async-graphql/Cargo.toml index cc95ba6f..beec750d 100644 --- a/examples/async-graphql/Cargo.toml +++ b/examples/async-graphql/Cargo.toml @@ -8,6 +8,6 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } async-graphql = "2.9.9" slab = "0.4.3" diff --git a/examples/chat/Cargo.toml b/examples/chat/Cargo.toml index cf743ffa..a777d539 100644 --- a/examples/chat/Cargo.toml +++ b/examples/chat/Cargo.toml @@ -10,4 +10,4 @@ futures = "0.3" tokio = { version = "1", features = ["full"] } tower = { version = "0.4", features = ["util"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/customize-extractor-error/Cargo.toml b/examples/customize-extractor-error/Cargo.toml index f624c5cc..02db1f88 100644 --- a/examples/customize-extractor-error/Cargo.toml +++ b/examples/customize-extractor-error/Cargo.toml @@ -10,4 +10,4 @@ tokio = { version = "1.0", features = ["full"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/error-handling-and-dependency-injection/Cargo.toml b/examples/error-handling-and-dependency-injection/Cargo.toml index a2632cd0..6a99efc1 100644 --- a/examples/error-handling-and-dependency-injection/Cargo.toml +++ b/examples/error-handling-and-dependency-injection/Cargo.toml @@ -9,7 +9,7 @@ axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tower = { version = "0.4", features = ["util"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" uuid = { version = "0.8", features = ["v4", "serde"] } diff --git a/examples/form/Cargo.toml b/examples/form/Cargo.toml index d2148a0d..adef28f9 100644 --- a/examples/form/Cargo.toml +++ b/examples/form/Cargo.toml @@ -8,5 +8,5 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } serde = { version = "1.0", features = ["derive"] } diff --git a/examples/global-404-handler/Cargo.toml b/examples/global-404-handler/Cargo.toml index 8892180a..bbf9f5b7 100644 --- a/examples/global-404-handler/Cargo.toml +++ b/examples/global-404-handler/Cargo.toml @@ -9,4 +9,4 @@ axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tower = { version = "0.4", features = ["util"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/http-proxy/Cargo.toml b/examples/http-proxy/Cargo.toml index ed22e520..8978c6cb 100644 --- a/examples/http-proxy/Cargo.toml +++ b/examples/http-proxy/Cargo.toml @@ -10,4 +10,4 @@ tokio = { version = "1.0", features = ["full"] } hyper = { version = "0.14", features = ["full"] } tower = { version = "0.4", features = ["make"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/jwt/Cargo.toml b/examples/jwt/Cargo.toml index a0770dea..d8963ef2 100644 --- a/examples/jwt/Cargo.toml +++ b/examples/jwt/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum", features = ["headers"] } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" headers = "0.3" diff --git a/examples/key-value-store/Cargo.toml b/examples/key-value-store/Cargo.toml index 4aa6dc70..1ff71131 100644 --- a/examples/key-value-store/Cargo.toml +++ b/examples/key-value-store/Cargo.toml @@ -8,6 +8,6 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower = { version = "0.4", features = ["util", "timeout", "load-shed", "limit"] } tower-http = { version = "0.1", features = ["add-extension", "auth", "compression-full", "trace" ] } diff --git a/examples/low-level-rustls/Cargo.toml b/examples/low-level-rustls/Cargo.toml index 01fd2a14..70670579 100644 --- a/examples/low-level-rustls/Cargo.toml +++ b/examples/low-level-rustls/Cargo.toml @@ -13,4 +13,4 @@ tokio = { version = "1", features = ["full"] } tokio-rustls = "0.23" tower = { version = "0.4", features = ["make"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/multipart-form/Cargo.toml b/examples/multipart-form/Cargo.toml index 870ddd6d..682500fe 100644 --- a/examples/multipart-form/Cargo.toml +++ b/examples/multipart-form/Cargo.toml @@ -8,5 +8,5 @@ publish = false axum = { path = "../../axum", features = ["multipart"] } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["trace" ] } diff --git a/examples/oauth/Cargo.toml b/examples/oauth/Cargo.toml index f8818e26..046f81e2 100644 --- a/examples/oauth/Cargo.toml +++ b/examples/oauth/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum", features = ["headers"] } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } oauth2 = "4.1" async-session = "3.0.0" serde = { version = "1.0", features = ["derive"] } diff --git a/examples/print-request-response/Cargo.toml b/examples/print-request-response/Cargo.toml index 31dc4bd9..69781c11 100644 --- a/examples/print-request-response/Cargo.toml +++ b/examples/print-request-response/Cargo.toml @@ -8,6 +8,6 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower = { version = "0.4", features = ["util", "filter"] } hyper = { version = "0.14", features = ["full"] } diff --git a/examples/readme/Cargo.toml b/examples/readme/Cargo.toml index 84f3c977..ed3d178c 100644 --- a/examples/readme/Cargo.toml +++ b/examples/readme/Cargo.toml @@ -10,4 +10,4 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.68" tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/reverse-proxy/Cargo.toml b/examples/reverse-proxy/Cargo.toml index 2d081ab1..e13c0d88 100644 --- a/examples/reverse-proxy/Cargo.toml +++ b/examples/reverse-proxy/Cargo.toml @@ -8,4 +8,4 @@ axum = { path = "../../axum" } hyper = { version = "0.14", features = ["full"] } tokio = { version = "1", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/sessions/Cargo.toml b/examples/sessions/Cargo.toml index 57402619..c46f20b4 100644 --- a/examples/sessions/Cargo.toml +++ b/examples/sessions/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } serde = { version = "1.0", features = ["derive"] } uuid = { version = "0.8", features = ["v4", "serde"] } async-session = "3.0.0" diff --git a/examples/sse/Cargo.toml b/examples/sse/Cargo.toml index 136ff85f..f083124e 100644 --- a/examples/sse/Cargo.toml +++ b/examples/sse/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum", features = ["headers"] } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["fs", "trace"] } futures = "0.3" tokio-stream = "0.1" diff --git a/examples/static-file-server/Cargo.toml b/examples/static-file-server/Cargo.toml index a564248f..3449dadb 100644 --- a/examples/static-file-server/Cargo.toml +++ b/examples/static-file-server/Cargo.toml @@ -8,5 +8,5 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["fs", "trace"] } diff --git a/examples/templates/Cargo.toml b/examples/templates/Cargo.toml index db1e7b92..215e6b36 100644 --- a/examples/templates/Cargo.toml +++ b/examples/templates/Cargo.toml @@ -8,5 +8,5 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } askama = "0.10" diff --git a/examples/testing/Cargo.toml b/examples/testing/Cargo.toml index e066f03d..85627bf6 100644 --- a/examples/testing/Cargo.toml +++ b/examples/testing/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["trace"] } serde_json = "1.0" hyper = { version = "0.14", features = ["full"] } diff --git a/examples/tls-rustls/Cargo.toml b/examples/tls-rustls/Cargo.toml index bfd88a05..764be233 100644 --- a/examples/tls-rustls/Cargo.toml +++ b/examples/tls-rustls/Cargo.toml @@ -9,4 +9,4 @@ axum = { path = "../../axum" } axum-server = { version = "0.2", features = ["tls-rustls"] } tokio = { version = "1", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 1fd74546..08e1be4c 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower = { version = "0.4", features = ["util", "timeout"] } tower-http = { version = "0.1", features = ["add-extension", "trace"] } uuid = { version = "0.8", features = ["serde", "v4"] } diff --git a/examples/tokio-postgres/Cargo.toml b/examples/tokio-postgres/Cargo.toml index 18c6aed8..32dcf145 100644 --- a/examples/tokio-postgres/Cargo.toml +++ b/examples/tokio-postgres/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } bb8 = "0.7.1" bb8-postgres = "0.7.0" tokio-postgres = "0.7.2" diff --git a/examples/tracing-aka-logging/Cargo.toml b/examples/tracing-aka-logging/Cargo.toml index 1949bced..f8ecf9f1 100644 --- a/examples/tracing-aka-logging/Cargo.toml +++ b/examples/tracing-aka-logging/Cargo.toml @@ -8,5 +8,5 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["trace"] } diff --git a/examples/unix-domain-socket/Cargo.toml b/examples/unix-domain-socket/Cargo.toml index 11d17f8c..2d10ed3c 100644 --- a/examples/unix-domain-socket/Cargo.toml +++ b/examples/unix-domain-socket/Cargo.toml @@ -8,7 +8,7 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } hyper = { version = "0.14", features = ["full"] } tower = { version = "0.4", features = ["util"] } futures = "0.3" diff --git a/examples/validator/Cargo.toml b/examples/validator/Cargo.toml index 13b4b313..b3acb983 100644 --- a/examples/validator/Cargo.toml +++ b/examples/validator/Cargo.toml @@ -12,5 +12,5 @@ serde = { version = "1.0", features = ["derive"] } thiserror = "1.0.29" tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } validator = { version = "0.14.0", features = ["derive"] } diff --git a/examples/versioning/Cargo.toml b/examples/versioning/Cargo.toml index 317f7eee..fac3a770 100644 --- a/examples/versioning/Cargo.toml +++ b/examples/versioning/Cargo.toml @@ -8,4 +8,4 @@ publish = false axum = { path = "../../axum" } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } diff --git a/examples/websockets/Cargo.toml b/examples/websockets/Cargo.toml index 00907815..0e5059e7 100644 --- a/examples/websockets/Cargo.toml +++ b/examples/websockets/Cargo.toml @@ -8,6 +8,6 @@ publish = false axum = { path = "../../axum", features = ["ws", "headers"] } tokio = { version = "1.0", features = ["full"] } tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version="0.3", features = ["env-filter"] } tower-http = { version = "0.1", features = ["fs", "trace"] } headers = "0.3"