Skip to content

Commit

Permalink
modified: CHANGELOG; inc ver
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Jul 25, 2024
1 parent 406f08c commit 8b61111
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ statements=(
"cargo test --no-default-features --features derive,persist,secret,mock"
"cargo test --no-default-features --features derive,persist,secret,mock,default_config_dir"

"LOOM_LOG=trace \
LOOM_LOCATION=1 \
LOOM_CHECKPOINT_INTERVAL=1 \
LOOM_CHECKPOINT_FILE=loom.json \
RUSTFLAGS=\"--cfg loom\" \
cargo test --no-default-features --features derive --test concurrent_test --release"
# "LOOM_LOG=trace \
# LOOM_LOCATION=1 \
# LOOM_CHECKPOINT_INTERVAL=1 \
# LOOM_CHECKPOINT_FILE=loom.json \
# RUSTFLAGS=\"--cfg loom\" \
# cargo test --no-default-features --features derive --test concurrent_test --release"

"cargo run --example example --no-default-features --features full,mock"
"cargo run --example example --no-default-features --features full,mock,default_config_dir"
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
-->

## [Unreleased]
## [0.5.0-alpha2] - 2024-07-25

- make Config Send and Sync
- make the code suitable for testing by loom
- fix: write while reading
- fix: limit the number of `ConfigRef` to 32

## [0.5.0-alpha1] - 2024-07-24

- remove all locks
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["encrypt-config", "encrypt-config-derive", "tests", "examples"]
resolver = "2"

[workspace.package]
version = "0.5.0-alpha1"
version = "0.5.0-alpha2"
authors = ["Louis <[email protected]>"]
description = "A Rust crate to manage, persist and encrypt your configurations."
license = "MIT"
Expand All @@ -13,7 +13,7 @@ documentation = "https://docs.rs/encrypt-config"

[workspace.dependencies]
encrypt_config = { path = "encrypt-config", default-features = false }
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.5.0-alpha1" }
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.5.0-alpha2" }
keyring = { version = "2.3", default-features = false }
bitflags = { version = "2.6.0" }
enumflags2 = { version = "0.7.10" }
Expand Down
3 changes: 3 additions & 0 deletions encrypt-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ encrypt_config = { version = "0.5.0-alpha1", features = ["full"] }
opt-level = 3
```

**Caution: This Version is still not safe to use!!!**
**The bug is: multiple loads from disk may be performed if cache missed**

<!-- ABOUT THE PROJECT -->
## About The Project

Expand Down

0 comments on commit 8b61111

Please sign in to comment.