diff --git a/CHANGELOG.md b/CHANGELOG.md index 59aab3f9..229be0c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved system library plugins to `reactive-graph/sys` - Moved tooling library plugins to `reactive-graph/tooling` - Moved network library plugins to `reactive-graph/net` +- Configure lints on workspace level ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 4eb08e39..db823457 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,14 +171,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", ] @@ -355,9 +356,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", ] @@ -663,9 +664,9 @@ checksum = "3c877555693c14d2f84191cfd3ad8582790fc52b5e2274b40b59cf5f5cea25c7" [[package]] name = "deunicode" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc55fe0d1f6c107595572ec8b107c0999bb1a2e0b75e37429a4fb0d6474a0e7d" +checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" [[package]] name = "digest" @@ -904,9 +905,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" @@ -1028,7 +1029,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.15.3", ] [[package]] @@ -1615,7 +1616,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", @@ -1630,7 +1631,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", @@ -1647,7 +1648,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", @@ -1662,10 +1663,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", @@ -1680,7 +1680,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", @@ -1690,13 +1690,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", @@ -1709,7 +1709,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", ] @@ -1717,7 +1717,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", @@ -1742,12 +1742,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", @@ -1758,7 +1758,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", @@ -1769,7 +1769,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", @@ -1784,7 +1784,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", @@ -1808,7 +1808,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", @@ -1818,7 +1818,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", @@ -1829,7 +1829,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", @@ -1867,7 +1867,6 @@ dependencies = [ name = "reactive-graph-std-arithmetic-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -1909,7 +1908,6 @@ dependencies = [ name = "reactive-graph-std-array-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 @@ name = "reactive-graph-std-color-model" version = "0.10.0" dependencies = [ "angular-units", - "lazy_static", "paste", "prisma", "reactive-graph-behaviour-model-api", @@ -2049,7 +2046,6 @@ dependencies = [ name = "reactive-graph-std-connector-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2089,7 +2085,6 @@ dependencies = [ name = "reactive-graph-std-date-time-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2158,7 +2153,6 @@ dependencies = [ name = "reactive-graph-std-logical-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2261,7 +2255,6 @@ dependencies = [ name = "reactive-graph-std-object-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2304,7 +2297,6 @@ dependencies = [ name = "reactive-graph-std-random-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2404,7 +2396,6 @@ dependencies = [ name = "reactive-graph-std-string-model" version = "0.10.0" dependencies = [ - "lazy_static", "reactive-graph-behaviour-model-api", "reactive-graph-graph", "reactive-graph-reactive-model-api", @@ -2483,8 +2474,8 @@ dependencies = [ "reactive-graph-reactive-model-impl", "reactive-graph-reactive-service-api", "reactive-graph-std-value-model", - "reactive-graph-test-utils", "reactive-graph-type-system-api", + "reactive-graph-utils-test", "rust-embed", "serde", "serde_json", @@ -2503,29 +2494,17 @@ dependencies = [ "reactive-graph-reactive-model-api", "reactive-graph-reactive-model-impl", "reactive-graph-reactive-service-api", - "reactive-graph-test-utils", + "reactive-graph-utils-test", "serde", "serde_json", "strum_macros", "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", @@ -2545,7 +2524,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", @@ -2553,6 +2532,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" @@ -2840,9 +2831,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", @@ -3579,9 +3570,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 0830f99f..b551d851 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,6 @@ async-trait = "0.1" chrono = "0.4" dashmap = { version = "6.0", features = ["serde"] } default-test = "0.1" -lazy_static = "1.4" license = "3.0" log = { version = "0.4", features = ["std", "serde"] } log4rs = { version = "1.2", features = ["console_appender", "file_appender", "toml_format"] } @@ -101,7 +100,7 @@ reactive-graph-reactive-service-api = { version = "0.10.0", git = "https://githu reactive-graph-reactive-service-impl = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } reactive-graph-type-system-api = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git", features = ["json5", "toml"] } reactive-graph-lifecycle = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } -reactive-graph-test-utils = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } +reactive-graph-utils-test = { version = "0.10.0", git = "https://github.com/reactive-graph/reactive-graph.git" } ### Prefer local to git for local development @@ -120,7 +119,13 @@ reactive-graph-test-utils = { version = "0.10.0", git = "https://github.com/reac #reactive-graph-runtime-model = { version = "0.10.0", path = "../inexor-rgf/crates/runtime/model" } #reactive-graph-type-system-api = { version = "0.10.0", path = "../inexor-rgf/crates/type-system/api", features = ["json5", "toml"] } #reactive-graph-lifecycle = { version = "0.10.0", path = "../inexor-rgf/crates/lifecycle" } -#reactive-graph-test-utils = { version = "0.10.0", path = "../inexor-rgf/crates/test-utils" } +#reactive-graph-utils-test = { version = "0.10.0", path = "../inexor-rgf/crates/utils/test" } + +[workspace.lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)', 'cfg(fn_traits)', 'cfg(unboxed_closures)', 'cfg(rustc_nightly)'] } + +[workspace.lints.clippy] +non_std_lazy_statics = "warn" [profile.dev] opt-level = 0 diff --git a/README.md b/README.md index 861e1d34..1e2776ba 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,6 @@ In this repository you'll find the essential plugins which are necessary or usef | Repository | Name | Description | |------------|-------------------------------------------|--------------------------------| -| net | [Git](./plugins/git/README.md) | Git VCS operations | -| net | [HTTP](./plugins/http/README.md) | HTTP and JSONRPC | | meta | [Meta Data](./plugins/metadata/README.md) | Meta Data - Dublin Core, EXIF | | meta | [Taxonomy](./plugins/taxonomy/README.md) | Taxonomy - categories and tags | diff --git a/deployment/Cargo.toml b/deployment/Cargo.toml index 87d71242..2bc5c0d5 100644 --- a/deployment/Cargo.toml +++ b/deployment/Cargo.toml @@ -9,5 +9,8 @@ publish = false [lib] crate-type = ["lib"] +[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/arithmetic/crates/model/Cargo.toml b/plugins/arithmetic/crates/model/Cargo.toml index 52ddc583..89d22f38 100644 --- a/plugins/arithmetic/crates/model/Cargo.toml +++ b/plugins/arithmetic/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -30,3 +29,6 @@ reactive-graph-graph = { workspace = true, features = ["test"] } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/arithmetic/crates/plugin/Cargo.toml b/plugins/arithmetic/crates/plugin/Cargo.toml index 35a913ec..27c7af66 100644 --- a/plugins/arithmetic/crates/plugin/Cargo.toml +++ b/plugins/arithmetic/crates/plugin/Cargo.toml @@ -55,8 +55,8 @@ rustc_nightly = [] # https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847/3 crate-type = ["cdylib"] -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] } +[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/array/crates/model/Cargo.toml b/plugins/array/crates/model/Cargo.toml index 6a8e1dd1..97e389d7 100644 --- a/plugins/array/crates/model/Cargo.toml +++ b/plugins/array/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 } @@ -25,3 +24,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/array/crates/plugin/Cargo.toml b/plugins/array/crates/plugin/Cargo.toml index b472d268..16c55dbc 100644 --- a/plugins/array/crates/plugin/Cargo.toml +++ b/plugins/array/crates/plugin/Cargo.toml @@ -47,5 +47,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/base/crates/model/Cargo.toml b/plugins/base/crates/model/Cargo.toml index 72da5694..7ebf99d8 100644 --- a/plugins/base/crates/model/Cargo.toml +++ b/plugins/base/crates/model/Cargo.toml @@ -21,3 +21,6 @@ reactive-graph-graph = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/base/crates/plugin/Cargo.toml b/plugins/base/crates/plugin/Cargo.toml index 6c764f42..3e71264a 100644 --- a/plugins/base/crates/plugin/Cargo.toml +++ b/plugins/base/crates/plugin/Cargo.toml @@ -35,5 +35,8 @@ reactive-graph-graph = { workspace = true } # 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/color/crates/model/Cargo.toml b/plugins/color/crates/model/Cargo.toml index 4587612f..a1289150 100644 --- a/plugins/color/crates/model/Cargo.toml +++ b/plugins/color/crates/model/Cargo.toml @@ -11,7 +11,6 @@ readme = "../../../../README.md" [dependencies] angular-units = { workspace = true } -lazy_static = { workspace = true } paste = { workspace = true } prisma = { workspace = true } serde = { workspace = true, features = ["derive"] } @@ -25,3 +24,6 @@ reactive-graph-reactive-model-impl = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/color/crates/plugin/Cargo.toml b/plugins/color/crates/plugin/Cargo.toml index 1ab9bf30..5c4a3231 100644 --- a/plugins/color/crates/plugin/Cargo.toml +++ b/plugins/color/crates/plugin/Cargo.toml @@ -43,5 +43,8 @@ reactive-graph-std-color-model = { version = "0.10.0", path = "../../crates/mode # 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/comparison/crates/model/Cargo.toml b/plugins/comparison/crates/model/Cargo.toml index 0c91955b..2a0161f3 100644 --- a/plugins/comparison/crates/model/Cargo.toml +++ b/plugins/comparison/crates/model/Cargo.toml @@ -22,3 +22,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/comparison/crates/plugin/Cargo.toml b/plugins/comparison/crates/plugin/Cargo.toml index 99b640c5..69ea7e6f 100644 --- a/plugins/comparison/crates/plugin/Cargo.toml +++ b/plugins/comparison/crates/plugin/Cargo.toml @@ -46,5 +46,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/connector/crates/model/Cargo.toml b/plugins/connector/crates/model/Cargo.toml index bceed864..fc5bb427 100644 --- a/plugins/connector/crates/model/Cargo.toml +++ b/plugins/connector/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -22,3 +21,6 @@ reactive-graph-reactive-model-impl = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/connector/crates/plugin/Cargo.toml b/plugins/connector/crates/plugin/Cargo.toml index a38a8830..03ea5dbc 100644 --- a/plugins/connector/crates/plugin/Cargo.toml +++ b/plugins/connector/crates/plugin/Cargo.toml @@ -44,5 +44,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/connector/crates/plugin/src/behaviour/relation/connector/function.rs b/plugins/connector/crates/plugin/src/behaviour/relation/connector/function.rs index 80f657bd..5140ba96 100644 --- a/plugins/connector/crates/plugin/src/behaviour/relation/connector/function.rs +++ b/plugins/connector/crates/plugin/src/behaviour/relation/connector/function.rs @@ -18,7 +18,7 @@ pub type ConnectorFunction = fn(&Value) -> Value; /// This connector logs the value before propagation (log level debug) pub const FN_DEBUG_CONNECTOR: ConnectorFunction = |v| { - debug!("connector propagates value {}", v.to_string()); + debug!("connector propagates value {}", v); v.clone() }; @@ -60,7 +60,7 @@ pub const FN_TO_STRING_CONNECTOR: ConnectorFunction = |v| json!(v.to_string()); /// This connector logs the value before propagation (log level trace) pub const FN_TRACE_CONNECTOR: ConnectorFunction = |v| { - trace!("connector propagates value {}", v.to_string()); + trace!("connector propagates value {}", v); v.clone() }; diff --git a/plugins/date-time/crates/model/Cargo.toml b/plugins/date-time/crates/model/Cargo.toml index 432e8979..2f0a3981 100644 --- a/plugins/date-time/crates/model/Cargo.toml +++ b/plugins/date-time/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -25,3 +24,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/date-time/crates/plugin/Cargo.toml b/plugins/date-time/crates/plugin/Cargo.toml index 3401ab35..c9064f98 100644 --- a/plugins/date-time/crates/plugin/Cargo.toml +++ b/plugins/date-time/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/flow/crates/model/Cargo.toml b/plugins/flow/crates/model/Cargo.toml index 86b38b06..f43c4693 100644 --- a/plugins/flow/crates/model/Cargo.toml +++ b/plugins/flow/crates/model/Cargo.toml @@ -23,3 +23,6 @@ reactive-graph-std-base-model = { version = "0.10.0", path = "../../../base/crat [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/flow/crates/plugin/Cargo.toml b/plugins/flow/crates/plugin/Cargo.toml index 28a0e7ac..ad50232e 100644 --- a/plugins/flow/crates/plugin/Cargo.toml +++ b/plugins/flow/crates/plugin/Cargo.toml @@ -37,5 +37,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/logical/crates/model/Cargo.toml b/plugins/logical/crates/model/Cargo.toml index 94127a32..13d655da 100644 --- a/plugins/logical/crates/model/Cargo.toml +++ b/plugins/logical/crates/model/Cargo.toml @@ -10,7 +10,6 @@ rust-version.workspace = true readme = "../../../../README.md" [dependencies] -lazy_static = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } strum_macros = { workspace = true } @@ -25,3 +24,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/logical/crates/plugin/Cargo.toml b/plugins/logical/crates/plugin/Cargo.toml index 0ab345ec..e40b5c39 100644 --- a/plugins/logical/crates/plugin/Cargo.toml +++ b/plugins/logical/crates/plugin/Cargo.toml @@ -47,5 +47,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/metadata/crates/model/Cargo.toml b/plugins/metadata/crates/model/Cargo.toml index ab377d9b..828d7988 100644 --- a/plugins/metadata/crates/model/Cargo.toml +++ b/plugins/metadata/crates/model/Cargo.toml @@ -18,3 +18,6 @@ reactive-graph-graph = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/metadata/crates/plugin/Cargo.toml b/plugins/metadata/crates/plugin/Cargo.toml index 167b67ac..fc754f17 100644 --- a/plugins/metadata/crates/plugin/Cargo.toml +++ b/plugins/metadata/crates/plugin/Cargo.toml @@ -37,5 +37,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/numeric/crates/model/Cargo.toml b/plugins/numeric/crates/model/Cargo.toml index 159f7d33..f01329e6 100644 --- a/plugins/numeric/crates/model/Cargo.toml +++ b/plugins/numeric/crates/model/Cargo.toml @@ -22,3 +22,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/numeric/crates/plugin/Cargo.toml b/plugins/numeric/crates/plugin/Cargo.toml index 24ebdef5..b5e1c51c 100644 --- a/plugins/numeric/crates/plugin/Cargo.toml +++ b/plugins/numeric/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/object/crates/model/Cargo.toml b/plugins/object/crates/model/Cargo.toml index ec2de22b..281c8f5c 100644 --- a/plugins/object/crates/model/Cargo.toml +++ b/plugins/object/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 } @@ -25,3 +24,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/object/crates/plugin/Cargo.toml b/plugins/object/crates/plugin/Cargo.toml index 8694b31f..94341433 100644 --- a/plugins/object/crates/plugin/Cargo.toml +++ b/plugins/object/crates/plugin/Cargo.toml @@ -47,5 +47,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/object/crates/plugin/src/plugin.rs b/plugins/object/crates/plugin/src/plugin.rs index eb54f3e3..e550bfa5 100644 --- a/plugins/object/crates/plugin/src/plugin.rs +++ b/plugins/object/crates/plugin/src/plugin.rs @@ -18,7 +18,6 @@ use reactive_graph_std_object_model::ENTITY_BEHAVIOUR_OBJECT_SET_PROPERTY; export_plugin!({ "dependencies": [ { "name": "reactive-graph-std-base", "version": ">=0.10.0, <0.11.0" }, - { "name": "reactive-graph-sys-file", "version": ">=0.10.0, <0.11.0" }, { "name": "reactive-graph-std-result", "version": ">=0.10.0, <0.11.0" }, { "name": "reactive-graph-std-trigger", "version": ">=0.10.0, <0.11.0" } ] diff --git a/plugins/random/crates/model/Cargo.toml b/plugins/random/crates/model/Cargo.toml index 7a7e0589..f64ac59b 100644 --- a/plugins/random/crates/model/Cargo.toml +++ b/plugins/random/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 } @@ -24,3 +23,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/random/crates/plugin/Cargo.toml b/plugins/random/crates/plugin/Cargo.toml index 791b7b3a..5394a936 100644 --- a/plugins/random/crates/plugin/Cargo.toml +++ b/plugins/random/crates/plugin/Cargo.toml @@ -50,5 +50,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/result/crates/model/Cargo.toml b/plugins/result/crates/model/Cargo.toml index 208a0098..f5bf1c64 100644 --- a/plugins/result/crates/model/Cargo.toml +++ b/plugins/result/crates/model/Cargo.toml @@ -18,3 +18,6 @@ reactive-graph-graph = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/result/crates/plugin/Cargo.toml b/plugins/result/crates/plugin/Cargo.toml index 48f2490e..37325aca 100644 --- a/plugins/result/crates/plugin/Cargo.toml +++ b/plugins/result/crates/plugin/Cargo.toml @@ -34,5 +34,8 @@ reactive-graph-type-system-api = { workspace = true } # 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/state/crates/model/Cargo.toml b/plugins/state/crates/model/Cargo.toml index 16f17d3a..d3b13e19 100644 --- a/plugins/state/crates/model/Cargo.toml +++ b/plugins/state/crates/model/Cargo.toml @@ -22,3 +22,6 @@ reactive-graph-std-value-model = { version = "0.10.0", path = "../../../value/cr [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/state/crates/plugin/Cargo.toml b/plugins/state/crates/plugin/Cargo.toml index 75ff6e32..d1f550b4 100644 --- a/plugins/state/crates/plugin/Cargo.toml +++ b/plugins/state/crates/plugin/Cargo.toml @@ -44,5 +44,8 @@ reactive-graph-std-state-model = { version = "0.10.0", path = "../../crates/mode # 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/string/crates/model/Cargo.toml b/plugins/string/crates/model/Cargo.toml index 2bef5320..c04a0a6e 100644 --- a/plugins/string/crates/model/Cargo.toml +++ b/plugins/string/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 } @@ -23,3 +22,6 @@ reactive-graph-std-result-model = { version = "0.10.0", path = "../../../result/ [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/string/crates/plugin/Cargo.toml b/plugins/string/crates/plugin/Cargo.toml index e9688810..5a5f5c70 100644 --- a/plugins/string/crates/plugin/Cargo.toml +++ b/plugins/string/crates/plugin/Cargo.toml @@ -47,5 +47,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/taxonomy/crates/model/Cargo.toml b/plugins/taxonomy/crates/model/Cargo.toml index 3910bf7d..94a743a2 100644 --- a/plugins/taxonomy/crates/model/Cargo.toml +++ b/plugins/taxonomy/crates/model/Cargo.toml @@ -22,3 +22,6 @@ reactive-graph-std-base-model = { version = "0.10.0", path = "../../../base/crat [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/taxonomy/crates/plugin/Cargo.toml b/plugins/taxonomy/crates/plugin/Cargo.toml index 33925349..565dc77c 100644 --- a/plugins/taxonomy/crates/plugin/Cargo.toml +++ b/plugins/taxonomy/crates/plugin/Cargo.toml @@ -34,5 +34,8 @@ reactive-graph-type-system-api = { workspace = true } # 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/trigger/crates/model/Cargo.toml b/plugins/trigger/crates/model/Cargo.toml index da87da34..0476f463 100644 --- a/plugins/trigger/crates/model/Cargo.toml +++ b/plugins/trigger/crates/model/Cargo.toml @@ -18,3 +18,6 @@ reactive-graph-graph = { workspace = true } [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/trigger/crates/plugin/Cargo.toml b/plugins/trigger/crates/plugin/Cargo.toml index 8e046654..3deffe72 100644 --- a/plugins/trigger/crates/plugin/Cargo.toml +++ b/plugins/trigger/crates/plugin/Cargo.toml @@ -33,5 +33,8 @@ reactive-graph-type-system-api = { workspace = true } # 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/value/crates/model/Cargo.toml b/plugins/value/crates/model/Cargo.toml index 96ae7671..11c7d2b1 100644 --- a/plugins/value/crates/model/Cargo.toml +++ b/plugins/value/crates/model/Cargo.toml @@ -25,10 +25,13 @@ reactive-graph-reactive-service-api = { workspace = true, features = ["derive"] [dev-dependencies] default-test = { workspace = true } reactive-graph-graph = { workspace = true, features = ["test"] } -reactive-graph-test-utils = { workspace = true } +reactive-graph-utils-test = { workspace = true } [features] test = [] [lib] crate-type = ["lib"] + +[lints] +workspace = true diff --git a/plugins/value/crates/plugin/Cargo.toml b/plugins/value/crates/plugin/Cargo.toml index ae821692..a299218a 100644 --- a/plugins/value/crates/plugin/Cargo.toml +++ b/plugins/value/crates/plugin/Cargo.toml @@ -41,7 +41,7 @@ reactive-graph-std-value-model = { version = "0.10.0", path = "../../crates/mode [dev-dependencies] default-test = { workspace = true } reactive-graph-graph = { workspace = true, features = ["test"] } -reactive-graph-test-utils = { workspace = true } +reactive-graph-utils-test = { workspace = true } [lib] # Plugins use crate-type cdylib @@ -49,5 +49,8 @@ reactive-graph-test-utils = { workspace = true } # 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" }