Skip to content

Commit

Permalink
Merge pull request #348 from alerque/msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored May 6, 2024
2 parents 704e4ae + 84ceaa1 commit 5d4338e
Show file tree
Hide file tree
Showing 11 changed files with 125 additions and 122 deletions.
19 changes: 18 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,24 @@ members = [
"intl-memoizer",
]

exclude = ["fluent-cli"]
exclude = [
"fluent-cli",
]

[workspace.package]
homepage = "https://www.projectfluent.org"
repository = "https://github.com/projectfluent/fluent-rs"
license = "Apache-2.0 OR MIT"
authors = [
"Caleb Maclennan <[email protected]>",
"Bruce Mitchener <[email protected]",
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>",
]
categories = ["localization", "internationalization"]
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
edition = "2021"
rust-version = "1.67.0"

[workspace.dependencies]
criterion = "0.5"
Expand Down
6 changes: 5 additions & 1 deletion Makefile.internal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ workspace = false
command = "cargo"
args = ["test", "--all-features"]
# toolchain = "nightly"
env = { RUSTFLAGS = "-Cinstrument-coverage", RUSTDOCFLAGS = "-Cinstrument-coverage", LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw" }
env = {
RUSTFLAGS = "-Cinstrument-coverage",
RUSTDOCFLAGS = "-Cinstrument-coverage",
LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw"
}

# After generating the .profraw, this step creates the html report.
# Important! Keep in grcov flags in sync with Makefile.internal.toml.
Expand Down
18 changes: 8 additions & 10 deletions fluent-bundle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ A localization system designed to unleash the entire expressive power of
natural language translations.
"""
version = "0.15.3"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>",
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"benches/*.rs",
Expand Down
18 changes: 8 additions & 10 deletions fluent-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ A collection of command line interface programs
for Fluent Localization System.
"""
version = "0.0.1"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]

[[bin]]
name = "resolver-cli"
Expand Down
18 changes: 8 additions & 10 deletions fluent-fallback/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ High-level abstraction model for managing localization resources
and runtime localization lifecycle.
"""
version = "0.7.1"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]

[dependencies]
fluent-bundle.workspace = true
Expand Down
30 changes: 14 additions & 16 deletions fluent-pseudo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@ description = """
Pseudolocalization transformation API for use with Project Fluent API.
"""
version = "0.3.2"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version = "1.64.0"
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
]

[dependencies]
Expand Down
18 changes: 8 additions & 10 deletions fluent-resmgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ description = """
Resource manager for Fluent localization resources.
"""
version = "0.0.7"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
edition = "2021"
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]

[dependencies]
fluent-bundle.workspace = true
Expand Down
30 changes: 14 additions & 16 deletions fluent-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@ description = """
Parser/Serializer tools for Fluent Syntax.
"""
version = "0.11.1"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version = "1.64.0"
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
]

[dependencies]
Expand Down
30 changes: 14 additions & 16 deletions fluent-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@ description = """
A collection of mock scenarios for testing fluent-rs components.
"""
version = "0.0.4"
authors = [
"Zibi Braniecki <[email protected]>",
"Erik Nordin <[email protected]>"
]
edition = "2021"
homepage = "https://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"resources/**/*",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
"src/**/*",
"resources/**/*",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
]

[dependencies]
Expand Down
30 changes: 14 additions & 16 deletions fluent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@ A localization system designed to unleash the entire expressive power of
natural language translations.
"""
version = "0.16.1"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Staś Małolepszy <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
]

[dependencies]
Expand Down
30 changes: 14 additions & 16 deletions intl-memoizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@ A memoizer specifically tailored for storing lazy-initialized
intl formatters.
"""
version = "0.5.2"
edition = "2021"
authors = [
"Zibi Braniecki <[email protected]>",
"Manish Goregaokar <[email protected]>"
]
homepage = "http://www.projectfluent.org"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/projectfluent/fluent-rs"
edition.workspace = true
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
readme = "README.md"
keywords = ["localization", "l10n", "i18n", "intl", "internationalization"]
categories = ["localization", "internationalization"]
include = [
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT"
]

[dependencies]
Expand Down

0 comments on commit 5d4338e

Please sign in to comment.