diff --git a/README.md b/README.md index a2eecc7..e896ae8 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,8 @@ async fn main() -> Result<(), PsecError> { To add this crate to your project, add the following to your project's Cargo.toml: ```toml [dependencies] -async-psec = { version = "0.2", git = "https://forge.chapril.org/hardcoresushi/async-psec" } +async-psec = "0.2" ``` # Documentation -The API documentation can be build by running: -``` -cargo doc --all-features -``` +The API documentation can be found [here](https://docs.rs/async-psec). diff --git a/src/lib.rs b/src/lib.rs index 8b34a29..cd4ab20 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ PSEC (Peer-to-peer Secure Ephemeral Communications) is a simplification/adaptati Add this in your `Cargo.toml`: ```toml [dependencies] -async-psec = "0.1" +async-psec = "0.2" ``` And then: ```no_run @@ -36,7 +36,7 @@ async fn main() -> Result<(), PsecError> { If you want to split the [`Session`] struct in two parts, you must enable the `split` feature: ```toml [dependencies] -async-psec = { version = "0.1", feature = ["split"] } +async-psec = { version = "0.2", feature = ["split"] } ``` This can be useful if you want to send data from one thread/task and receive from another in parallel. */ @@ -699,4 +699,4 @@ mod tests { let large_msg = "a".repeat(5000); assert_eq!(pad(large_msg.as_bytes(), true).len(), 8000); } -} \ No newline at end of file +}