[package] name = "improvise-protocol" version = "0.1.0-rc2" edition = "2024" description = "Wire vocabulary and portable session state shared by the improvise server and clients" license = "Apache-2.0" repository = "https://github.com/fiddlerwoaroof/improvise" [dependencies] improvise-core = { path = "../improvise-core" } serde = { version = "1", features = ["derive"] } # For the one width rule both front ends measure a header label with # (`AxisFrame::header_widths`). A terminal column is a display cell, not a # `char`, and the TUI has always measured it this way. unicode-width = "^0.2" # Only for `variants`, which is off unless a test build asks for it. serde_json = { version = "1", optional = true } [features] # `variants` reaches OUT of this crate: improvise-command bounds its own # ModelCommand enumeration with it. Off in every shipped build (improvise-26dm). test-support = ["dep:serde_json"] [dev-dependencies] serde_json = "1"