@arrirpc/codegen-rust 0.81.1 → 0.81.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -2
- package/dist/index.mjs +10 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1954,7 +1954,14 @@ function createRustClient(def, context) {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
1956
|
if (rpcParts.length === 0 && subServiceContent.length === 0) {
|
|
1957
|
-
return `#![allow(
|
|
1957
|
+
return `#![allow(
|
|
1958
|
+
dead_code,
|
|
1959
|
+
unused_imports,
|
|
1960
|
+
unused_variables,
|
|
1961
|
+
unconditional_recursion,
|
|
1962
|
+
deprecated,
|
|
1963
|
+
clippy::all
|
|
1964
|
+
)]
|
|
1958
1965
|
use arri_client::{
|
|
1959
1966
|
chrono::{DateTime, FixedOffset},
|
|
1960
1967
|
serde_json::{self},
|
|
@@ -1971,7 +1978,8 @@ ${modelParts.join("\n\n")}`;
|
|
|
1971
1978
|
unused_imports,
|
|
1972
1979
|
unused_variables,
|
|
1973
1980
|
unconditional_recursion,
|
|
1974
|
-
deprecated
|
|
1981
|
+
deprecated,
|
|
1982
|
+
clippy::all
|
|
1975
1983
|
)]
|
|
1976
1984
|
use arri_client::{
|
|
1977
1985
|
chrono::{DateTime, FixedOffset},
|
package/dist/index.mjs
CHANGED
|
@@ -1946,7 +1946,14 @@ function createRustClient(def, context) {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
}
|
|
1948
1948
|
if (rpcParts.length === 0 && subServiceContent.length === 0) {
|
|
1949
|
-
return `#![allow(
|
|
1949
|
+
return `#![allow(
|
|
1950
|
+
dead_code,
|
|
1951
|
+
unused_imports,
|
|
1952
|
+
unused_variables,
|
|
1953
|
+
unconditional_recursion,
|
|
1954
|
+
deprecated,
|
|
1955
|
+
clippy::all
|
|
1956
|
+
)]
|
|
1950
1957
|
use arri_client::{
|
|
1951
1958
|
chrono::{DateTime, FixedOffset},
|
|
1952
1959
|
serde_json::{self},
|
|
@@ -1963,7 +1970,8 @@ ${modelParts.join("\n\n")}`;
|
|
|
1963
1970
|
unused_imports,
|
|
1964
1971
|
unused_variables,
|
|
1965
1972
|
unconditional_recursion,
|
|
1966
|
-
deprecated
|
|
1973
|
+
deprecated,
|
|
1974
|
+
clippy::all
|
|
1967
1975
|
)]
|
|
1968
1976
|
use arri_client::{
|
|
1969
1977
|
chrono::{DateTime, FixedOffset},
|