This commit makes a number of parts of wezterm's core parsing functionality no_std compatible, but requiring alloc. In the no_std environment, several lookup tables that would normally have been used to accelerate some operations are not available and we instead fall back to an O(n) operation.
21 lines
609 B
TOML
21 lines
609 B
TOML
[package]
|
|
name = "wezterm-input-types"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2021"
|
|
repository = "https://github.com/wezterm/wezterm"
|
|
description = "config serialization for wezterm via dynamic json-like data values"
|
|
license = "MIT"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bitflags.workspace = true
|
|
euclid.workspace = true
|
|
serde = {workspace=true, features = ["rc", "derive"], optional=true}
|
|
wezterm-dynamic.workspace = true
|
|
|
|
[features]
|
|
default = ["serde", "std"]
|
|
std = ["serde/std", "euclid/std"]
|