mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-01 11:47:20 +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
|
@ -16,7 +16,15 @@
|
|||
//
|
||||
// Integration tests (i.e. everything under `tests/`) import this
|
||||
// via `tests/test_utils/mod.rs`.
|
||||
use std::fmt::Debug;
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use alloc::{
|
||||
boxed::Box,
|
||||
string::{String, ToString},
|
||||
vec,
|
||||
vec::Vec,
|
||||
};
|
||||
use core::fmt::Debug;
|
||||
|
||||
use crate::ast::*;
|
||||
use crate::dialect::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue