Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing wellen to a cargo workspace #17

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@
# released under BSD 3-Clause License
# author: Kevin Laeufer <[email protected]>

[package]
name = "wellen"
[workspace]
resolver = "2"
members = ["wellen"]

[workspace.package]
version = "0.9.10"
edition = "2021"
# we require the `div_ceil` method on integers
rust-version="1.73.0"
rust-version = "1.73.0"
authors = ["Kevin Laeufer <[email protected]>"]
description = "Fast VCD and FST library for waveform viewers written in Rust."
repository = "https://github.com/ekiwi/wellen"
license = "BSD-3-Clause"
default-members = ["wellen"]
include = ["Cargo.toml", "LICENSE", "src/", "benches/"]
keywords = ["vcd", "fst", "waveform", "wavedump"]

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

[dependencies]
[workspace.dependencies]
bytesize = "1.3.0"
fst-native = "0.8.1"
leb128 = "0.2.5"
Expand All @@ -26,9 +29,9 @@ memmap2 = "0.9.0"
rayon = "1.8.0"
num_enum = "0.7.1"
thiserror = "1.0.56"
serde = { version = "1.0.197", features = ["derive"], optional = true }
serde = { version = "1.0.197", features = ["derive"] }

[dev-dependencies]
# dev dependencies
itertools = "0.12.1"
vcd = "0.7.0"
clap = { version = "4.4.6", features = ["derive"] }
Expand All @@ -38,12 +41,3 @@ proptest = "1.4.0"

[profile.release]
debug = true

[[bench]]
name = "wavemem"
harness = false

[features]
# makes internal functions public for benchmarking
benchmark = []
serde1 = ["dep:serde"]
43 changes: 43 additions & 0 deletions wellen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[package]
name = "wellen"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
description.workspace = true
repository.workspace = true
license.workspace = true
default-members.workspace = true
include.workspace = true
keywords.workspace = true

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

[dependencies]
bytesize = { workspace = true }
fst-native = { workspace = true }
leb128 = { workspace = true }
lz4_flex = { workspace = true }
memmap2 = { workspace = true }
rayon = { workspace = true }
num_enum = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true, optional = true }

[dev-dependencies]
itertools = { workspace = true }
vcd = { workspace = true }
clap = { workspace = true }
criterion = { workspace = true }
indicatif = { workspace = true }
proptest = { workspace = true }


[[bench]]
name = "wavemem"
harness = false

[features]
# makes internal functions public for benchmarking
benchmark = []
serde1 = ["dep:serde"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading