Hello World works
This commit is contained in:
@@ -16,26 +16,26 @@ path = "src/lib.rs"
|
||||
async-event = "0.2.1"
|
||||
async-fn-stream = { version = "0.1.0", path = "../async-fn-stream" }
|
||||
async-once-cell = "0.5.4"
|
||||
chrono = "0.4.43"
|
||||
futures = { version = "0.3.31", features = ["std"], default-features = false }
|
||||
hashbrown = "0.16.1"
|
||||
chrono = "0.4.44"
|
||||
futures = { version = "0.3.32", features = ["std"], default-features = false }
|
||||
hashbrown = "0.17.0"
|
||||
itertools = "0.14.0"
|
||||
never = "0.1.0"
|
||||
once_cell = "1.21.3"
|
||||
once_cell = "1.21.4"
|
||||
orchid-api = { version = "0.1.0", path = "../orchid-api" }
|
||||
orchid-api-derive = { version = "0.1.0", path = "../orchid-api-derive" }
|
||||
orchid-api-traits = { version = "0.1.0", path = "../orchid-api-traits" }
|
||||
orchid-base = { version = "0.1.0", path = "../orchid-base" }
|
||||
orchid-extension = { version = "0.1.0", path = "../orchid-extension", features = [
|
||||
"tokio",
|
||||
"tokio",
|
||||
] }
|
||||
ordered-float = "5.1.0"
|
||||
pastey = "0.2.1"
|
||||
rust_decimal = "1.39.0"
|
||||
ordered-float = "5.3.0"
|
||||
pastey = "0.2.2"
|
||||
rust_decimal = "1.41.0"
|
||||
subslice-offset = "0.1.1"
|
||||
substack = "1.1.1"
|
||||
tokio = { version = "1.49.0", features = ["full"] }
|
||||
unicode-segmentation = "1.12.0"
|
||||
tokio = { version = "1.52.1", features = ["full"] }
|
||||
unicode-segmentation = "1.13.2"
|
||||
|
||||
[dev-dependencies]
|
||||
test_executors = "0.4.1"
|
||||
|
||||
@@ -137,7 +137,9 @@ impl Lexer for StringLexer {
|
||||
ret = Some(add_frag(ret, to_str_call).await);
|
||||
} else if tail.starts_with('\\') {
|
||||
// parse_string will deal with it, we just have to skip the next char
|
||||
tail = &tail[2..];
|
||||
let mut ch = tail.chars();
|
||||
cur.extend(ch.by_ref().take(2));
|
||||
tail = ch.as_str();
|
||||
} else {
|
||||
let mut ch = tail.chars();
|
||||
if let Some(c) = ch.next() {
|
||||
|
||||
Reference in New Issue
Block a user