--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,2 +51,3 @@
 name = "readme_table"
+required-features = ["tty"]
 path = "examples/readme_table.rs"
