# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "scsys-utils" version = "0.2.3" authors = [ "FL03 ", "Scattered-Systems ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "scsys is a collection of primitives and utilities for use throughout the ecosystem." homepage = "https://github.com/scattered-systems/scsys/wiki" readme = "README.md" keywords = [ "primitives", "scsys", "toolkit", "utilities", ] categories = [] license = "Apache-2.0" repository = "https://github.com/scattered-systems/scsys.git" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs", ] [lib] name = "scsys_utils" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" test = true doctest = true bench = false [[test]] name = "casing" path = "tests/casing.rs" required-features = ["alloc"] [[test]] name = "default" path = "tests/default.rs" [dependencies.num] version = "0.4" default-features = false [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.strum] version = "0.26" features = ["derive"] default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.serde_json] version = "1" [build-dependencies] [features] alloc = [ "num/alloc", "rand?/alloc", "serde?/alloc", ] default = ["std"] full = [ "default", "rand", "serde", ] rand = [ "dep:rand", "num/rand", ] serde = [ "dep:serde", "serde-ext", ] serde-ext = [ "num/serde", "rand?/serde1", ] std = [ "alloc", "num/std", "rand?/std", "rand?/std_rng", "serde?/std", "strum/std", ] wasi = [] wasm = ["getrandom/js"] [target.wasm32-unknown-unknown.dependencies.getrandom] version = "0.2" [target.wasm32-wasi]