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