Skip to content

Commit

Permalink
chore: remove unneeded dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
  • Loading branch information
explodingcamera committed Dec 4, 2023
1 parent d41e719 commit 767ea32
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 98 deletions.
92 changes: 0 additions & 92 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ edition="2021"

[[bin]]
name="tinywasm"
path="bin.rs"
path="src/bin.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tinywasm={path="../tinywasm"}
argh="0.1"
color-eyre="0.6"
color-eyre={default-features=false}
log="0.4"
pretty_env_logger="0.5"
wast={version="69.0", optional=true}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition="2021"
# fork of wasmparser with no_std support, see https://github.com/bytecodealliance/wasmtime/issues/3495
# TODO: create dependency free parser
wasmparser={version="0.100", package="wasmparser-nostd", default-features=false}
log="0.4.20"
log="0.4"
tinywasm-types={path="../types"}

[features]
Expand Down
2 changes: 1 addition & 1 deletion crates/tinywasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ path="src/lib.rs"
crate-type=["cdylib", "rlib"]

[dependencies]
log="0.4.20"
log="0.4"
tinywasm-parser={path="../parser", default-features=false}
tinywasm-types={path="../types", default-features=false}

Expand Down
4 changes: 2 additions & 2 deletions crates/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version="0.0.0"
edition="2021"

[dependencies]
log="0.4.20"
log={version="0.4", optional=true}
rkyv={version="0.7", optional=true, default-features=false}

[features]
default=["std"]
std=[]
serialize=["dep:rkyv"]
serialize=["dep:rkyv", "dep:log"]

0 comments on commit 767ea32

Please sign in to comment.