Something went wrong. Try again.
An OIDC provider for AT Protocol OAuth. Rust port of apenwarr/atlogin.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135[package]name = "ratlogin"version = "0.1.2"edition = "2024"license = "BSD-3-Clause"repository = "https://tangled.org/quilling.dev/ratlogin"description = "An AT Protocol backed OIDC provider"publish = false
[[bin]]name = "ratlogin"path = "src/main.rs"
[dependencies]askama = "0.16"axum = "0.8"base64 = "0.22"clap = { version = "4", features = ["derive", "env"] }hickory-resolver = { version = "0.26", features = ["system-config", "tokio"] }http = "1"jacquard-common = { version = "0.13", features = ["reqwest-rustls-ring"] }jacquard-identity = "0.13"jacquard-oauth = "0.13"jiff = { version = "0.2", features = ["serde"] }jsonwebtoken = { version = "11", features = ["rust_crypto"] }p256 = { version = "0.13", features = ["pkcs8", "pem"] }percent-encoding = "2"rand = "0.8"reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "json"] }rsa = { version = "0.9", features = ["pem"] }rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }rusqlite = { version = "0.40", features = ["bundled"] }serde = { version = "1", features = ["derive"] }serde_json = "1"sha2 = "0.10"subtle = "2"thiserror = "2"tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] }tower-http = { version = "0.7", features = ["limit", "set-header", "timeout"] }tower_governor = "0.8"toml = "1"tracing = "0.1"tracing-subscriber = { version = "0.3", features = ["env-filter"] }url = { version = "2", features = ["serde"] }zeroize = "1"
[dev-dependencies]http-body-util = "0.1"openidconnect = { version = "4", default-features = false }rcgen = "0.14"tempfile = "3"tokio = { version = "1", features = ["io-util"] }tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }tower = { version = "0.5", features = ["util"] }
[profile.dev]debug = "line-tables-only"
[profile.dev.package]crypto-bigint = { opt-level = 3 }ecdsa = { opt-level = 3 }elliptic-curve = { opt-level = 3 }num-bigint-dig = { opt-level = 3 }p256 = { opt-level = 3 }primeorder = { opt-level = 3 }rsa = { opt-level = 3 }sha2 = { opt-level = 3 }
[profile.release]lto = "thin"strip = true
[lints.rust]unreachable_pub = "warn"redundant_imports = "warn"redundant_lifetimes = "warn"single_use_lifetimes = "warn"trivial_numeric_casts = "warn"unit_bindings = "warn"unused_lifetimes = "warn"unused_import_braces = "warn"missing_abi = "warn"meta_variable_misuse = "warn"macro_use_extern_crate = "warn"non_ascii_idents = "warn"ambiguous_negative_literals = "warn"variant_size_differences = "warn"unused_qualifications = "warn"unnameable_types = "warn"unsafe_code = "warn"
[lints.clippy]cargo = { level = "warn", priority = -1 }multiple_crate_versions = "allow"use_self = "warn"str_to_string = "warn"print_stdout = "warn"print_stderr = "warn"todo = "warn"unimplemented = "warn"unwrap_used = "warn"expect_used = "warn"redundant_clone = "warn"collection_is_never_read = "warn"needless_collect = "warn"derive_partial_eq_without_eq = "warn"useless_let_if_seq = "warn"iter_on_single_items = "warn"doc_link_code = "warn"inefficient_to_string = "warn"naive_bytecount = "warn"stable_sort_primitive = "warn"trivially_copy_pass_by_ref = "warn"large_types_passed_by_value = "warn"large_stack_arrays = "warn"unnecessary_box_returns = "warn"maybe_infinite_iter = "warn"linkedlist = "warn"or_fun_call = "warn"suboptimal_flops = "warn"iter_with_drain = "warn"mutex_atomic = "warn"mutex_integer = "warn"rc_buffer = "warn"format_push_string = "warn"implicit_clone = "warn"cloned_instead_of_copied = "warn"unnecessary_join = "warn"
[patch.crates-io]jacquard-oauth = { git = "https://tangled.org/quilling.dev/jacquard", rev = "a87372be6469b72256abb628bbb43aa01d81dbe0" }jacquard-common = { git = "https://tangled.org/quilling.dev/jacquard", rev = "a87372be6469b72256abb628bbb43aa01d81dbe0" }jacquard-identity = { git = "https://tangled.org/quilling.dev/jacquard", rev = "a87372be6469b72256abb628bbb43aa01d81dbe0" }jacquard-lexicon = { git = "https://tangled.org/quilling.dev/jacquard", rev = "a87372be6469b72256abb628bbb43aa01d81dbe0" }