# 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 = "oxitraffic" version = "0.10.3" authors = ["Mo Bitar "] build = "build.rs" include = [ "/.sqlx/", "/migrations/", "/src/", "/static/logo.svg.gz", "/static/main.css.gz", "/static/stats.js.gz", "/static/stats.js.map.gz", "/templates/", "/build.rs", "/LICENSE.txt", "/README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Self-hosted, simple and privacy respecting website traffic tracker" readme = "README.md" keywords = [ "selfhosted", "analytics", "traffic", ] license = "AGPL-3.0" repository = "https://codeberg.org/mo8it/oxitraffic" [profile.dev] strip = "debuginfo" [profile.dev.package.rinja_derive] opt-level = 3 [profile.dev.package.sqlx-macros] opt-level = 3 [profile.release] lto = true codegen-units = 1 strip = "debuginfo" [[bin]] name = "oxitraffic" path = "src/main.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.81" [dependencies.axum] version = "0.7.5" features = [ "http1", "tokio", "json", "query", ] default-features = false [dependencies.axum-ctx] version = "0.4.0" [dependencies.bigdecimal] version = "0.4.5" [dependencies.mime] version = "0.3.17" [dependencies.oxi-axum-helpers] version = "0.0.35" features = [ "init", "postgres", "static_router", ] [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.5" features = ["rustls-tls"] default-features = false [dependencies.rinja_axum] version = "0.3.1" default-features = false [dependencies.serde] version = "1.0.208" features = ["derive"] [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.sqlx] version = "0.8.0" features = [ "postgres", "runtime-tokio", "tls-rustls", "macros", "migrate", "time", "bigdecimal", ] default-features = false [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1.39.3" features = ["rt-multi-thread"] default-features = false [dependencies.tower-http] version = "0.5.2" features = [ "cors", "trace", "compression-gzip", ] default-features = false [dependencies.tracing] version = "0.1.40" features = ["std"] default-features = false [dependencies.url] version = "2.5.2" [dev-dependencies.figment] version = "0.10.19" features = ["test"] [dev-dependencies.tower] version = "0.4.13" default-features = false [build-dependencies.time] version = "0.3.36"