# 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-core" version = "0.2.3" authors = [ "FL03 ", "Scattered-Systems ", ] build = "build.rs" 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_core" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" test = true doctest = true bench = false [[test]] name = "default" path = "tests/default.rs" [[test]] name = "errors" path = "tests/errors.rs" required-features = ["std"] [[test]] name = "state" path = "tests/state.rs" [[test]] name = "utils" path = "tests/utils.rs" [dependencies.chrono] version = "0.4" optional = true [dependencies.glob] version = "0.3" [dependencies.num] version = "0.4" default-features = false [dependencies.paste] version = "1" [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.smart-default] version = "0.7" [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", ] chrono = ["dep:chrono"] default = ["std"] full = [ "default", "chrono", "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]