A better Rust ATProto crate
at main 1.9 kB view raw
1[workspace] 2resolver = "2" 3members = ["crates/*"] 4 5 6[workspace.package] 7edition = "2024" 8version = "0.5.4" 9authors = ["Orual <orual@nonbinary.computer>"] 10#repository = "https://github.com/rsform/jacquard" 11repository = "https://tangled.org/@nonbinary.computer/jacquard" 12keywords = ["atproto", "at", "bluesky", "api", "client"] 13categories = ["api-bindings", "web-programming::http-client"] 14readme = "README.md" 15exclude = [".direnv"] 16homepage = "https://tangled.org/@nonbinary.computer/jacquard" 17license = "MPL-2.0" 18 19description = "Simple and powerful AT Protocol client library for Rust" 20 21# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 22 23[workspace.dependencies] 24# CLI 25clap = { version = "4.5", features = ["derive"] } 26 27# Serialization 28serde = { version = "1.0", features = ["derive"] } 29serde_json = "1.0" 30serde_with = "3.14" 31serde_html_form = "0.2" 32serde_ipld_dagcbor = "0.6" 33serde_repr = "0.1" 34 35# Error handling 36miette = "7.6" 37thiserror = "2.0" 38 39# trait stuff 40trait-variant = "0.1.2" 41 42 43bon = "3.8.0" 44 45# Data types 46bytes = "1.10" 47smol_str = { version = "0.3", features = ["serde"] } 48url = "2.5" 49 50# Proc macros 51proc-macro2 = "1.0" 52quote = "1.0" 53syn = "2.0" 54heck = "0.5" 55itertools = "0.14" 56prettyplease = "0.2" 57 58# HTTP 59http = "1.3" 60reqwest = { version = "0.12", default-features = false } 61 62# Async and runtimes 63tokio = { version = "1", default-features = false } 64 65# Observability 66tracing = "0.1" 67 68# Encoding and crypto building blocks 69base64 = "0.22" 70percent-encoding = "2.3" 71urlencoding = "2.1.3" 72rand_core = "0.6" 73 74# Time 75chrono = "0.4" 76 77# Crypto curves and JOSE 78p256 = "0.13" 79jose-jwk = "0.1" 80 81 82[workspace.package.metadata.binstall] 83pkg-url = "https://github.com/rsform/jacquard/releases/download/v{ version }/{ name }_{ target }_v{ version }{ archive-suffix }" 84bin-dir = "{ name }_{ target }_v{ version }/{ bin }{ binary-ext }" 85pkg-fmt = "txz"