diff --git a/Cargo.toml b/Cargo.toml index f78f6541..c103eabf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,9 +31,7 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo serde_json = { version = "1.0", default-features = false, features = ["alloc"], optional = true } unicode-xid = { version = "0.2", default-features = false, optional = true } rust_decimal = { version = "1.16", default-features = false, features = ["maths"], optional = true } -# notice that a custom modified version of `rustyline` is used which supports bracketed paste on Windows -# this can be moved to the official version when bracketed paste is added -rustyline = { version = "9", optional = true, git = "https://github.com/schungx/rustyline" } +rustyline = { version = "9", optional = true } [dev-dependencies] serde_bytes = "0.11" @@ -91,3 +89,8 @@ instant = { version = "0.1.10" } # WASM implementation of std::time::Instant [package.metadata.docs.rs] features = ["metadata", "serde", "internals", "decimal", "debugging"] + +[patch.crates-io] +# Notice that a custom modified version of `rustyline` is used which supports bracketed paste on Windows. +# This can be moved to the official version when bracketed paste is added. +rustyline = { git = "https://github.com/schungx/rustyline" }