Skip to content

Commit

Permalink
Merge pull request #471 from tijlleenders/tijl/-/bump-cargo-versions
Browse files Browse the repository at this point in the history
bump crates and build web release
  • Loading branch information
tijlleenders authored Oct 25, 2024
2 parents 6f47605 + a4f3f42 commit 0359749
Show file tree
Hide file tree
Showing 9 changed files with 926 additions and 521 deletions.
419 changes: 292 additions & 127 deletions Cargo.lock

Large diffs are not rendered by default.

28 changes: 13 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ categories = ["algorithms", "date-and-time", "wasm"]
experimental-testset = []
skip-test-generation = []
with-logging = []

new-tests = []

default = ["new-tests", "with-logging"]

[lib]
Expand All @@ -25,36 +23,36 @@ crate-type = ['cdylib', 'lib']
name = 'scheduler'
path = "src/lib.rs"


[profile.release]
lto = true
# Tell `rustc` to optimize for small code size.
opt-level = "s"

debug = false
# Tell `rustc` to optimize for small code size s or speed 2 / 3.
opt-level = 3

[dependencies]
serde_json = "1.0.95"
serde = { version = "1.0.159", features = ["derive"] }
chrono = { version = "0.4.31", features = ["wasmbind", "serde"] }
lazy_static = "1.4.0"
serde_json = "1.0.132"
serde = { version = "1.0.213", features = ["derive"] }
chrono = { version = "0.4.38", features = ["wasmbind", "serde"] }
lazy_static = "1.5.0"

# simple WASM codegen
wasm-bindgen = { version = "0.2.92" }
# instead of wasm-bindgen::serde-serialize feature that may lead to a cyclic package dependency
serde-wasm-bindgen = "0.5.0"
serde-wasm-bindgen = "0.6.5"

# display Rust panics as console.error()
console_error_panic_hook = "0.1.7"

# display logs
log = "0.4.19"
env_logger = "0.10.0"
log = "0.4.22"
env_logger = "0.11.5"

# random number generator for tests
rand = "0.8.5"
rand = "0.9.0-alpha.2"
# getrandom with js features should be included to make sure the wasm-unknown build target can use the crate in js context (even though we only use this crate in test code)
getrandom = { version = "0.2", features = ["js"] }


[dev-dependencies]
pretty_assertions = "1.3.0"
pretty_assertions = "1.4.1"
wasm-bindgen-test = "0.3.45"
Loading

0 comments on commit 0359749

Please sign in to comment.