Skip to content

Commit 86fa8b5

Browse files
committed
chore(build): Document current MSRV
This is the status quo not a change, only documented for tooling that recognizes this field. Also sets the edition in the workspace and inherits both edition and the MSRV (rust-version) field into all crates.
1 parent 466e100 commit 86fa8b5

File tree

10 files changed

+22
-9
lines changed

10 files changed

+22
-9
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ members = [
1313

1414
exclude = ["fluent-cli"]
1515

16+
[workspace.package]
17+
edition = "2021"
18+
rust-version = "1.67.0"
19+
1620
[workspace.dependencies]
1721
criterion = "0.5"
1822
fluent-langneg = "0.13"

fluent-bundle/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ A localization system designed to unleash the entire expressive power of
55
natural language translations.
66
"""
77
version = "0.15.3"
8-
edition = "2021"
8+
edition.workspace = true
9+
rust-version.workspace = true
910
authors = [
1011
"Zibi Braniecki <zibi@unicode.org>",
1112
"Staś Małolepszy <stas@mozilla.com>",

fluent-cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ A collection of command line interface programs
55
for Fluent Localization System.
66
"""
77
version = "0.0.1"
8-
edition = "2021"
8+
edition.workspace = true
9+
rust-version.workspace = true
910
authors = [
1011
"Zibi Braniecki <zibi@unicode.org>",
1112
"Staś Małolepszy <stas@mozilla.com>"

fluent-fallback/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ High-level abstraction model for managing localization resources
55
and runtime localization lifecycle.
66
"""
77
version = "0.7.1"
8-
edition = "2021"
8+
edition.workspace = true
9+
rust-version.workspace = true
910
authors = [
1011
"Zibi Braniecki <zibi@unicode.org>",
1112
"Staś Małolepszy <stas@mozilla.com>"

fluent-pseudo/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description = """
44
Pseudolocalization transformation API for use with Project Fluent API.
55
"""
66
version = "0.3.2"
7-
edition = "2021"
7+
edition.workspace = true
8+
rust-version = "1.64.0"
89
authors = [
910
"Zibi Braniecki <zibi@unicode.org>",
1011
"Staś Małolepszy <stas@mozilla.com>"

fluent-resmgr/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ description = """
44
Resource manager for Fluent localization resources.
55
"""
66
version = "0.0.7"
7+
edition.workspace = true
8+
rust-version.workspace = true
79
authors = [
810
"Zibi Braniecki <zibi@unicode.org>",
911
"Staś Małolepszy <stas@mozilla.com>"
1012
]
11-
edition = "2021"
1213
homepage = "http://www.projectfluent.org"
1314
license = "Apache-2.0 OR MIT"
1415
repository = "https://github.com/projectfluent/fluent-rs"

fluent-syntax/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description = """
44
Parser/Serializer tools for Fluent Syntax.
55
"""
66
version = "0.11.1"
7-
edition = "2021"
7+
edition.workspace = true
8+
rust-version = "1.64.0"
89
authors = [
910
"Zibi Braniecki <zibi@unicode.org>",
1011
"Staś Małolepszy <stas@mozilla.com>"

fluent-testing/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ description = """
44
A collection of mock scenarios for testing fluent-rs components.
55
"""
66
version = "0.0.4"
7+
edition.workspace = true
8+
rust-version.workspace = true
79
authors = [
810
"Zibi Braniecki <zibi@braniecki.net>",
911
"Erik Nordin <enordin@mozilla.com>"
1012
]
11-
edition = "2021"
1213
homepage = "https://www.projectfluent.org"
1314
license = "Apache-2.0 OR MIT"
1415
repository = "https://github.com/projectfluent/fluent-rs"

fluent/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ A localization system designed to unleash the entire expressive power of
55
natural language translations.
66
"""
77
version = "0.16.1"
8-
edition = "2021"
8+
edition.workspace = true
9+
rust-version.workspace = true
910
authors = [
1011
"Zibi Braniecki <zibi@unicode.org>",
1112
"Staś Małolepszy <stas@mozilla.com>"

intl-memoizer/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ A memoizer specifically tailored for storing lazy-initialized
55
intl formatters.
66
"""
77
version = "0.5.2"
8-
edition = "2021"
8+
edition.workspace = true
9+
rust-version.workspace = true
910
authors = [
1011
"Zibi Braniecki <zibi@unicode.org>",
1112
"Manish Goregaokar <manishsmail@gmail.com>"

0 commit comments

Comments
 (0)