mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 22:41:13 +00:00
ci: make sure all settings apply to subprojects, too
This commit is contained in:
parent
4b44189809
commit
0d8cda38b7
1
examples/actix-web-app/.rustfmt.toml
Symbolic link
1
examples/actix-web-app/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../../.rustfmt.toml
|
@ -1,3 +1,8 @@
|
||||
# In a real application you would not need this section. It is only used in here, so that this
|
||||
# example can have a more lenient MSRV (minimum supported rust version) than rinja as a whole.
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "actix-web-app"
|
||||
version = "0.3.4"
|
||||
@ -6,12 +11,12 @@ license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4.8.0", default-features = false, features = ["macros"] }
|
||||
# This is an example application that uses both rinja as template engine,
|
||||
# and actix-web as your web-framework.
|
||||
# rinja_actix makes it easy to use rinja templates as `Responder` of an actix-web request.
|
||||
# The rendered template is simply the response of your handler!
|
||||
rinja_actix = { version = "0.3.4", path = "../../rinja_actix" }
|
||||
actix-web = { version = "4.8.0", default-features = false, features = ["macros"] }
|
||||
tokio = { version = "1.38.0", features = ["sync", "rt-multi-thread"] }
|
||||
|
||||
# serde and strum are used to parse (deserialize) and generate (serialize) information
|
||||
@ -25,8 +30,3 @@ env_logger = "0.11.3"
|
||||
log = "0.4.22"
|
||||
pretty-error-debug = "0.3.0"
|
||||
thiserror = "1.0.61"
|
||||
|
||||
# In a real application you would not need this section. It is only used in here, so that this
|
||||
# example can have a more lenient MSRV (minimum supported rust version) than rinja as a whole.
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
1
examples/actix-web-app/_typos.toml
Symbolic link
1
examples/actix-web-app/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../../_typos.toml
|
1
examples/actix-web-app/deny.toml
Symbolic link
1
examples/actix-web-app/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../../deny.toml
|
@ -1,6 +1,6 @@
|
||||
use actix_web::http::{header, Method};
|
||||
use actix_web::http::{Method, header};
|
||||
use actix_web::{
|
||||
get, middleware, web, App, HttpRequest, HttpResponse, HttpServer, Responder, Result,
|
||||
App, HttpRequest, HttpResponse, HttpServer, Responder, Result, get, middleware, web,
|
||||
};
|
||||
use rinja_actix::Template;
|
||||
use serde::Deserialize;
|
||||
|
1
examples/actix-web-app/tomlfmt.toml
Symbolic link
1
examples/actix-web-app/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../../tomlfmt.toml
|
1
fuzzing/.rustfmt.toml
Symbolic link
1
fuzzing/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
1
fuzzing/_typos.toml
Symbolic link
1
fuzzing/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
fuzzing/deny.toml
Symbolic link
1
fuzzing/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
fuzzing/tomlfmt.toml
Symbolic link
1
fuzzing/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_actix/.rustfmt.toml
Symbolic link
1
rinja_actix/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "rinja_actix"
|
||||
version = "0.3.4"
|
||||
@ -16,16 +19,6 @@ rust-version = "1.71"
|
||||
all-features = true
|
||||
rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]
|
||||
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-actix-web"] }
|
||||
|
||||
actix-web = { version = "4", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-rt = { version = "2", default-features = false }
|
||||
actix-test = "0.1"
|
||||
bytes = { version = "1" }
|
||||
|
||||
[features]
|
||||
default = ["rinja/default"]
|
||||
code-in-doc = ["rinja/code-in-doc"]
|
||||
@ -35,5 +28,12 @@ num-traits = ["rinja/num-traits"]
|
||||
serde_json = ["rinja/serde_json"]
|
||||
urlencode = ["rinja/urlencode"]
|
||||
|
||||
[workspace]
|
||||
members = ["."]
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-actix-web"] }
|
||||
|
||||
actix-web = { version = "4", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-rt = { version = "2", default-features = false }
|
||||
actix-test = "0.1"
|
||||
bytes = { version = "1" }
|
||||
|
1
rinja_actix/_typos.toml
Symbolic link
1
rinja_actix/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_actix/deny.toml
Symbolic link
1
rinja_actix/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_actix/tomlfmt.toml
Symbolic link
1
rinja_actix/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_axum/.rustfmt.toml
Symbolic link
1
rinja_axum/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "rinja_axum"
|
||||
version = "0.3.4"
|
||||
@ -16,6 +19,15 @@ readme = "README.md"
|
||||
all-features = true
|
||||
rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]
|
||||
|
||||
[features]
|
||||
default = ["rinja/default"]
|
||||
code-in-doc = ["rinja/code-in-doc"]
|
||||
config = ["rinja/config"]
|
||||
humansize = ["rinja/humansize"]
|
||||
num-traits = ["rinja/num-traits"]
|
||||
serde_json = ["rinja/serde_json"]
|
||||
urlencode = ["rinja/urlencode"]
|
||||
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-axum"] }
|
||||
|
||||
@ -27,15 +39,3 @@ axum = { version = "0.7", default-features = false }
|
||||
http-body-util = "0.1"
|
||||
tokio = { version = "1.0", features = ["macros", "rt"] }
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
|
||||
[features]
|
||||
default = ["rinja/default"]
|
||||
code-in-doc = ["rinja/code-in-doc"]
|
||||
config = ["rinja/config"]
|
||||
humansize = ["rinja/humansize"]
|
||||
num-traits = ["rinja/num-traits"]
|
||||
serde_json = ["rinja/serde_json"]
|
||||
urlencode = ["rinja/urlencode"]
|
||||
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
1
rinja_axum/_typos.toml
Symbolic link
1
rinja_axum/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_axum/deny.toml
Symbolic link
1
rinja_axum/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_axum/tomlfmt.toml
Symbolic link
1
rinja_axum/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_derive_standalone/.rustfmt.toml
Symbolic link
1
rinja_derive_standalone/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "rinja_derive_standalone"
|
||||
version = "0.3.4"
|
||||
@ -56,6 +59,3 @@ syn = { version = "2.0.3", features = ["full"] }
|
||||
name = "derive-template"
|
||||
harness = false
|
||||
required-features = ["__standalone"]
|
||||
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
1
rinja_derive_standalone/_typos.toml
Symbolic link
1
rinja_derive_standalone/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_derive_standalone/deny.toml
Symbolic link
1
rinja_derive_standalone/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_derive_standalone/tomlfmt.toml
Symbolic link
1
rinja_derive_standalone/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_parser/.rustfmt.toml
Symbolic link
1
rinja_parser/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
1
rinja_parser/_typos.toml
Symbolic link
1
rinja_parser/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_parser/deny.toml
Symbolic link
1
rinja_parser/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_parser/tomlfmt.toml
Symbolic link
1
rinja_parser/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_rocket/.rustfmt.toml
Symbolic link
1
rinja_rocket/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "rinja_rocket"
|
||||
version = "0.3.4"
|
||||
@ -16,14 +19,6 @@ rust-version = "1.71"
|
||||
all-features = true
|
||||
rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]
|
||||
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-rocket"] }
|
||||
|
||||
rocket = { version = "0.5", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros", "rt"] }
|
||||
|
||||
[features]
|
||||
default = ["rinja/default"]
|
||||
code-in-doc = ["rinja/code-in-doc"]
|
||||
@ -33,5 +28,10 @@ num-traits = ["rinja/num-traits"]
|
||||
serde_json = ["rinja/serde_json"]
|
||||
urlencode = ["rinja/urlencode"]
|
||||
|
||||
[workspace]
|
||||
members = ["."]
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-rocket"] }
|
||||
|
||||
rocket = { version = "0.5", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros", "rt"] }
|
||||
|
1
rinja_rocket/_typos.toml
Symbolic link
1
rinja_rocket/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_rocket/deny.toml
Symbolic link
1
rinja_rocket/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_rocket/tomlfmt.toml
Symbolic link
1
rinja_rocket/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
1
rinja_warp/.rustfmt.toml
Symbolic link
1
rinja_warp/.rustfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../.rustfmt.toml
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[package]
|
||||
name = "rinja_warp"
|
||||
version = "0.3.4"
|
||||
@ -16,14 +19,6 @@ rust-version = "1.71"
|
||||
all-features = true
|
||||
rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]
|
||||
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-warp"] }
|
||||
|
||||
warp = { version = "0.3", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros", "rt"] }
|
||||
|
||||
[features]
|
||||
default = ["rinja/default"]
|
||||
code-in-doc = ["rinja/code-in-doc"]
|
||||
@ -33,5 +28,10 @@ num-traits = ["rinja/num-traits"]
|
||||
serde_json = ["rinja/serde_json"]
|
||||
urlencode = ["rinja/urlencode"]
|
||||
|
||||
[workspace]
|
||||
members = ["."]
|
||||
[dependencies]
|
||||
rinja = { version = "0.3.4", path = "../rinja", default-features = false, features = ["with-warp"] }
|
||||
|
||||
warp = { version = "0.3", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros", "rt"] }
|
||||
|
1
rinja_warp/_typos.toml
Symbolic link
1
rinja_warp/_typos.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../_typos.toml
|
1
rinja_warp/deny.toml
Symbolic link
1
rinja_warp/deny.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../deny.toml
|
1
rinja_warp/tomlfmt.toml
Symbolic link
1
rinja_warp/tomlfmt.toml
Symbolic link
@ -0,0 +1 @@
|
||||
../tomlfmt.toml
|
Loading…
x
Reference in New Issue
Block a user