remove rug completely

This commit is contained in:
Fayeed Pawaskar
2023-07-24 10:12:22 +05:30
parent c89217903a
commit 0e17d6acd7
4 changed files with 0 additions and 37 deletions

View File

@@ -26,7 +26,6 @@ use crate::machine::stack::*;
use crate::machine::streams::*;
use crate::parser::char_reader::*;
use crate::parser::dashu::Integer;
use crate::parser::rug::rand::RandState;
use crate::read::*;
use crate::types::*;
use rand::{Rng, SeedableRng};
@@ -93,10 +92,6 @@ use hyper_tls::HttpsConnector;
use tokio::sync::Mutex;
use tokio::sync::mpsc::channel;
ref_thread_local! {
pub(crate) static managed RANDOM_STATE: RandState<'static> = RandState::new();
}
pub(crate) fn get_key() -> KeyEvent {
let key;
enable_raw_mode().expect("failed to enable raw mode");