-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(deps): update rust crate config to 0.14.0 #96
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
b25b4d8
to
8177c27
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
0.1.0
->0.14.0
Release Notes
rust-cli/config-rs (config)
v0.14.1
Compare Source
Compatibility
Internal
lazy_static
v0.14.0
Compare Source
This is a maintenance release, mostly to get some dependency updates out, but
also with some fixes and changes that have piled up over a rather long time.
Features
Fixes
Dependency updates
Misc
v0.13.4
Compare Source
v0.13.3
Compare Source
Please note that we had to update the MSRV for this crate from 1.56.0 to 1.59.0
for this patch release being possible, because a transitive dependency did
update its MSRV.
using float_cmp for testing floats
Clone
trait derive to builder statesv0.13.2
Compare Source
be able to backport the next change. This change shouldn't be user-visible.
integers
fix tests
v0.13.1
Compare Source
v0.13.0
Compare Source
v0.12.0
Compare Source
Format support changes in this version
Other noteworthy changes
Format
trait for (custom) file formats #219Deprecated
Environment::new()
- see #235Config
interface - see #196Config::merge()
Config::with_merged()
Config::refresh()
Config::set_default()
Config::set()
Config::set_once()
Config::deserialize()
v0.11.0
Config
type got a builder-patternwith_merged()
method #166.Config::set_once()
function was added, to set an value that can beoverwritten by
Config::merge
ing another configuration #172This is due to a bug in serde_hjson, see #169 for more information.
v0.10.1
v0.10.0
v0.9.3
Compare Source
#[serde(default)]
#106v0.9.2
Compare Source
enum
s from configuration. #85v0.9.1
Compare Source
v0.9.0
Compare Source
Breaking Change: Environment does not declare a separator by default.
Add support for INI. #72
Add support for newtype structs. #71
Fix bug with array set by path. #69
Update to nom 4. #63
v0.8.0
Compare Source
v0.7.1
Compare Source
derive(PartialEq)
for Value (#54)[https://github.com/mehcode/config-rs/pull/54](https://redirect.github.com/mehcode/config-rs/pull/54)4]v0.7.0
Compare Source
serde_yaml
. #39Implement
Source
forConfig
.Implement
serde::de::Deserializer
forConfig
.my_config.deserialize
may now be called as eitherDeserialize::deserialize(my_config)
ormy_config.try_into()
.Remove
ConfigResult
. The builder pattern requires either.try_into
as the final step or the initialConfig::new()
to be bound to a slot. Errors must also be handled on each call instead of at the end of the chain.v0.6.0
Compare Source
Implement
Source
forVec<T: Source>
andVec<Box<Source>>
Implement
From<&Path>
andFrom<PathBuf>
forFile
Remove
namespace
option for FileAdd builder pattern to condense configuration
Parsing errors even for non required files – @Anthony25 ( #33 )
v0.5.1
Compare Source
v0.5.0
Compare Source
config.get
has been changed to take a type parameter and to deserialize into that type using serde. Old behavior (get a value variant) can be used by passingconfig::Value
as the type parameter:my_config.get::<config::Value>("..")
. Some great help here from @impowski in #25.File
. This is likely temporary. I do want this behavior but I can see how it should be optional. See #35File::with_name
to get automatic file format detection instead of manualFileFormat::*
– @JordiPolomy_config.refresh()
will do a full re-read from the source so live configuration is possible with some work to watch the filev0.4.1
Compare Source
v0.4.0
Remove global (
config::get
) API — It's now required to create a local configuration instance withconfig::Config::new()
first.If you'd like to have a global configuration instance, use
lazy_static!
as follows:v0.3.0
config::File::from_str
to parse and merge a file from a stringconfig::get_table
andconfig::get_array
v0.2.0
Initial release.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.