mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Support no_std
(#332)
* Support `no_std` Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Fix typo Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
parent
293133f910
commit
5bc109a7ad
13 changed files with 71 additions and 14 deletions
|
@ -32,8 +32,13 @@
|
|||
//!
|
||||
//! println!("AST: {:?}", ast);
|
||||
//! ```
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
extern crate alloc;
|
||||
|
||||
pub mod ast;
|
||||
#[macro_use]
|
||||
pub mod dialect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue