diff options
Diffstat (limited to 'size-optimisations.patch')
-rw-r--r-- | size-optimisations.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/size-optimisations.patch b/size-optimisations.patch index e60f9e6d960f..7c7c1902011f 100644 --- a/size-optimisations.patch +++ b/size-optimisations.patch @@ -1,10 +1,10 @@ diff --git a/Cargo.toml b/Cargo.toml -index 558ceb5..913630d 100644 +index 5541e99..cda7add 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -6,6 +6,11 @@ edition = "2018" - - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +@@ -9,6 +9,11 @@ edition = "2021" + [lib] + crate-type = ["cdylib"] +[profile.release] +panic = 'abort' @@ -12,5 +12,5 @@ index 558ceb5..913630d 100644 +lto = true + [dependencies] - serde = { version = "1.0", features = ["derive"] } - serde_json = "1.0" + serde = { version = "1.0.137", features = ["derive"] } + serde_json = "1.0.81" |