-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this project dead? #123
Comments
It seems @gwenn is still doing some work on their fork. Will these changes be merged? 🙂 |
@Marwes kkawakam added me as a collaborator. So I should be able to integrate any PR. But it means I will be my own reviewer and I don't feel able to do it, sorry. |
https://www.reddit.com/r/rust/comments/8dez26/dealing_with_terminal_editing_à_la_readline/
|
We were just talking about the status of Rustyline on the codespan gitter channel. @Marwes and I have been using rustyline on Gluon and Pikelet respectively, and have been very happy! I'd like to see some dependencies updated though, like in #119. @gwenn Do you have publishing rights to the crate on crates.io? Just wondering if we should be forking... has anybody fired off an email to @kkawakam yet to see if everything's alright with them? |
@brendanzab No, I guess I don't have rights to publish on crates.io but @kkawakam said:
I guess all dependencies have already been updated in my branch. |
I'd be fine with breaking changes, (as long as no features that I use are missing). There aren't that many places where I call into the crate so it shouldn't be that hard to change. |
For Pikelet,
Impacted by #77 |
For Gluon, |
Yup, I'm perfectly fine with breaking changes! Re. crates.io - it is a little worrying to only have one person with access. 'bus factor' and all - I've been trying to add more people as co-owners to my crates just in case something ever happens to me! |
For gluon, diff --git a/repl/Cargo.toml b/repl/Cargo.toml
index a99a3024..5332f986 100644
--- a/repl/Cargo.toml
+++ b/repl/Cargo.toml
@@ -32,7 +32,7 @@ structopt = "0.2"
log = "0.4"
env_logger = { version = "0.5", optional = true }
lazy_static = "0.2.0"
-rustyline = "1.0.0"
+rustyline = { git = "https://github.com/gwenn/rustyline", version = "2.0.0-alpha" }
walkdir = "2"
codespan = "0.1.1"
codespan-reporting = "0.1.1"
diff --git a/repl/src/repl.rs b/repl/src/repl.rs
index d584f259..b4809ef0 100644
--- a/repl/src/repl.rs
+++ b/repl/src/repl.rs
@@ -244,7 +244,7 @@ fn readline(editor: &Editor, prompt: &str) -> IO<Result<String, ReadlineError>>
Err(err) => return IO::Exception(format!("{}", err)),
};
if !input.trim().is_empty() {
- editor.add_history_entry(&input);
+ editor.add_history_entry(input.as_ref());
}
IO::Value(Ok(input)) Compiled but not tested |
Hi, I tested the latest 2.0.0-alpha on my chess engine and it works well on GNU/Linux ( The changes required were the same: vinc/littlewing@dd42d9a |
Yup, same here for Pikelet. Can we get this published to crates.io? |
Rustyline seems dormant (kkawakam/rustyline#123), so this switches us over to linefeed. This cuts down on the very old dependencies that rustyline was pulling in, and will provide us with async support in the future.
Rustyline seems dormant (kkawakam/rustyline#123), so this switches us over to linefeed. This cuts down on the very old dependencies that rustyline was pulling in, and will provide us with async support in the future.
See #89 (comment) |
2.0 released |
No description provided.
The text was updated successfully, but these errors were encountered: