# 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 = "architect-api" version = "2.1.3" authors = ["Architect Financial Technologies LLC"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Architect.xyz Trading Platform API" homepage = "https://www.architect.xyz" documentation = "https://docs.rs/architect-api" readme = "README.md" keywords = [ "crypto", "hft", "trading", "finance", ] categories = [ "finance", "cryptography::cryptocurrencies", ] license = "AGPL-3.0-only" [lib] name = "architect_api" path = "src/lib.rs" [[bench]] name = "order_id_benchmark" path = "benches/order_id_benchmark.rs" harness = false [dependencies.anyhow] version = "1" features = ["backtrace"] [dependencies.arcstr] version = "1" features = ["serde"] [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4" features = [ "cargo", "derive", ] optional = true [dependencies.compact_str] version = "0.7.0" features = ["serde"] [dependencies.derive] version = "0.4.0" package = "architect-derive" [dependencies.derive_builder] version = "0.20" [dependencies.derive_more] version = "1" features = ["full"] [dependencies.dirs] version = "5" [dependencies.enum_dispatch] version = "0.3.12" [dependencies.enumflags2] version = "^0.7.5" features = ["serde"] [dependencies.futures] version = "0.3" [dependencies.fxhash] version = "0.2" [dependencies.governor] version = "0.6" [dependencies.juniper] version = "0.16.0" features = [ "anyhow", "chrono", "rust_decimal", "schema-language", "uuid", ] optional = true [dependencies.log] version = "0.4.20" [dependencies.netidx] version = "0.26.0" optional = true [dependencies.netidx-core] version = "0.26.0" optional = true [dependencies.netidx-derive] version = "0.22.0" optional = true [dependencies.once_cell] version = "1" [dependencies.parking_lot] version = "0.12.1" features = ["arc_lock"] [dependencies.pest] version = "2" [dependencies.pest_derive] version = "2" [dependencies.postgres-types] version = "0.2.6" features = ["derive"] optional = true [dependencies.rand] version = "0.8" [dependencies.rusqlite] version = "0.31.0" optional = true [dependencies.rust_decimal] version = "1" features = [ "maths", "serde", "db-postgres", ] [dependencies.rust_decimal_macros] version = "1" [dependencies.schemars] version = "1.0.0" features = [ "chrono", "bytes", "smallvec", "uuid1", "enumflags2", "rust_decimal", "netidx-core", ] package = "architect-schemars" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1" features = ["raw_value"] [dependencies.serde_with] version = "3" features = ["chrono"] [dependencies.serde_yaml] version = "0.9" [dependencies.smallvec] version = "1" features = [ "serde", "const_generics", "union", ] [dependencies.sqlx] version = "0.8" features = [ "runtime-tokio", "tls-rustls", "postgres", "chrono", "uuid", "rust_decimal", ] optional = true [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.tokio] version = "1" features = [ "fs", "io-std", "io-util", "macros", "rt-multi-thread", "sync", "time", ] optional = true [dependencies.tokio-postgres] version = "0.7.10" features = [ "with-chrono-0_4", "with-uuid-1", "with-serde_json-1", ] optional = true [dependencies.tonic] version = "0.12" optional = true [dependencies.uuid] version = "1" features = [ "v4", "v5", "serde", ] [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.serde_yaml] version = "0.9" [dev-dependencies.zeroize] version = "1" features = ["zeroize_derive"] [build-dependencies.tonic-build] version = "0.12" features = ["transport"] optional = true [features] graphql = ["juniper"] grpc = [ "tonic", "tonic-build", ] netidx = [ "dep:netidx", "netidx-core", "netidx-derive", ] postgres = [ "postgres-types", "tokio-postgres", ]