diff --git a/Cargo.lock b/Cargo.lock index eb4cfa8a..c5357724 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -156,7 +156,7 @@ checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "falco_event" -version = "0.1.4" +version = "0.4.0" dependencies = [ "anyhow", "bitflags", @@ -173,7 +173,7 @@ dependencies = [ [[package]] name = "falco_event_derive" -version = "0.2.0" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", @@ -182,7 +182,7 @@ dependencies = [ [[package]] name = "falco_plugin" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "bumpalo", @@ -205,11 +205,11 @@ dependencies = [ [[package]] name = "falco_plugin_api" -version = "0.2.0" +version = "0.4.0" [[package]] name = "falco_plugin_derive" -version = "0.2.0" +version = "0.4.0" dependencies = [ "proc-macro2", "quote", @@ -218,7 +218,7 @@ dependencies = [ [[package]] name = "falco_plugin_runner" -version = "0.1.0" +version = "0.4.0" dependencies = [ "anyhow", "falco_event", @@ -230,7 +230,7 @@ dependencies = [ [[package]] name = "falco_plugin_tests" -version = "0.1.0" +version = "0.4.0" dependencies = [ "anyhow", "cxx", diff --git a/falco_event/Cargo.toml b/falco_event/Cargo.toml index 6a4c4739..0e95f4d1 100644 --- a/falco_event/Cargo.toml +++ b/falco_event/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "falco_event" -version = "0.1.4" +version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "Type-safe wrappers for Falco events" @@ -12,7 +12,7 @@ categories = ["api-bindings"] [dependencies] byteorder = "1.5.0" -falco_event_derive = { path = "../falco_event_derive", version = "0.2.0" } +falco_event_derive = { path = "../falco_event_derive", version = "0.4.0" } memchr = "2.7.1" num-derive = "0.4.2" num-traits = "0.2.17" diff --git a/falco_event_derive/Cargo.toml b/falco_event_derive/Cargo.toml index f2347bcd..5d1e267b 100644 --- a/falco_event_derive/Cargo.toml +++ b/falco_event_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "falco_event_derive" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "Helper proc macros for the falco_event library" diff --git a/falco_plugin/Cargo.toml b/falco_plugin/Cargo.toml index 2d743e80..d87031e8 100644 --- a/falco_plugin/Cargo.toml +++ b/falco_plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "falco_plugin" -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "High level bindings for the Falco plugin API" @@ -17,9 +17,9 @@ thread-safe-tables = ["dep:parking_lot"] [dependencies] thiserror = "1.0.58" -falco_event = { path = "../falco_event", version = "0.1.2" } -falco_plugin_api = { path = "../falco_plugin_api", version = "0.2.0" } -falco_plugin_derive = { path = "../falco_plugin_derive", version = "0.2.0" } +falco_event = { path = "../falco_event", version = "0.4.0" } +falco_plugin_api = { path = "../falco_plugin_api", version = "0.4.0" } +falco_plugin_derive = { path = "../falco_plugin_derive", version = "0.4.0" } serde = "1.0.197" serde_json = "1.0.114" schemars = "0.8.16" diff --git a/falco_plugin/README.md b/falco_plugin/README.md index f5a565fa..29f14dcc 100644 --- a/falco_plugin/README.md +++ b/falco_plugin/README.md @@ -29,7 +29,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -falco_plugin = "0.3.0" +falco_plugin = "0.4.0" ``` The general layout of your plugin code would be: @@ -92,7 +92,7 @@ edition = "2021" crate-type = ["staticlib"] [dependencies] -falco_plugin = "0.3.0" +falco_plugin = "0.4.0" ``` The outline of the plugin code would look like: @@ -191,4 +191,13 @@ with the plugin type. The SDK uses the [`log`] crate for logging, redirecting all messages to the Falco libs logger, so you can use e.g. `log::info!` in your plugin without any explicit initialization. The log level defaults to `Trace` in debug builds and to `Info` in release builds, but can be overridden by calling [`log::set_max_level`] -in your [plugin init method](`base::Plugin::new`). \ No newline at end of file +in your [plugin init method](`base::Plugin::new`). + +## Versioning and MSRV + +The SDK consists of several crates, some are more coupled to each other, some are mostly independent. However, +to keep packaging manageable, all the crates are versioned together, i.e. a version bump in one causes +a corresponding version bump in all the other crates, even if it's not strictly necessary. This may change +in the future. + +While we're in the 0.x version range, the Minimum Supported Rust Version is defined as "latest stable". \ No newline at end of file diff --git a/falco_plugin_api/Cargo.toml b/falco_plugin_api/Cargo.toml index 762ee5d0..f44fd5f2 100644 --- a/falco_plugin_api/Cargo.toml +++ b/falco_plugin_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "falco_plugin_api" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "Autogenerated bindings for the Falco plugin API" diff --git a/falco_plugin_derive/Cargo.toml b/falco_plugin_derive/Cargo.toml index 429cbbc5..711e64a6 100644 --- a/falco_plugin_derive/Cargo.toml +++ b/falco_plugin_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "falco_plugin_derive" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "Derive macros for the falco_plugin library" diff --git a/falco_plugin_runner/Cargo.toml b/falco_plugin_runner/Cargo.toml index c58e8c32..fff0fac6 100644 --- a/falco_plugin_runner/Cargo.toml +++ b/falco_plugin_runner/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "falco_plugin_runner" -version = "0.1.0" +version = "0.4.0" edition = "2021" [dependencies] anyhow = "1.0.89" -falco_event = { version = "0.1.4", path = "../falco_event" } -falco_plugin_api = { version = "0.2.0", path = "../falco_plugin_api" } +falco_event = { version = "0.4.0", path = "../falco_event" } +falco_plugin_api = { version = "0.4.0", path = "../falco_plugin_api" } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" diff --git a/falco_plugin_tests/Cargo.toml b/falco_plugin_tests/Cargo.toml index fbd371b6..727577d6 100644 --- a/falco_plugin_tests/Cargo.toml +++ b/falco_plugin_tests/Cargo.toml @@ -1,13 +1,14 @@ [package] name = "falco_plugin_tests" -version = "0.1.0" +version = "0.4.0" edition = "2021" +publish = false [dependencies] anyhow = "1.0.88" cxx = { version = "1.0.124", features = ["c++17"] } -falco_plugin = { path = "../falco_plugin" } -falco_plugin_runner = { version = "0.1.0", path = "../falco_plugin_runner" } +falco_plugin = { version = "0.4.0", path = "../falco_plugin" } +falco_plugin_runner = { version = "0.4.0", path = "../falco_plugin_runner" } log = "0.4.22" [build-dependencies]