[dependencies.base64]
version = "0.22.1"
[dependencies.cookie]
version = "0.18.1"
[dependencies.flume]
default-features = false
features = ["async"]
version = "0.11.1"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.httpdate]
version = "1"
[dependencies.pkarr]
default-features = false
features = ["full"]
version = "3.10.0"
[dependencies.pubky-common]
version = "0.6.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.thiserror]
version = "2.0.11"
[dependencies.url]
version = "2.5.4"
[dependencies.web-time]
version = "1.1.0"
[dev-dependencies.httpmock]
version = "0.7"
[features]
default = []
json = ["dep:serde", "reqwest/json"]
[lib]
crate-type = ["rlib"]
name = "pubky"
path = "src/lib.rs"
[lints.clippy]
allow_attributes_without_reason = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
string_to_string = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
[package]
authors = ["SeverinAlexB <severin@synonym.to>", "SHAcollision <shacollision@synonym.to>", "Nuh <nuh@nuh.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "cryptography", "web-programming", "authentication"]
description = "Pubky SDK"
edition = "2024"
homepage = "https://github.com/pubky/pubky-core"
keywords = ["web", "dht", "dns", "decentralized", "identity"]
license = "MIT"
name = "pubky"
readme = "README.md"
repository = "https://github.com/pubky/pubky-core"
resolver = "2"
version = "0.6.0"
[package.metadata.docs.rs]
all-features = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
default-features = false
features = ["cookies", "rustls-tls", "json"]
version = "0.12.12"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
features = ["full"]
version = "1.43.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing]
version = "0.1.41"
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-lite]
default-features = false
version = "2.6.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.log]
version = "0.4.25"
[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
default-features = false
features = ["json"]
version = "0.12.12"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.50"