From e371c0ab009dcf9f3c7e58e25fc9fd94c0728592 Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Wed, 26 Jun 2024 10:07:21 +0200 Subject: [PATCH] Prepare new release --- CHANGELOG.md | 10 +- Cargo.lock | 222 ++++++++++++++++++++++++++++------------ feattle-core/Cargo.toml | 2 +- feattle-sync/Cargo.toml | 4 +- feattle-ui/Cargo.toml | 4 +- feattle/Cargo.toml | 8 +- 6 files changed, 170 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cde6ef..3eebe8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [feattle 2.0.0] - 2024-06-26 ### Changed -- Renamed feature "s3" to "rusoto_s3" in `feattle` and `feattle-sync` -- Renamed `feattle_sync::S3` to `feattle_sync::RusotoS3` -- Minimum Rust version is now 1.76 +- BREAKING: Renamed feature "s3" to "rusoto_s3" in `feattle` and `feattle-sync` +- BREAKING: Renamed `feattle_sync::S3` to `feattle_sync::RusotoS3` +- BREAKING: Upgraded from `axum` 0.6 to 0.7 +- BREAKING: Upgraded from `handlebars` 4 to 5 +- BREAKING: Minimum Rust version is now 1.76 ### Added diff --git a/Cargo.lock b/Cargo.lock index 7a33dd1..093a657 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,6 +59,55 @@ dependencies = [ "libc", ] +[[package]] +name = "anstream" +version = "0.6.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" + +[[package]] +name = "anstyle-parse" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + [[package]] name = "async-trait" version = "0.1.80" @@ -98,7 +147,7 @@ dependencies = [ "fastrand", "hex", "http 0.2.12", - "hyper", + "hyper 0.14.29", "ring", "time", "tokio", @@ -374,7 +423,7 @@ dependencies = [ "http-body 0.4.6", "http-body 1.0.0", "httparse", - "hyper", + "hyper 0.14.29", "hyper-rustls", "once_cell", "pin-project-lite", @@ -452,18 +501,19 @@ dependencies = [ [[package]] name = "axum" -version = "0.6.20" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" dependencies = [ "async-trait", "axum-core", - "bitflags 1.3.2", "bytes", "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "hyper", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.3.1", + "hyper-util", "itoa", "matchit", "memchr", @@ -475,28 +525,33 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 1.0.1", "tokio", "tower", "tower-layer", "tower-service", + "tracing", ] [[package]] name = "axum-core" -version = "0.3.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" dependencies = [ "async-trait", "bytes", "futures-util", - "http 0.2.12", - "http-body 0.4.6", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", "mime", + "pin-project-lite", "rustversion", + "sync_wrapper 0.1.2", "tower-layer", "tower-service", + "tracing", ] [[package]] @@ -548,12 +603,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "bitflags" version = "2.5.0" @@ -633,6 +682,12 @@ dependencies = [ "windows-targets 0.52.5", ] +[[package]] +name = "colorchoice" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" + [[package]] name = "const-oid" version = "0.9.6" @@ -843,17 +898,27 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "env_filter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +dependencies = [ + "log", + "regex", +] + [[package]] name = "env_logger" -version = "0.10.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" dependencies = [ + "anstream", + "anstyle", + "env_filter", "humantime", - "is-terminal", "log", - "regex", - "termcolor", ] [[package]] @@ -880,7 +945,7 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "feattle" -version = "1.0.0" +version = "2.0.0" dependencies = [ "aws-config", "axum", @@ -901,7 +966,7 @@ dependencies = [ [[package]] name = "feattle-core" -version = "1.0.0" +version = "2.0.0" dependencies = [ "async-trait", "chrono", @@ -916,7 +981,7 @@ dependencies = [ [[package]] name = "feattle-sync" -version = "1.0.0" +version = "2.0.0" dependencies = [ "async-trait", "aws-config", @@ -938,7 +1003,7 @@ dependencies = [ [[package]] name = "feattle-ui" -version = "1.0.0" +version = "2.0.0" dependencies = [ "axum", "chrono", @@ -1141,9 +1206,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.5.0" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -1316,6 +1381,25 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -1324,7 +1408,7 @@ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", "http 0.2.12", - "hyper", + "hyper 0.14.29", "log", "rustls", "rustls-native-certs", @@ -1339,12 +1423,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.29", "native-tls", "tokio", "tokio-native-tls", ] +[[package]] +name = "hyper-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "hyper 1.3.1", + "pin-project-lite", + "tokio", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -1389,15 +1488,10 @@ dependencies = [ ] [[package]] -name = "is-terminal" -version = "0.4.12" +name = "is_terminal_polyfill" +version = "1.70.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.52.0", -] +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" [[package]] name = "itoa" @@ -1432,7 +1526,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.5.0", + "bitflags", "libc", ] @@ -1632,7 +1726,7 @@ version = "0.10.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" dependencies = [ - "bitflags 2.5.0", + "bitflags", "cfg-if", "foreign-types", "libc", @@ -1875,7 +1969,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd" dependencies = [ - "bitflags 2.5.0", + "bitflags", ] [[package]] @@ -1962,7 +2056,7 @@ dependencies = [ "crc32fast", "futures", "http 0.2.12", - "hyper", + "hyper 0.14.29", "hyper-tls", "lazy_static", "log", @@ -1985,7 +2079,7 @@ dependencies = [ "chrono", "dirs-next", "futures", - "hyper", + "hyper 0.14.29", "serde", "serde_json", "shlex", @@ -2020,7 +2114,7 @@ dependencies = [ "hex", "hmac 0.11.0", "http 0.2.12", - "hyper", + "hyper 0.14.29", "log", "md-5 0.9.1", "percent-encoding", @@ -2053,7 +2147,7 @@ version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.5.0", + "bitflags", "errno", "libc", "linux-raw-sys", @@ -2166,7 +2260,7 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 2.5.0", + "bitflags", "core-foundation", "core-foundation-sys", "libc", @@ -2366,6 +2460,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" + [[package]] name = "tempfile" version = "3.10.1" @@ -2378,15 +2478,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - [[package]] name = "thiserror" version = "1.0.61" @@ -2683,6 +2774,12 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + [[package]] name = "uuid" version = "1.9.0" @@ -2727,7 +2824,7 @@ dependencies = [ "futures-util", "headers", "http 0.2.12", - "hyper", + "hyper 0.14.29", "log", "mime", "mime_guess", @@ -2821,15 +2918,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -[[package]] -name = "winapi-util" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" diff --git a/feattle-core/Cargo.toml b/feattle-core/Cargo.toml index 813f333..de9a5b9 100644 --- a/feattle-core/Cargo.toml +++ b/feattle-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "feattle-core" -version = "1.0.0" +version = "2.0.0" authors = ["Guilherme Souza "] edition = "2018" description = "Featture toggles for Rust, extensible and with background synchronization and administration UI" diff --git a/feattle-sync/Cargo.toml b/feattle-sync/Cargo.toml index 2b2b8f7..fc216f1 100644 --- a/feattle-sync/Cargo.toml +++ b/feattle-sync/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "feattle-sync" -version = "1.0.0" +version = "2.0.0" authors = ["Guilherme Souza "] edition = "2018" description = "Featture toggles for Rust, extensible and with background synchronization and administration UI" @@ -20,7 +20,7 @@ aws_sdk_s3 = ["dep:aws-types", "dep:aws-sdk-s3"] async-trait = "0.1.40" aws-sdk-s3 = { version = "1.38.0", optional = true } aws-types = { version = "1.3.2", optional = true } -feattle-core = { path = "../feattle-core", version = "1.0.0" } +feattle-core = { path = "../feattle-core", version = "2.0.0" } log = "0.4.11" rusoto_core = { version = "0.48.0", optional = true } rusoto_s3 = { version = "0.48.0", optional = true } diff --git a/feattle-ui/Cargo.toml b/feattle-ui/Cargo.toml index b50936f..e02e35d 100644 --- a/feattle-ui/Cargo.toml +++ b/feattle-ui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "feattle-ui" -version = "1.0.0" +version = "2.0.0" authors = ["Guilherme Souza "] edition = "2018" description = "Featture toggles for Rust, extensible and with background synchronization and administration UI" @@ -15,7 +15,7 @@ categories = ["config", "data-structures", "development-tools", "web-programming [dependencies] axum = { version = "0.7.5", optional = true, default-features = false, features = ["form", "json"] } chrono = { version = "0.4.15", features = ["serde"] } -feattle-core = { path = "../feattle-core", version = "1.0.0" } +feattle-core = { path = "../feattle-core", version = "2.0.0" } futures = "0.3.5" handlebars = "5.1.2" log = "0.4.11" diff --git a/feattle/Cargo.toml b/feattle/Cargo.toml index 2095443..ab1798d 100644 --- a/feattle/Cargo.toml +++ b/feattle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "feattle" -version = "1.0.0" +version = "2.0.0" authors = ["Guilherme Souza "] edition = "2018" description = "Featture toggles for Rust, extensible and with background synchronization and administration UI" @@ -20,9 +20,9 @@ uuid = ["feattle-core/uuid"] warp = ["feattle-ui/warp"] [dependencies] -feattle-core = { path = "../feattle-core", version = "1.0.0" } -feattle-sync = { path = "../feattle-sync", version = "1.0.0" } -feattle-ui = { path = "../feattle-ui", version = "1.0.0" } +feattle-core = { path = "../feattle-core", version = "2.0.0" } +feattle-sync = { path = "../feattle-sync", version = "2.0.0" } +feattle-ui = { path = "../feattle-ui", version = "2.0.0" } [dev-dependencies] aws-config = { version = "1.5.3", features = ["behavior-version-latest"] }