mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-23 07:29:54 +00:00
Remove jemalloc for test
This commit is contained in:
parent
0d373222b9
commit
d15a2669a8
@ -42,10 +42,12 @@ default-features = false
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
jemallocator = "^0.3"
|
|
||||||
doc-comment = "0.3"
|
doc-comment = "0.3"
|
||||||
proptest = "1.0.0"
|
proptest = "1.0.0"
|
||||||
|
|
||||||
|
[target.'cfg(not(all(target_os = "windows", target_env = "msvc")))'.dev-dependencies]
|
||||||
|
jemallocator = "^0.3"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
version_check = "0.9"
|
version_check = "0.9"
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#![cfg(feature = "alloc")]
|
#![cfg(feature = "alloc")]
|
||||||
|
|
||||||
#[global_allocator]
|
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
||||||
|
|
||||||
use nom::{
|
use nom::{
|
||||||
branch::alt,
|
branch::alt,
|
||||||
bytes::complete::{escaped, tag, take_while},
|
bytes::complete::{escaped, tag, take_while},
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
#![cfg(feature = "alloc")]
|
#![cfg(feature = "alloc")]
|
||||||
|
|
||||||
|
|
||||||
use jemallocator;
|
|
||||||
|
|
||||||
#[global_allocator]
|
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
||||||
|
|
||||||
use nom::{
|
use nom::{
|
||||||
branch::alt,
|
branch::alt,
|
||||||
bytes::complete::{escaped, tag, take_while},
|
bytes::complete::{escaped, tag, take_while},
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
#![cfg(feature = "alloc")]
|
#![cfg(feature = "alloc")]
|
||||||
|
|
||||||
#[global_allocator]
|
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
||||||
|
|
||||||
use nom::{
|
use nom::{
|
||||||
branch::alt,
|
branch::alt,
|
||||||
bytes::complete::tag,
|
bytes::complete::tag,
|
||||||
|
@ -11,9 +11,6 @@
|
|||||||
|
|
||||||
#![cfg(feature = "alloc")]
|
#![cfg(feature = "alloc")]
|
||||||
|
|
||||||
#[global_allocator]
|
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
||||||
|
|
||||||
use nom::branch::alt;
|
use nom::branch::alt;
|
||||||
use nom::bytes::streaming::{is_not, take_while_m_n};
|
use nom::bytes::streaming::{is_not, take_while_m_n};
|
||||||
use nom::character::streaming::{char, multispace1};
|
use nom::character::streaming::{char, multispace1};
|
||||||
|
@ -445,16 +445,16 @@ pub use self::str::*;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
|
||||||
|
pub mod combinator;
|
||||||
mod internal;
|
mod internal;
|
||||||
mod traits;
|
mod traits;
|
||||||
pub mod combinator;
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod branch;
|
pub mod branch;
|
||||||
pub mod sequence;
|
|
||||||
pub mod multi;
|
pub mod multi;
|
||||||
|
pub mod sequence;
|
||||||
|
|
||||||
pub mod bytes;
|
|
||||||
pub mod bits;
|
pub mod bits;
|
||||||
|
pub mod bytes;
|
||||||
|
|
||||||
pub mod character;
|
pub mod character;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user