cursive/examples/Cargo.toml
mara fc5060a8e0
Fix the theme example (#452)
- Remove the inline feature detection, it doesn't work for features of
  dependencies. Instead use `required-features` in `Cargo.toml` for the
  specific binary.

- The asset moved one level up relatively to `../../assets/style.toml`
2020-05-08 11:44:18 -07:00

26 lines
570 B
TOML

[package]
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
description = "Examples for the cursive TUI library."
documentation = "https://docs.rs/cursive"
edition = "2018"
license = "MIT"
name = "cursive-examples"
publish = false
readme = "Readme.md"
repository = "https://github.com/gyscos/cursive"
version = "0.1.0"
[dependencies]
atty = "0.2.14"
log = "0.4.8"
pretty-bytes = "0.2.2"
rand = "0.7.3"
cursive = { path = "../cursive", default-features=false }
[features]
default = ["cursive/default"]
[[bin]]
name = "theme"
required-features = ["cursive/toml"]