[package]
edition = "2024"
rust-version = "1.91.0"
name = "s2json-core"
version = "1.52.0"
authors = ["Craig O'Connor <oconnorct1@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This library supports the S2JSON 1.0 Specification"
homepage = "https://github.com/Open-S2/s2json"
documentation = "https://docs.rs/s2json"
readme = "README.md"
keywords = [
"open",
"vector",
"tile",
"gis",
"low-cost-code",
]
categories = [
"encoding",
"wasm",
"embedded",
"no-std",
]
license = "MIT"
repository = "https://github.com/Open-S2/s2json"
resolver = "2"
[lib]
name = "s2json_core"
path = "lib.rs"
bench = true
[[test]]
name = "geometry"
path = "tests/geometry.rs"
[[test]]
name = "interpolate"
path = "tests/interpolate.rs"
[[test]]
name = "map"
path = "tests/map.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "value"
path = "tests/value.rs"
[[test]]
name = "vector_point"
path = "tests/vector_point.rs"
[dependencies.libm]
version = "0.2"
[dependencies.pbf]
version = "1.22"
[dependencies.serde]
version = "1.0"
features = [
"alloc",
"derive",
]
default-features = false
[dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false
[dev-dependencies]
[profile.bench]
opt-level = 3