diff --git a/rinja/Cargo.toml b/rinja/Cargo.toml index 33391ed5..556446ab 100644 --- a/rinja/Cargo.toml +++ b/rinja/Cargo.toml @@ -2,14 +2,11 @@ name = "rinja" version = "0.3.5" description = "Type-safe, compiled Jinja-like templates for Rust" -documentation = "https://docs.rs/rinja" keywords = ["markup", "template", "jinja2", "html"] categories = ["template-engine"] homepage = "https://rinja.readthedocs.io/" repository = "https://github.com/rinja-rs/rinja" license = "MIT OR Apache-2.0" -workspace = ".." -readme = "../README.md" edition = "2021" rust-version = "1.81" @@ -17,18 +14,14 @@ rust-version = "1.81" features = ["full"] rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"] -[badges] -maintenance = { status = "actively-developed" } +[[bench]] +name = "to-json" +harness = false +required-features = ["serde_json"] -[features] -default = ["config", "std", "urlencode"] -alloc = ["rinja_derive/alloc", "serde?/alloc", "serde_json?/alloc", "percent-encoding?/alloc"] -full = ["default", "code-in-doc", "serde_json"] -code-in-doc = ["rinja_derive/code-in-doc"] -config = ["rinja_derive/config"] -serde_json = ["rinja_derive/serde_json", "dep:serde", "dep:serde_json"] -std = ["alloc", "rinja_derive/std", "serde?/std", "serde_json?/std", "percent-encoding?/std"] -urlencode = ["rinja_derive/urlencode", "dep:percent-encoding"] +[[bench]] +name = "escape" +harness = false [dependencies] rinja_derive = { version = "=0.3.5", path = "../rinja_derive" } @@ -42,11 +35,27 @@ itoa = "1.0.11" [dev-dependencies] criterion = "0.5" -[[bench]] -name = "to-json" -harness = false -required-features = ["serde_json"] +[badges] +maintenance = { status = "actively-developed" } -[[bench]] -name = "escape" -harness = false +[features] +default = ["config", "std", "urlencode"] +full = ["default", "code-in-doc", "serde_json"] + +alloc = [ + "rinja_derive/alloc", + "serde?/alloc", + "serde_json?/alloc", + "percent-encoding?/alloc" +] +code-in-doc = ["rinja_derive/code-in-doc"] +config = ["rinja_derive/config"] +serde_json = ["rinja_derive/serde_json", "dep:serde", "dep:serde_json"] +std = [ + "alloc", + "rinja_derive/std", + "serde?/std", + "serde_json?/std", + "percent-encoding?/std" +] +urlencode = ["rinja_derive/urlencode", "dep:percent-encoding"] diff --git a/rinja/README.md b/rinja/README.md new file mode 120000 index 00000000..32d46ee8 --- /dev/null +++ b/rinja/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/rinja/_typos.toml b/rinja/_typos.toml new file mode 120000 index 00000000..2264b5db --- /dev/null +++ b/rinja/_typos.toml @@ -0,0 +1 @@ +../_typos.toml \ No newline at end of file diff --git a/rinja/deny.toml b/rinja/deny.toml new file mode 120000 index 00000000..a65e17bb --- /dev/null +++ b/rinja/deny.toml @@ -0,0 +1 @@ +../deny.toml \ No newline at end of file diff --git a/rinja/tomlfmt.toml b/rinja/tomlfmt.toml new file mode 120000 index 00000000..053191cc --- /dev/null +++ b/rinja/tomlfmt.toml @@ -0,0 +1 @@ +../tomlfmt.toml \ No newline at end of file diff --git a/rinja_derive/Cargo.toml b/rinja_derive/Cargo.toml index 31730239..4306ab63 100644 --- a/rinja_derive/Cargo.toml +++ b/rinja_derive/Cargo.toml @@ -5,7 +5,6 @@ description = "Procedural macro package for Rinja" homepage = "https://github.com/rinja-rs/rinja" repository = "https://github.com/rinja-rs/rinja" license = "MIT OR Apache-2.0" -workspace = ".." readme = "README.md" edition = "2021" rust-version = "1.81" diff --git a/rinja_parser/Cargo.toml b/rinja_parser/Cargo.toml index 55d4d7a7..94b01bf1 100644 --- a/rinja_parser/Cargo.toml +++ b/rinja_parser/Cargo.toml @@ -8,7 +8,6 @@ categories = ["template-engine"] homepage = "https://github.com/rinja-rs/rinja" repository = "https://github.com/rinja-rs/rinja" license = "MIT OR Apache-2.0" -workspace = ".." readme = "README.md" edition = "2021" rust-version = "1.81" diff --git a/testing-alloc/Cargo.toml b/testing-alloc/Cargo.toml index d9f5feb8..11f17090 100644 --- a/testing-alloc/Cargo.toml +++ b/testing-alloc/Cargo.toml @@ -2,7 +2,6 @@ name = "rinja_testing-alloc" version = "0.3.5" authors = ["rinja-rs developers"] -workspace = ".." edition = "2021" rust-version = "1.81" publish = false diff --git a/testing-no-std/Cargo.toml b/testing-no-std/Cargo.toml index e121d1bf..90626f6d 100644 --- a/testing-no-std/Cargo.toml +++ b/testing-no-std/Cargo.toml @@ -2,7 +2,6 @@ name = "rinja_testing-no-std" version = "0.3.5" authors = ["rinja-rs developers"] -workspace = ".." edition = "2021" rust-version = "1.81" publish = false diff --git a/testing/Cargo.toml b/testing/Cargo.toml index e8ca70b8..9ef5c310 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -2,7 +2,6 @@ name = "rinja_testing" version = "0.3.5" authors = ["rinja-rs developers"] -workspace = ".." edition = "2021" rust-version = "1.81" publish = false