# 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" rust-version = "1.71.1" name = "polyproto" version = "0.9.0" description = "(Generic) Rust types and traits to quickly get a polyproto implementation up and running" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/polyphony-chat/polyproto" [lib] crate-type = [ "rlib", "cdylib", "staticlib", ] [dependencies.der] version = "0.7.9" features = ["pem"] [dependencies.getrandom] version = "0.2.14" optional = true [dependencies.http] version = "1.1.0" optional = true [dependencies.log] version = "0.4.21" [dependencies.regex] version = "1.10.4" [dependencies.reqwest] version = "0.12.4" features = ["json"] optional = true [dependencies.serde] version = "1.0.199" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.116" optional = true [dependencies.spki] version = "0.7.3" features = ["pem"] [dependencies.thiserror] version = "1.0.59" [dependencies.url] version = "2.5.0" optional = true [dependencies.x509-cert] version = "0.2.5" [dev-dependencies.ed25519-dalek] version = "2.1.1" features = [ "rand_core", "signature", ] [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.httptest] version = "0.16.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0.199" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.116" [dev-dependencies.serde_test] version = "1.0.176" [dev-dependencies.tokio] version = "1.37.0" features = ["full"] [features] default = ["types"] getrandom = ["dep:getrandom"] reqwest = [ "dep:reqwest", "types", "serde", "dep:url", ] serde = [ "dep:serde", "dep:serde_json", ] types = ["dep:http"] wasm = [ "getrandom", "getrandom/js", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen] version = "0.2.92" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.42"