mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 00:20:00 -07:00
Remove PartialEq, Clone, Serialize from LTE RRC parser
Compiling telecom-parser takes 2 minutes on my machine. After removing those derives it takes 1:15. I suspect it's mostly serde though.
This commit is contained in:
committed by
Will Greenberg
parent
300215206c
commit
e320874854
@@ -18,7 +18,7 @@ pub enum InformationElementError {
|
||||
UnsupportedGsmtapType(GsmtapType),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
pub enum InformationElement {
|
||||
GSM,
|
||||
UMTS,
|
||||
@@ -28,7 +28,7 @@ pub enum InformationElement {
|
||||
FiveG,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug)]
|
||||
pub enum LteInformationElement {
|
||||
DlCcch(lte_rrc::DL_CCCH_Message),
|
||||
// This element of the enum is substantially larger than the others,
|
||||
|
||||
Reference in New Issue
Block a user