From db87de4086ab20803b652d90a5e8c1dae9a6fcb1 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 10 Mar 2018 17:02:23 +0100 Subject: [PATCH] Inline csv dependency --- Cargo.toml | 5 +---- src/vtab/mod.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ccb7117..82004df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ bitflags = "1.0" lru-cache = "0.1" chrono = { version = "0.4", optional = true } serde_json = { version = "1.0", optional = true } +csv = { version = "0.15", optional = true } [dev-dependencies] tempdir = "0.3" @@ -46,10 +47,6 @@ regex = "0.2" path = "libsqlite3-sys" version = "0.9" -[dependencies.csv] -version = "0.15" -optional = true - [[test]] name = "config_log" harness = false diff --git a/src/vtab/mod.rs b/src/vtab/mod.rs index d4fdaf4..0218ff6 100644 --- a/src/vtab/mod.rs +++ b/src/vtab/mod.rs @@ -35,7 +35,7 @@ use types::{FromSql, FromSqlError, ToSql, ValueRef}; // \-> vtab.xbestindex // stmt.query().next(); // \-> vtab.xopen -// |-> let cursor: Cursor = ...; // on the heap +// |-> let cursor: VTabCursor = ...; // on the heap // |-> cursor.xfilter or xnext // |-> cursor.xeof // \-> if not eof { cursor.column or xrowid } else { cursor.xclose }