11 releases

Uses old Rust 2015

0.0.11 Feb 5, 2020
0.0.10 Dec 9, 2019
0.0.9 Aug 21, 2019
0.0.7 Jul 16, 2019
0.0.3 Apr 16, 2018

#1936 in Parser implementations

Download history 73/week @ 2024-03-11 54/week @ 2024-03-18 21/week @ 2024-03-25 80/week @ 2024-04-01 26/week @ 2024-04-08 22/week @ 2024-04-15 33/week @ 2024-04-22 39/week @ 2024-04-29 29/week @ 2024-05-06 30/week @ 2024-05-13 28/week @ 2024-05-20 23/week @ 2024-05-27 19/week @ 2024-06-03 20/week @ 2024-06-10 38/week @ 2024-06-17 24/week @ 2024-06-24

103 downloads per month
Used in 7 crates (6 directly)

MIT license

230KB
6K SLoC

nom-sql

Build Status

An incomplete Rust SQL parser written using nom.

This parser is a work in progress. It currently supports:

  • most CREATE TABLE queries;
  • most INSERT queries;
  • simple SELECT queries;
  • simple UPDATE queries; and
  • simple DELETE queries.

We try to support both the SQLite and MySQL syntax; where they disagree, we choose MySQL. (It would be nice to support both via feature flags in the future.)

Dependencies

~1.2–2MB
~41K SLoC