diff --git a/Cargo.lock b/Cargo.lock index 21bff5f..42ab477 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -157,9 +157,8 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-codecs" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4ed1fe0647213e739f7ea78f50d3d0f6f9bef7285f6d8672aaca8365decfc3" +version = "0.7.0" +source = "git+https://github.com/ystero-dev/hampi?rev=67f3283764eda20022d190c3d3d6edd1a88047e0#67f3283764eda20022d190c3d3d6edd1a88047e0" dependencies = [ "bitvec", "log", @@ -169,10 +168,10 @@ dependencies = [ [[package]] name = "asn1-compiler" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d056f38f3e98ffe9808e6a482d1527e4ded46e72b3dbe77305f5508e76c5f6" +version = "0.7.0" +source = "git+https://github.com/ystero-dev/hampi?rev=67f3283764eda20022d190c3d3d6edd1a88047e0#67f3283764eda20022d190c3d3d6edd1a88047e0" dependencies = [ + "anyhow", "bitvec", "clap", "env_logger 0.10.2", @@ -187,9 +186,8 @@ dependencies = [ [[package]] name = "asn1_codecs_derive" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "394acf8791d3d345ed71e2e820355c9f8ad4202a99b97e59fb7b6595b18f28cd" +version = "0.7.0" +source = "git+https://github.com/ystero-dev/hampi?rev=67f3283764eda20022d190c3d3d6edd1a88047e0#67f3283764eda20022d190c3d3d6edd1a88047e0" dependencies = [ "asn1-codecs", "bitvec", diff --git a/bin/src/check.rs b/bin/src/check.rs index cca54e5..f2e8939 100644 --- a/bin/src/check.rs +++ b/bin/src/check.rs @@ -137,6 +137,7 @@ async fn main() { .with_colors(true) .without_timestamps() .with_level(level) + .with_module_level("asn1_codecs", log::LevelFilter::Error) .init() .unwrap(); info!("Analyzers:"); diff --git a/telcom-parser/Cargo.toml b/telcom-parser/Cargo.toml index ef98566..04f2192 100644 --- a/telcom-parser/Cargo.toml +++ b/telcom-parser/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -asn1-compiler = "0.6.1" -asn1-codecs = "0.6.1" -asn1_codecs_derive = "0.6.1" +asn1-compiler = { git = "https://github.com/ystero-dev/hampi", rev = "67f3283764eda20022d190c3d3d6edd1a88047e0" } +asn1-codecs = { git = "https://github.com/ystero-dev/hampi", rev = "67f3283764eda20022d190c3d3d6edd1a88047e0" } +asn1_codecs_derive = { git = "https://github.com/ystero-dev/hampi", rev = "67f3283764eda20022d190c3d3d6edd1a88047e0" } bitvec = { version = "1.0", features = ["serde"] } log = "0.4" thiserror = "1.0.56" diff --git a/telcom-parser/src/lte_rrc.rs b/telcom-parser/src/lte_rrc.rs index 0875256..c09c25f 100644 --- a/telcom-parser/src/lte_rrc.rs +++ b/telcom-parser/src/lte_rrc.rs @@ -1,3 +1,11 @@ +/* +This file was autogenerated using hampi (https://github.com/ystero-dev/hampi), do not modify! + + This place is not a place of honor... + no highly esteemed deed is commemorated here... + nothing valued is here. +*/ + pub const MAX_ACDC_CAT_R13: i64 = 16; pub const MAX_ACCESS_CAT_1_R15: i64 = 63;