diff --git a/CHANGELOG.md b/CHANGELOG.md index fbc4ba1..7fc2fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved plugins binary, config, file and system-environment from `reactive-graph/std` -> `reactive-graph/sys` - Prefix plugins with `sys` (e.g. `libreactive_graph_sys_binary`) - Refactored usages of `std` to its new namespace +- Configure lints on workspace level +- Replaced lazy_static with LazyLock ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 63d21f9..20dbf9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,14 +143,15 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" +checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" dependencies = [ "async-task", "concurrent-queue", "fastrand 2.3.0", "futures-lite", + "pin-project-lite", "slab", ] @@ -329,9 +330,9 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cc" -version = "1.2.20" +version = "1.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04da6a0d40b948dfc4fa8f5bbf402b0fc1a64a28dbf7d12ffd683550f2c1b63a" +checksum = "8691782945451c1c383942c4874dbe63814f61cb57ef773cda2972682b7bb3c0" dependencies = [ "shlex", ] @@ -355,9 +356,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.40" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" dependencies = [ "android-tzdata", "iana-time-zone", @@ -420,7 +421,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -686,7 +687,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -864,9 +865,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" [[package]] name = "heck" @@ -963,7 +964,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.15.3", ] [[package]] @@ -1593,7 +1594,7 @@ dependencies = [ [[package]] name = "reactive-graph-behaviour-model-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "dashmap", "reactive-graph-graph", @@ -1608,7 +1609,7 @@ dependencies = [ [[package]] name = "reactive-graph-behaviour-model-impl" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "dashmap", "log", @@ -1625,7 +1626,7 @@ dependencies = [ [[package]] name = "reactive-graph-behaviour-service-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "async-trait", "reactive-graph-behaviour-model-api", @@ -1640,10 +1641,9 @@ dependencies = [ [[package]] name = "reactive-graph-command-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "clap", - "lazy_static", "reactive-graph-graph", "reactive-graph-reactive-model-api", "reactive-graph-reactive-model-impl", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "reactive-graph-config-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "num_cpus", "reactive-graph-remotes-model", @@ -1668,13 +1668,13 @@ dependencies = [ [[package]] name = "reactive-graph-graph" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "dashmap", "default-test", "rand 0.9.1", "rand_derive3", - "reactive-graph-test-utils", + "reactive-graph-utils-test", "schemars", "serde", "serde_json", @@ -1687,7 +1687,7 @@ dependencies = [ [[package]] name = "reactive-graph-lifecycle" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "async-trait", ] @@ -1695,7 +1695,7 @@ dependencies = [ [[package]] name = "reactive-graph-plugin-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "async-trait", "http", @@ -1720,12 +1720,12 @@ dependencies = [ [[package]] name = "reactive-graph-plugin-derive" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" [[package]] name = "reactive-graph-reactive-derive" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "darling", "proc-macro2", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "reactive-graph-reactive-model-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "reactive-graph-graph", "serde_json", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "reactive-graph-reactive-model-impl" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "dashmap", "reactive-graph-behaviour-model-api", @@ -1762,7 +1762,7 @@ dependencies = [ [[package]] name = "reactive-graph-reactive-service-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "async-trait", "crossbeam", @@ -1786,7 +1786,7 @@ dependencies = [ [[package]] name = "reactive-graph-remotes-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "chrono", "serde", @@ -1796,7 +1796,7 @@ dependencies = [ [[package]] name = "reactive-graph-runtime-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "reactive-graph-graph", "serde", @@ -1807,7 +1807,7 @@ dependencies = [ [[package]] name = "reactive-graph-serde" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "json5", "serde_json", @@ -1818,7 +1818,7 @@ dependencies = [ [[package]] name = "reactive-graph-std-base-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/std.git#8d79aac74be180265da4e3adf6bb47e803cafd33" +source = "git+https://github.com/reactive-graph/std.git#a9934a992e9a5bc931de708a813c9a4e71e98990" dependencies = [ "license", "paste", @@ -1832,7 +1832,7 @@ dependencies = [ [[package]] name = "reactive-graph-std-result-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/std.git#8d79aac74be180265da4e3adf6bb47e803cafd33" +source = "git+https://github.com/reactive-graph/std.git#a9934a992e9a5bc931de708a813c9a4e71e98990" dependencies = [ "reactive-graph-graph", "serde", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "reactive-graph-std-value-model" version = "0.10.0" -source = "git+https://github.com/reactive-graph/std.git#8d79aac74be180265da4e3adf6bb47e803cafd33" +source = "git+https://github.com/reactive-graph/std.git#a9934a992e9a5bc931de708a813c9a4e71e98990" dependencies = [ "dashmap", "paste", @@ -1892,7 +1892,6 @@ name = "reactive-graph-sys-binary-model" version = "0.10.0" dependencies = [ "data-url", - "lazy_static", "paste", "reactive-graph-behaviour-model-api", "reactive-graph-graph", @@ -1935,7 +1934,6 @@ dependencies = [ name = "reactive-graph-sys-config-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -1976,7 +1974,6 @@ dependencies = [ name = "reactive-graph-sys-file-model" version = "0.10.0" dependencies = [ - "lazy_static", "paste", "reactive-graph-behaviour-model-api", "reactive-graph-graph", @@ -2016,7 +2013,6 @@ dependencies = [ name = "reactive-graph-sys-json-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2063,22 +2059,10 @@ dependencies = [ "uuid", ] -[[package]] -name = "reactive-graph-test-utils" -version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" -dependencies = [ - "colored", - "log", - "log4rs", - "random-string", - "serde_json", -] - [[package]] name = "reactive-graph-type-system-api" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "async-trait", "json5", @@ -2098,7 +2082,7 @@ dependencies = [ [[package]] name = "reactive-graph-type-system-derive" version = "0.10.0" -source = "git+https://github.com/reactive-graph/reactive-graph.git#d3d99a3afede51daa07195d99c0a979e73ffdba8" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" dependencies = [ "darling", "proc-macro2", @@ -2106,6 +2090,18 @@ dependencies = [ "syn 2.0.101", ] +[[package]] +name = "reactive-graph-utils-test" +version = "0.10.0" +source = "git+https://github.com/reactive-graph/reactive-graph.git#ef5b82dd9ca1a538aac384d82451e80d9f5593ab" +dependencies = [ + "colored", + "log", + "log4rs", + "random-string", + "serde_json", +] + [[package]] name = "redox_syscall" version = "0.5.11" @@ -2221,7 +2217,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2364,9 +2360,9 @@ checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -2861,7 +2857,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3013,9 +3009,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.7.7" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb8234a863ea0e8cd7284fcdd4f145233eb00fee02bbdd9861aec44e6477bc5" +checksum = "d9fb597c990f03753e08d3c29efbfcf2019a003b4bf4ba19225c158e1549f0f3" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index 27d83b6..72ba86f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,6 @@ crossbeam = "0.8" data-url = "0.3" http = "0.2" infer = "0.19" -lazy_static = "1.4" log = { version = "0.4", features = ["std", "serde"] } log4rs = { version = "1.2", features = ["console_appender", "file_appender", "toml_format"] } matchit = "0.8" @@ -67,6 +66,12 @@ reactive-graph-std-base-model = { version = "0.10.0", git = "https://github.com/ reactive-graph-std-result-model = { version = "0.10.0", git = "https://github.com/reactive-graph/std.git" } reactive-graph-std-value-model = { version = "0.10.0", git = "https://github.com/reactive-graph/std.git" } +[workspace.lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)', 'cfg(fn_traits)', 'cfg(unboxed_closures)'] } + +[workspace.lints.clippy] +non_std_lazy_statics = "warn" + [profile.dev] opt-level = 0 diff --git a/deployment/Cargo.toml b/deployment/Cargo.toml index 910904b..144aa5f 100644 --- a/deployment/Cargo.toml +++ b/deployment/Cargo.toml @@ -9,6 +9,9 @@ publish = false [lib] crate-type = ["lib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] toml = "0.8" serde = { version = "1.0", features = ["derive"] } diff --git a/plugins/binary/crates/model/Cargo.toml b/plugins/binary/crates/model/Cargo.toml index 52ae3b5..e54385b 100644 --- a/plugins/binary/crates/model/Cargo.toml +++ b/plugins/binary/crates/model/Cargo.toml @@ -11,7 +11,6 @@ readme = "../../../../README.md" [dependencies] data-url = { workspace = true } -lazy_static = { workspace = true } paste = { workspace = true } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -27,3 +26,6 @@ reactive-graph-sys-file-model = { version = "0.10.0", path = "../../../file/crat [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/binary/crates/plugin/Cargo.toml b/plugins/binary/crates/plugin/Cargo.toml index 96b94ed..5c97722 100644 --- a/plugins/binary/crates/plugin/Cargo.toml +++ b/plugins/binary/crates/plugin/Cargo.toml @@ -53,5 +53,8 @@ reactive-graph-graph = { workspace = true, features = ["test"] } # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] reactive-graph-utils-deployment = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } diff --git a/plugins/binary/crates/plugin/src/behaviour/component/save_binary_data.rs b/plugins/binary/crates/plugin/src/behaviour/component/save_binary_data.rs index d02ec37..b5a7e08 100644 --- a/plugins/binary/crates/plugin/src/behaviour/component/save_binary_data.rs +++ b/plugins/binary/crates/plugin/src/behaviour/component/save_binary_data.rs @@ -45,10 +45,7 @@ impl BehaviourConnect for SaveBinaryDataBehaviourTransitio let mut parts = data_url.splitn(2, ','); let _part_data_url_prefix = parts.next(); let bytes = match parts.next() { - Some(part_base64_encoded_data) => match STANDARD.decode(part_base64_encoded_data) { - Ok(bytes) => Some(bytes), - Err(_) => None, - }, + Some(part_base64_encoded_data) => STANDARD.decode(part_base64_encoded_data).ok(), None => None, }; if bytes.is_none() { diff --git a/plugins/config/crates/model/Cargo.toml b/plugins/config/crates/model/Cargo.toml index 9c06066..88acb13 100644 --- a/plugins/config/crates/model/Cargo.toml +++ b/plugins/config/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde_json = { workspace = true } reactive-graph-behaviour-model-api = { workspace = true } @@ -24,3 +23,6 @@ reactive-graph-sys-file-model = { version = "0.10.0", path = "../../../file/crat [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/config/crates/plugin/Cargo.toml b/plugins/config/crates/plugin/Cargo.toml index 2821790..5f7af6d 100644 --- a/plugins/config/crates/plugin/Cargo.toml +++ b/plugins/config/crates/plugin/Cargo.toml @@ -48,5 +48,8 @@ reactive-graph-sys-file-model = { version = "0.10.0", path = "../../../file/crat # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] reactive-graph-utils-deployment = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } diff --git a/plugins/config/crates/plugin/src/behaviour/component/config_file.rs b/plugins/config/crates/plugin/src/behaviour/component/config_file.rs index b8b4828..f877888 100644 --- a/plugins/config/crates/plugin/src/behaviour/component/config_file.rs +++ b/plugins/config/crates/plugin/src/behaviour/component/config_file.rs @@ -54,13 +54,13 @@ fn read_toml(filename: String) -> Option { match data { Ok(data) => Some(data), Err(e) => { - error!("Failed to parse config file {}: {}", filename, e.to_string()); + error!("Failed to parse config file {}: {}", filename, e); None } } } Err(e) => { - error!("config file {} does not exist: {}", filename, e.to_string()); + error!("config file {} does not exist: {}", filename, e); None } } diff --git a/plugins/file/crates/model/Cargo.toml b/plugins/file/crates/model/Cargo.toml index 6476041..4e9d222 100644 --- a/plugins/file/crates/model/Cargo.toml +++ b/plugins/file/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } paste = { workspace = true } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -23,3 +22,6 @@ reactive-graph-runtime-model = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/file/crates/plugin/Cargo.toml b/plugins/file/crates/plugin/Cargo.toml index 189c6c2..5a0b208 100644 --- a/plugins/file/crates/plugin/Cargo.toml +++ b/plugins/file/crates/plugin/Cargo.toml @@ -49,5 +49,8 @@ reactive-graph-graph = { workspace = true, features = ["test"] } # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] reactive-graph-utils-deployment = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } diff --git a/plugins/json/crates/model/Cargo.toml b/plugins/json/crates/model/Cargo.toml index 0a04c75..a7ec278 100644 --- a/plugins/json/crates/model/Cargo.toml +++ b/plugins/json/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -26,3 +25,6 @@ reactive-graph-sys-file-model = { version = "0.10.0", path = "../../../file/crat [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/json/crates/plugin/Cargo.toml b/plugins/json/crates/plugin/Cargo.toml index ce6585f..ba29028 100644 --- a/plugins/json/crates/plugin/Cargo.toml +++ b/plugins/json/crates/plugin/Cargo.toml @@ -48,5 +48,8 @@ reactive-graph-graph = { workspace = true, features = ["test"] } # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] reactive-graph-utils-deployment = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } diff --git a/plugins/system-environment/crates/model/Cargo.toml b/plugins/system-environment/crates/model/Cargo.toml index adc1fad..0965da8 100644 --- a/plugins/system-environment/crates/model/Cargo.toml +++ b/plugins/system-environment/crates/model/Cargo.toml @@ -22,3 +22,6 @@ reactive-graph-graph = { workspace = true, features = ["test"] } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/system-environment/crates/plugin/Cargo.toml b/plugins/system-environment/crates/plugin/Cargo.toml index a8aa62f..05151e9 100644 --- a/plugins/system-environment/crates/plugin/Cargo.toml +++ b/plugins/system-environment/crates/plugin/Cargo.toml @@ -44,5 +44,8 @@ reactive-graph-sys-system-environment-model = { version = "0.10.0", path = "../. # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] +[lints] +workspace = true + [package.metadata.cargo-post.dependencies] reactive-graph-utils-deployment = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" }