WIP: try rasn tweaks
1.2 instead of 1.9 MB
This commit is contained in:
parent
db4dffa7b3
commit
6bfccf7f22
2 changed files with 13 additions and 10 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
|
@ -125,8 +125,7 @@ checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
|
|||
[[package]]
|
||||
name = "c-its-parser"
|
||||
version = "2.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "eccb42b3a46ca58bcb038eb2e593c9733023ea54b2f3738374ec93c86136a0fd"
|
||||
source = "git+https://github.com/consider-it/C-ITS-Parser.git?branch=feat%2Frasn-tweaks#f3208f5d2d1e14265809c652ce62d0668d1f3af6"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"etherparse",
|
||||
|
|
@ -1681,8 +1680,7 @@ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
|
|||
[[package]]
|
||||
name = "rasn"
|
||||
version = "0.28.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "88235e585f2f3fc26ad809c79a84dd77e6a7203eb7d12e5bcaab89fc036d3d90"
|
||||
source = "git+https://github.com/consider-it/rasn.git?branch=feat%2Ffeature-flags#2f7833af4339cac3be1775c2cd262e735f5e8ad0"
|
||||
dependencies = [
|
||||
"bitvec",
|
||||
"bitvec-nom2",
|
||||
|
|
@ -1696,7 +1694,6 @@ dependencies = [
|
|||
"num-traits",
|
||||
"once_cell",
|
||||
"rasn-derive",
|
||||
"serde_json",
|
||||
"snafu",
|
||||
"xml-no-std",
|
||||
]
|
||||
|
|
@ -1704,8 +1701,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "rasn-derive"
|
||||
version = "0.28.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "11dcd4dab09ceadedb3e2bedf340deb583f0e25bba9ad966b5655c2fb62b1392"
|
||||
source = "git+https://github.com/consider-it/rasn.git?branch=feat%2Ffeature-flags#2f7833af4339cac3be1775c2cd262e735f5e8ad0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"rasn-derive-impl",
|
||||
|
|
@ -1715,8 +1711,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "rasn-derive-impl"
|
||||
version = "0.28.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f121c276d3f2fba8caabc870288de3f81abdb0bb94d5510651e58e1e00a7b9e7"
|
||||
source = "git+https://github.com/consider-it/rasn.git?branch=feat%2Ffeature-flags#2f7833af4339cac3be1775c2cd262e735f5e8ad0"
|
||||
dependencies = [
|
||||
"either",
|
||||
"itertools",
|
||||
|
|
|
|||
10
Cargo.toml
10
Cargo.toml
|
|
@ -43,7 +43,7 @@ esp-radio = { version = "0.18.0", features = [
|
|||
"sniffer",
|
||||
] }
|
||||
|
||||
c-its-parser = { version = "2.1.0", default-features = false, features = [
|
||||
c-its-parser = { version = "2.1.0", git = "https://github.com/consider-it/C-ITS-Parser.git", branch = "feat/rasn-tweaks", default-features = false, features = [
|
||||
"time",
|
||||
"geo",
|
||||
"libm",
|
||||
|
|
@ -68,6 +68,14 @@ lto = 'fat'
|
|||
opt-level = 's'
|
||||
strip = "debuginfo"
|
||||
|
||||
## cargo build --release && espflash save-image --chip esp32c5 target/riscv32imac-unknown-none-elf/release/esp32-c_its-companion out.bin
|
||||
# default rasn, debug 2, strip default: 1,904,496 byte
|
||||
# default rasn, debug 2, strip true: 1,904,592 byte
|
||||
# default rasn, debug default, strip default: 1,905,312 byte
|
||||
# only UPER, debug 2, strip default: 1,229,840 byte
|
||||
# only UPER, debug 2, strip true: 1,229,760 byte
|
||||
# only UPER, debug default, strip default: 1,231,136 byte
|
||||
|
||||
[profile.release-dbg]
|
||||
inherits = "release"
|
||||
strip = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue