[package]
name = "map-to-javascript-html"
version = "2.1.1"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2021"
rust-version = "1.71"
repository = "https://github.com/magiclen/map-to-javascript-html"
homepage = "https://magiclen.org/map-to-javascript-html"
keywords = ["map", "javascript", "html", "hashmap", "btreemap"]
categories = ["no-std", "encoding"]
description = "A library for serializing a map to JavaScript code in HTML usually for dynamically generating strings on web pages."
license = "MIT"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
[dependencies]
html-escape = { version = "0.2", default-features = false }
serde = { version = "1.0.100", default-features = false }
serde_json = { version = "1.0.45", default-features = false, features = ["alloc"] }
[features]
default = ["std"]
std = ["html-escape/std", "serde/std", "serde_json/std"]
serde = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]