# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rustyline" version = "14.0.0" authors = ["Katsu Kawakami "] exclude = [ "/.github/*", "/rustfmt.toml", ] description = "Rustyline, a readline implementation based on Antirez's Linenoise" documentation = "https://docs.rs/rustyline" readme = "README.md" keywords = ["readline"] categories = ["command-line-interface"] license = "MIT" repository = "https://github.com/kkawakam/rustyline" [package.metadata.docs.rs] all-features = false default-target = "x86_64-unknown-linux-gnu" features = [ "custom-bindings", "derive", "with-dirs", "with-file-history", "with-fuzzy", ] no-default-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "custom_key_bindings" required-features = [ "custom-bindings", "derive", ] [[example]] name = "diy_hints" required-features = ["derive"] [[example]] name = "example" required-features = [ "custom-bindings", "derive", ] [[example]] name = "input_multiline" required-features = [ "custom-bindings", "derive", ] [[example]] name = "input_validation" required-features = ["derive"] [[example]] name = "numeric_input" required-features = ["custom-bindings"] [[example]] name = "read_password" required-features = ["derive"] [[example]] name = "sqlite_history" required-features = ["with-sqlite-history"] [dependencies.bitflags] version = "2.0" [dependencies.cfg-if] version = "1.0" [dependencies.fd-lock] version = "4.0.0" optional = true [dependencies.home] version = "0.5.4" optional = true [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2.0" [dependencies.radix_trie] version = "0.2" optional = true [dependencies.regex] version = "1.5.5" optional = true [dependencies.rusqlite] version = "0.31.0" features = [ "bundled", "backup", ] optional = true default-features = false [dependencies.rustyline-derive] version = "0.10.0" optional = true [dependencies.unicode-segmentation] version = "1.0" [dependencies.unicode-width] version = "0.1" [dev-dependencies.assert_matches] version = "1.2" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.env_logger] version = "0.11" default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.tempfile] version = "3.1.0" [features] case_insensitive_history_search = ["regex"] custom-bindings = ["radix_trie"] default = [ "custom-bindings", "with-dirs", "with-file-history", ] derive = ["rustyline-derive"] with-dirs = ["home"] with-file-history = ["fd-lock"] with-fuzzy = ["skim"] with-sqlite-history = ["rusqlite"] [target."cfg(unix)".dependencies.buffer-redux] version = "1.0" optional = true default-features = false [target."cfg(unix)".dependencies.nix] version = "0.28" features = [ "fs", "ioctl", "poll", "signal", "term", ] default-features = false [target."cfg(unix)".dependencies.signal-hook] version = "0.3" optional = true default-features = false [target."cfg(unix)".dependencies.skim] version = "0.10" optional = true default-features = false [target."cfg(unix)".dependencies.termios] version = "0.3.3" optional = true [target."cfg(unix)".dependencies.utf8parse] version = "0.2" [target."cfg(windows)".dependencies.clipboard-win] version = "5.0" [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_System_Console", "Win32_Security", "Win32_System_Threading", "Win32_UI_Input_KeyboardAndMouse", ] [badges.maintenance] status = "actively-developed"