Skip to content

Commit

Permalink
Fuck Windows!
Browse files Browse the repository at this point in the history
  • Loading branch information
sokorototo committed Jan 5, 2024
1 parent 3b90fc0 commit 8ec02b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion vach/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ parking_lot = { version = "0.12.1" }
rayon = { version = "1.8.0", optional = true }

# Jemalloc
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.5.0", optional = true }

[features]
default = ["builder", "archive"]
all = ["default", "compression", "crypto", "multithreaded", "tikv-jemallocator"]
all = ["default", "compression", "crypto", "multithreaded"]

archive = []
builder = []
Expand Down
2 changes: 1 addition & 1 deletion vach/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ It was built to be secure, contained and protected. A big benefit of `vach` is t
- `crypto`: Enables encryption and authentication functionality by pulling the `ed25519_dalek` and `aes_gcm` crates
- `tikv-jemallocator`: Enable `jemalloc`` as the global allocator. Enabled by the [`tikv-jemallocator`](https://crates.io/crates/tikv-jemallocator) crate, don't enable on `x86_64-pc-windows-msvc`
- `default`: Enables the `archive` and `builder` features.
- `all`: Enables all the features listed above.
- `all`: Enables all the features listed above. `tikv-jemallocator` needs to be enabled separately.
### 🀄 Show me some code _dang it!_
Expand Down

0 comments on commit 8ec02b8

Please sign in to comment.