<commit_before>use crate::{future::FutureExt, try_future::TryFutureExt};
use std::{
    future::FutureObj,
    task::{Executor, SpawnErrorKind, SpawnObjError},
};
use tokio_executor::{DefaultExecutor, Executor as TokioExecutor};

/// An executor that delegates to `tokio`'s
/// [`DefaultExecutor`][tokio_executor::DefaultExecutor], will panic if used in
/// the context of a task that is not running on `tokio`'s executor.
///<commit_msg>Add forward compatibility notice to tokio compat.<commit_after>use crate::{future::FutureExt, try_future::TryFutureExt};
use std::{
    future::FutureObj,
    task::{Executor, SpawnErrorKind, SpawnObjError},
};
use tokio_executor::{DefaultExecutor, Executor as TokioExecutor};

/// An executor that delegates to `tokio`'s
/// [`DefaultExecutor`][tokio_executor::DefaultExecutor], will panic if used in
/// the context of a task that is not running on `tokio`'s executor.
///
/// *NOTE* The future of this struct in `futures` is uncertain. It may be
/// deprecated before or soon after the initial 0.3 release and moved to a
/// feature in `tokio` instead.
///
{'fraction_non_alphanumeric': 0.13309024612579762, 'fraction_numerical': 0.0018231540565177757, 'mean_word_length': 4.935135135135135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7535524', 'n_tokens_mistral': 324, 'n_tokens_neox': 326, 'n_words': 112}