# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "af-core" version = "0.1.8" authors = ["Alexandra Frydl "] description = "A core library and async runtime for Rust applications." license = "MPL-2.0" repository = "https://gitlab.com/alexfrydl/lib-rs" [package.metadata.docs.rs] all-features = true [lib] [[bin]] name = "test-core" path = "test/main.rs" required-features = ["test-runner"] [dependencies.af-core-macros] version = "^0.1.0" [dependencies.arrayvec] version = "0.5" [dependencies.async-channel] version = "1" [dependencies.async-executor] version = "1" [dependencies.async-global-executor] version = "2" features = ["async-io"] [dependencies.async-io] version = "1" [dependencies.async-lock] version = "2" [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4" [dependencies.chrono-tz] version = "0.5" default-features = false [dependencies.console] version = "0.14" optional = true [dependencies.dashmap] version = "4" optional = true [dependencies.derive_more] version = "0.99" [dependencies.event-listener] version = "2" [dependencies.fnv] version = "1" [dependencies.futures-lite] version = "1" [dependencies.im] version = "15" [dependencies.indicatif] version = "0.15" optional = true [dependencies.itertools] version = "0.10" [dependencies.log] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.once_cell] version = "1" features = ["parking_lot"] [dependencies.parking_lot] version = "0.11" [dependencies.parse_duration] version = "2" [dependencies.pin-project] version = "1" [dependencies.postgres-types] version = "0.2" features = ["with-chrono-0_4", "with-uuid-0_8"] optional = true [dependencies.rand] version = "0.8" [dependencies.rand_xoshiro] version = "0.6" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.signal-hook] version = "0.3" [dependencies.thiserror] version = "1" [dependencies.uuid] version = "0.8" features = ["serde"] [features] default = ["logger"] logger = ["af-core-macros/logger", "console", "dashmap"] postgres = ["postgres-types"] test-runner = ["console", "indicatif", "logger"] tokio = ["async-global-executor/tokio"]