Release v11 (#529)

This commit is contained in:
Ellie Huxtable 2022-09-13 20:03:52 +01:00 committed by GitHub
parent db2a00f456
commit 41eed3f6a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 269 additions and 261 deletions

497
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "atuin" name = "atuin"
version = "0.10.0" version = "11.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"] authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2021" edition = "2021"
rust-version = "1.59" rust-version = "1.59"
@ -44,9 +44,9 @@ sync = ["atuin-client/sync"]
server = ["atuin-server", "tracing-subscriber"] server = ["atuin-server", "tracing-subscriber"]
[dependencies] [dependencies]
atuin-server = { path = "atuin-server", version = "0.10.0", optional = true } atuin-server = { path = "atuin-server", version = "11.0.0", optional = true }
atuin-client = { path = "atuin-client", version = "0.10.0", optional = true, default-features = false } atuin-client = { path = "atuin-client", version = "11.0.0", optional = true, default-features = false }
atuin-common = { path = "atuin-common", version = "0.10.0" } atuin-common = { path = "atuin-common", version = "11.0.0" }
log = "0.4" log = "0.4"
pretty_env_logger = "0.4" pretty_env_logger = "0.4"
@ -75,10 +75,5 @@ rpassword = "6.0"
[dependencies.tracing-subscriber] [dependencies.tracing-subscriber]
version = "0.3" version = "0.3"
default-features = false default-features = false
features = [ features = ["ansi", "fmt", "registry", "env-filter"]
"ansi",
"fmt",
"registry",
"env-filter",
]
optional = true optional = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "atuin-client" name = "atuin-client"
version = "0.10.0" version = "11.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"] authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
@ -23,7 +23,7 @@ sync = [
] ]
[dependencies] [dependencies]
atuin-common = { path = "../atuin-common", version = "0.10.0" } atuin-common = { path = "../atuin-common", version = "11.0.0" }
log = "0.4" log = "0.4"
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }

View file

@ -75,7 +75,7 @@ async fn sync_download(
// timestamps // timestamps
if page_last == last_timestamp { if page_last == last_timestamp {
last_timestamp = Utc.timestamp_millis(0); last_timestamp = Utc.timestamp_millis(0);
last_sync = last_sync - chrono::Duration::hours(1); last_sync -= chrono::Duration::hours(1);
} else { } else {
last_timestamp = page_last; last_timestamp = page_last;
} }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "atuin-common" name = "atuin-common"
version = "0.10.0" version = "11.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"] authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "atuin-server" name = "atuin-server"
version = "0.10.0" version = "11.0.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"] authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
@ -9,7 +9,7 @@ homepage = "https://atuin.sh"
repository = "https://github.com/ellie/atuin" repository = "https://github.com/ellie/atuin"
[dependencies] [dependencies]
atuin-common = { path = "../atuin-common", version = "0.10.0" } atuin-common = { path = "../atuin-common", version = "11.0.0" }
tracing = "0.1" tracing = "0.1"
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }
@ -23,7 +23,11 @@ sodiumoxide = "0.2.6"
base64 = "0.13.0" base64 = "0.13.0"
rand = "0.8.4" rand = "0.8.4"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
sqlx = { version = "0.5", features = [ "runtime-tokio-rustls", "chrono", "postgres" ] } sqlx = { version = "0.5", features = [
"runtime-tokio-rustls",
"chrono",
"postgres",
] }
async-trait = "0.1.49" async-trait = "0.1.49"
axum = "0.5" axum = "0.5"
http = "0.2" http = "0.2"