Skip to content

Commit

Permalink
chore: prepare 0.1.4 (#30)
Browse files Browse the repository at this point in the history
* chore: prepare 0.1.4

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* fix: lint

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
  • Loading branch information
zhongzc authored Oct 20, 2023
1 parent c87ba0d commit 78ba6d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
- name: Check format
run: cargo fmt --all -- --check
- name: Build
run: cargo build --workspace --all-targets
run: cargo build --workspace --all-targets --all-features
- name: Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --workspace --all-targets -- --nocapture
run: cargo test --workspace --all-targets --all-features -- --nocapture
- name: Run benches
run: cargo bench --workspace --all-targets
run: cargo bench --workspace --all-targets --all-features
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minstant"
version = "0.1.3"
version = "0.1.4"
authors = ["The TiKV Authors"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/tsc_now.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
use std::time::Instant;
use std::{cell::UnsafeCell, fs::read_to_string};

type Error = Box<dyn std::error::Error>;

static TSC_STATE: TSCState = TSCState {
is_tsc_available: UnsafeCell::new(false),
tsc_level: UnsafeCell::new(TSCLevel::Unstable),
Expand Down

0 comments on commit 78ba6d5

Please sign in to comment.