# 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 = "restrepo" version = "0.4.0-beta2" authors = [ "Jorit Kleine-Möllhoff ", "Theresa Höhne ", ] build = false exclude = [ "cliff.toml", ".gitlab-ci.yml", "data/jwk_rsa.json", "data/private_rsa_key.pem", ".vscode", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A collection of components for building restful webservices with actix-web" homepage = "https://crates.io/crates/restrepo" readme = "Readme.md" license = "MIT OR Apache-2.0" [lib] name = "restrepo" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic/main.rs" [[example]] name = "with-api-config" path = "examples/with-api-config/main.rs" [[test]] name = "authentication_context_test" path = "tests/authentication_context_test.rs" [[test]] name = "rbac_test" path = "tests/rbac_test.rs" [dependencies.actix-cors] version = "0.7" [dependencies.actix-service] version = "2" [dependencies.actix-web] version = "4" [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4" features = ["derive"] [dependencies.config] version = "0.14" [dependencies.futures] version = "0.3" [dependencies.jsonwebtoken] version = "9" features = ["use_pem"] [dependencies.lazy_static] version = "1.4.0" [dependencies.mime] version = "0.3" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls", "http2", "charset", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9" [dependencies.sha2] version = "0.10" [dependencies.sqlx] version = "0.8" features = [ "runtime-tokio", "tls-rustls", "postgres", "uuid", "chrono", ] [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dependencies.url] version = "2.5" features = ["serde"] [dependencies.utoipa] version = "5" features = [ "actix_extras", "chrono", "uuid", ] [dependencies.uuid] version = "1.11" features = [ "serde", "v4", ] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.fake] version = "2" features = [ "serde_json", "derive", ] [dev-dependencies.glob] version = "0.3" [dev-dependencies.serde_test] version = "1"