mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 14:31:36 +00:00
Bump version number to v0.13.0-pre.0
This commit is contained in:
parent
3cf5d85325
commit
19f6582308
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "askama"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
description = "Type-safe, compiled Jinja-like templates for Rust"
|
||||
keywords = ["markup", "template", "jinja2", "html"]
|
||||
categories = ["template-engine"]
|
||||
@ -27,7 +27,7 @@ harness = false
|
||||
itoa = "1.0.11"
|
||||
|
||||
# needed by feature "derive"
|
||||
askama_derive = { version = "=0.3.5", path = "../askama_derive", default-features = false, optional = true }
|
||||
askama_derive = { version = "=0.13.0-pre.0", path = "../askama_derive", default-features = false, optional = true }
|
||||
|
||||
# needed by feature "serde_json"
|
||||
serde = { version = "1.0", optional = true, default-features = false }
|
||||
|
@ -35,7 +35,7 @@
|
||||
//!
|
||||
//! assert_eq!(
|
||||
//! Footer { year: 2025, enterprise: "<em>Askama</em> developers" }.to_string(),
|
||||
//! "<p>© 2025 <EM>RINJA</EM> DEVELOPERS</p>",
|
||||
//! "<p>© 2025 <EM>ASKAMA</EM> DEVELOPERS</p>",
|
||||
//! );
|
||||
//! // In here you see can Askama's auto-escaping. You, the developer,
|
||||
//! // can easily disable the auto-escaping with the `|safe` filter,
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "askama_derive"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
description = "Procedural macro package for Askama"
|
||||
homepage = "https://github.com/askama-rs/askama"
|
||||
repository = "https://github.com/askama-rs/askama"
|
||||
@ -17,7 +17,7 @@ rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
parser = { package = "askama_parser", version = "=0.3.5", path = "../askama_parser" }
|
||||
parser = { package = "askama_parser", version = "=0.13.0-pre.0", path = "../askama_parser" }
|
||||
|
||||
basic-toml = { version = "0.1.1", optional = true }
|
||||
pulldown-cmark = { version = "0.13.0", optional = true, default-features = false }
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "askama_derive_standalone"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
description = "Procedural macro package for Askama"
|
||||
homepage = "https://github.com/askama-rs/askama"
|
||||
repository = "https://github.com/askama-rs/askama"
|
||||
@ -20,7 +20,7 @@ harness = false
|
||||
required-features = ["__standalone"]
|
||||
|
||||
[dependencies]
|
||||
parser = { package = "askama_parser", version = "=0.3.5", path = "../askama_parser" }
|
||||
parser = { package = "askama_parser", version = "=0.13.0-pre.0", path = "../askama_parser" }
|
||||
|
||||
basic-toml = { version = "0.1.1", optional = true }
|
||||
pulldown-cmark = { version = "0.12.0", optional = true, default-features = false }
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "askama_parser"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
description = "Parser for Askama templates"
|
||||
documentation = "https://docs.rs/askama"
|
||||
keywords = ["markup", "template", "jinja2", "html"]
|
||||
|
@ -1,14 +1,14 @@
|
||||
[package]
|
||||
name = "bench-build"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
authors = ["askama-rs developers"]
|
||||
edition = "2021"
|
||||
rust-version = "1.81"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
askama = { path = "../askama", version = "0.3.5", default-features = false, features = ["std"] }
|
||||
askama_derive = { path = "../askama_derive", version = "0.3.5", features = ["std"] }
|
||||
askama = { path = "../askama", version = "0.13.0-pre.0", default-features = false, features = ["std"] }
|
||||
askama_derive = { path = "../askama_derive", version = "0.13.0-pre.0", features = ["std"] }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
@ -41,8 +41,8 @@ Without the feature, `cargo` will be able to compile more dependencies in parall
|
||||
```toml
|
||||
# Cargo.toml
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", default-features = false, features = ["std"] }
|
||||
askama_derive = { version = "0.3.5", features = ["std"] }
|
||||
askama = { version = "0.13.0-pre.0", default-features = false, features = ["std"] }
|
||||
askama_derive = { version = "0.13.0-pre.0", features = ["std"] }
|
||||
```
|
||||
|
||||
```rust
|
||||
|
@ -9,7 +9,7 @@ you have to opt-in to the feature [`"serde_json"`](#serde_json):
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", features = ["serde_json"] }
|
||||
askama = { version = "0.13.0", features = ["serde_json"] }
|
||||
```
|
||||
|
||||
Please read the [Cargo manual](https://doc.rust-lang.org/cargo/reference/features.html#dependency-features)
|
||||
@ -18,7 +18,7 @@ for more information.
|
||||
## Default features
|
||||
|
||||
Any [semver-compatible](https://doc.rust-lang.org/cargo/reference/semver.html) upgrade
|
||||
(e.g. `askama = "0.3.4"` to `askama = "0.3.5"`) will keep the same list of default features.
|
||||
(e.g. `askama = "0.13.1"` to `askama = "0.13.2"`) will keep the same list of default features.
|
||||
We will treat upgrades to a newer dependency version as a semver breaking change.
|
||||
|
||||
### `"default"`
|
||||
@ -28,7 +28,7 @@ You can opt-out of using the feature flags by using
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", default-features = false }
|
||||
askama = { version = "0.13.0", default-features = false }
|
||||
```
|
||||
|
||||
Without `default-features = false`, i.e with default features enabled,
|
||||
|
@ -39,7 +39,7 @@ First, add the following to your crate's `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
# in [dependencies] section
|
||||
askama = "0.3.5"
|
||||
askama = "0.13.0"
|
||||
```
|
||||
|
||||
Now create a directory called `templates` in your crate root.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-web-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -9,7 +9,7 @@ publish = false
|
||||
# and actix-web as your web-framework.
|
||||
[dependencies]
|
||||
actix-web = { version = "4.9.0", default-features = false, features = ["macros"] }
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
# serde and strum are used to parse (deserialize) and generate (serialize) information
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "axum-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -8,7 +8,7 @@ publish = false
|
||||
# This is an example application that uses both askama as template engine,
|
||||
# and axum as your web-framework.
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
axum = "0.8.1"
|
||||
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -8,7 +8,7 @@ publish = false
|
||||
# This is an example application that uses both askama as template engine,
|
||||
# and poem as your web-framework.
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
poem = "3.1.6"
|
||||
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-web-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -8,7 +8,7 @@ publish = false
|
||||
# This is an example application that uses both askama as template engine,
|
||||
# and rocket as your web-framework.
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
rocket = "0.5.1"
|
||||
|
||||
# strum is used to parse and serialize information between web requests,
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "salvo-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -8,7 +8,7 @@ publish = false
|
||||
# This is an example application that uses both askama as template engine,
|
||||
# and salvo as your web-framework.
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
salvo = { version = "0.76.0", default-features = false, features = ["http1", "logging", "server"] }
|
||||
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-web-app"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
@ -8,7 +8,7 @@ publish = false
|
||||
# This is an example application that uses both askama as template engine,
|
||||
# and actix-web as your web-framework.
|
||||
[dependencies]
|
||||
askama = { version = "0.3.5", path = "../../askama" }
|
||||
askama = { version = "0.13.0-pre.0", path = "../../askama" }
|
||||
http = "0.2.12"
|
||||
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
warp = "0.3.7"
|
||||
|
@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "askama_testing-alloc"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
authors = ["askama-rs developers"]
|
||||
edition = "2021"
|
||||
rust-version = "1.81"
|
||||
publish = false
|
||||
|
||||
[dev-dependencies]
|
||||
askama = { path = "../askama", version = "0.3.5", default-features = false, features = ["alloc", "derive"] }
|
||||
askama = { path = "../askama", version = "0.13.0-pre.0", default-features = false, features = ["alloc", "derive"] }
|
||||
|
||||
assert_matches = "1.5.0"
|
||||
|
@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "askama_testing-no-std"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
authors = ["askama-rs developers"]
|
||||
edition = "2021"
|
||||
rust-version = "1.81"
|
||||
publish = false
|
||||
|
||||
[dev-dependencies]
|
||||
askama = { path = "../askama", version = "0.3.5", default-features = false, features = ["derive"] }
|
||||
askama = { path = "../askama", version = "0.13.0-pre.0", default-features = false, features = ["derive"] }
|
||||
|
||||
assert_matches = "1.5.0"
|
||||
|
@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "askama_testing-renamed"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
authors = ["askama-rs developers"]
|
||||
edition = "2021"
|
||||
rust-version = "1.81"
|
||||
publish = false
|
||||
|
||||
[dev-dependencies]
|
||||
some_name = { package = "askama", path = "../askama", version = "0.3.5", default-features = false, features = ["derive"] }
|
||||
some_name = { package = "askama", path = "../askama", version = "0.13.0-pre.0", default-features = false, features = ["derive"] }
|
||||
|
||||
assert_matches = "1.5.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "askama_testing"
|
||||
version = "0.3.5"
|
||||
version = "0.13.0-pre.0"
|
||||
authors = ["askama-rs developers"]
|
||||
edition = "2021"
|
||||
rust-version = "1.81"
|
||||
@ -15,7 +15,7 @@ name = "normalize_identifier"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
askama = { path = "../askama", version = "0.3.5" }
|
||||
askama = { path = "../askama", version = "0.13.0-pre.0" }
|
||||
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
|
||||
@ -23,7 +23,7 @@ serde_json = { version = "1.0", optional = true }
|
||||
core = { package = "intentionally-empty", version = "1.0.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
askama = { path = "../askama", version = "0.3.5", features = ["blocks", "code-in-doc", "serde_json"] }
|
||||
askama = { path = "../askama", version = "0.13.0-pre.0", features = ["blocks", "code-in-doc", "serde_json"] }
|
||||
|
||||
assert_matches = "1.5.0"
|
||||
criterion = "0.5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user