| 1 |
lints.workspace = true |
| 2 |
|
| 3 |
[package] |
| 4 |
name = "gix-utils" |
| 5 |
version = "0.3.5" |
| 6 |
repository = "https://github.com/GitoxideLabs/gitoxide" |
| 7 |
license = "MIT OR Apache-2.0" |
| 8 |
description = "A crate with `gitoxide` utilities that don't need feature toggles" |
| 9 |
authors = ["Sebastian Thiel <[email protected]>"] |
| 10 |
edition = "2024" |
| 11 |
rust-version = "1.85" |
| 12 |
include = ["/src/**/*", "/LICENSE-*"] |
| 13 |
|
| 14 |
[lib] |
| 15 |
doctest = true |
| 16 |
|
| 17 |
[features] |
| 18 |
bstr = ["dep:bstr"] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
# We seed our own thread-local `Rng` (see `src/rng.rs`), so `fastrand`'s global generator and its |
| 22 |
# `std` default feature aren't needed. |
| 23 |
fastrand = { version = "2.4.1", default-features = false } |
| 24 |
bstr = { version = "1.12.0", default-features = false, features = ["std"], optional = true } |
| 25 |
unicode-normalization = { version = "0.1.19", default-features = false } |
| 26 |
|
| 27 |
# Used by `rng` to obtain a high-entropy, process-distinct seed. Excluded on |
| 28 |
# `wasm32-unknown-unknown`, which has no entropy backend by default; there `rng` falls back to a |
| 29 |
# best-effort seed (see `src/rng.rs`). |
| 30 |
[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies] |
| 31 |
getrandom = "0.4" |
| 32 |
|
| 33 |
[dev-dependencies] |
| 34 |
gix-utils = { path = ".", features = ["bstr" ]} |