mf2-host-web 2.0.0

The browser Host of mf2-runtime: NFC through String.prototype.normalize and float text through String(x), via js-sys; with `datetime-intl`, dates through Intl.DateTimeFormat and time-zone offsets from the browser's zone data; with `intl`, numbers through Intl.NumberFormat and Intl.PluralRules.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "mf2-host-web"
version = "2.0.0"
authors = ["Evan Carroll"]
build = false
exclude = ["package.txt"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The browser Host of mf2-runtime: NFC through String.prototype.normalize and float text through String(x), via js-sys; with `datetime-intl`, dates through Intl.DateTimeFormat and time-zone offsets from the browser's zone data; with `intl`, numbers through Intl.NumberFormat and Intl.PluralRules."
homepage = "https://evancarroll.github.io/rust-mf2/"
documentation = "https://docs.rs/mf2-host-web"
readme = "README.md"
keywords = [
    "messageformat",
    "mf2",
    "i18n",
    "wasm",
    "intl",
]
categories = [
    "internationalization",
    "localization",
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/EvanCarroll/rust-mf2"

[package.metadata.docs.rs]
features = [
    "intl",
    "datetime-intl",
]
default-target = "wasm32-unknown-unknown"
targets = ["wasm32-unknown-unknown"]

[features]
datetime-intl = ["time-zones"]
intl = [
    "dep:wasm-bindgen",
    "mf2-runtime/intl",
]
time-zones = ["dep:wasm-bindgen"]

[lib]
name = "mf2_host_web"
path = "src/lib.rs"

[dependencies.js-sys]
version = "0.3.105"
default-features = false

[dependencies.mf2-runtime]
version = "=2.0.0"

[dependencies.wasm-bindgen]
version = "0.2.128"
optional = true
default-features = false

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "allow"
unreachable_pub = "warn"
unsafe_code = "deny"