Skip to content

Commit

Permalink
bump rust & versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed May 30, 2023
1 parent 58d58b3 commit c3fb113
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 51 deletions.
138 changes: 104 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 22 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,53 @@
[package]
name = "adana"
version = "0.13.24"
version = "0.13.25"
edition = "2021"
authors = ["Nordine Bittich"]
license = "MIT"
description = "namespaces aliases for command lines & basic scripting language"
homepage = "https://github.com/nbittich/adana"
readme = "README.md"
exclude = ["vscode/","dist/", ".vscode", ".history", ".git", ".github", "static_binaries/"]
exclude = [
"vscode/",
"dist/",
".vscode",
".history",
".git",
".github",
"static_binaries/",
]

[dependencies]
anyhow = "1.0.70"
anyhow = "1.0.71"
bincode = "1.3.3"
dirs = "5.0.0"
log = "0.4.17"
nom = { version = "7.1.3"}
dirs = "5.0.1"
log = "0.4.18"
nom = { version = "7.1.3" }
nu-ansi-term = "0.47.0"
rustyline = "11.0.0"
rustyline-derive = "0.8.0"
serde = {version = "1.0.158", features= ['serde_derive', 'rc']}
serde_json = "1.0.94"
serde = { version = "1.0.163", features = ['serde_derive', 'rc'] }
serde_json = "1.0.96"
slab_tree = "0.3.2"
strum = { version = "0.24.1", features = ["derive"] }
ctrlc = "3.2.5"
ctrlc = "3.3.1"
[dependencies.env_logger]
default-features = false
version = "0.10.0"
[dependencies.regex]
version = "1.7.2"
version = "1.8.3"
default-features = false
# regex currently requires the standard library, you must re-enable it.
features = ["std"]

[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Link Time Optimization (LTO)
opt-level = 'z' # Optimize for size.
lto = true # Link Time Optimization (LTO)
codegen-units = 1 # Set this to 1 to allow for maximum size reduction optimizations:
panic = 'abort' # removes the need for this extra unwinding code.
panic = 'abort' # removes the need for this extra unwinding code.
strip = "symbols"

[dev-dependencies]
# some test must be run sequentially.
# if library is broken, alternative is: cargo test -- --test-threads 1
serial_test = "1.0.0"
serial_test = "2.0.0"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.68.1 as builder
FROM rust:1.69 as builder

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "stable"
host = "1.68.1"
targets = [ "x86_64-unknown-linux-musl" ]
host = "1.69.0"
targets = ["x86_64-unknown-linux-musl"]

0 comments on commit c3fb113

Please sign in to comment.