Skip to content

Commit

Permalink
simplifications (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi authored May 28, 2024
1 parent 3bae9fa commit d0261e0
Show file tree
Hide file tree
Showing 52 changed files with 362 additions and 1,385 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- run: RUSTFLAGS="-D warnings" cargo check --all-targets
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features trace
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --no-default-features
- run: cargo install cargo-no-std-check
- run: cargo no-std-check --workspace --exclude hvm64 --no-default-features
clippy:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
49 changes: 2 additions & 47 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ debug = "full"
[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
libloading = { version = "0.8.3", default-features = false }
ordered-float = { version = "4.2.0" }
parking_lot = "0.12.2"
thiserror = "1.0.58"

hvm64-ast = { path = "./ast" }
hvm64-runtime = { path = "./runtime" }
Expand All @@ -53,3 +50,6 @@ serial_test = "3.0.0"
default = ["std"]
std = []
trace = ["hvm64-runtime/trace"]

[patch.crates-io]
highlight_error = { git = "https://github.com/tjjfvi/rust_highlight_error/", branch = "no_std" }
6 changes: 2 additions & 4 deletions ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ edition = "2021"
path = "src/ast.rs"

[dependencies]
arrayvec = { version = "0.7.4", default-features = false }
ordered-float = { version = "4.2.0", default-features = false }
thiserror = { version = "1.0.59", optional = true }
TSPL = { version = "0.0.12", optional = true }
TSPL = { git = "https://github.com/tjjfvi/TSPL", branch = "no_std", optional = true }

hvm64-util = { path = "../util", default-features = false }

[features]
default = ["std", "parser"]
std = ["hvm64-util/std", "ordered-float/std", "dep:thiserror"]
std = ["hvm64-util/std"]
parser = ["dep:TSPL"]

[lints]
Expand Down
Loading

0 comments on commit d0261e0

Please sign in to comment.