Skip to content

Commit e2b867d

Browse files
committed
Release 0.0.13
1 parent bdb8737 commit e2b867d

File tree

7 files changed

+83
-67
lines changed

7 files changed

+83
-67
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
### 0.0.13
4+
5+
- Ability to serialize logout requests

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
- luqmana
99
- RavuAlHemio
1010
- samueltardieu
11+
- ServiusHack

Cargo.lock

Lines changed: 28 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "samael"
3-
version = "0.0.12"
3+
version = "0.0.13"
44
authors = ["Nathan Jaremko <[email protected]>"]
55
edition = "2021"
66
license = "MIT"
@@ -20,24 +20,24 @@ crate-type = ["staticlib", "rlib"]
2020
xmlsec = ["libc", "lazy_static", "libxml"]
2121

2222
[build-dependencies]
23-
pkg-config = "^0.3.17"
24-
bindgen = "^0.65.1"
23+
pkg-config = "^0.3.17"
24+
bindgen = "^0.68.1"
2525

2626
[dependencies]
2727
openssl = "^0.10.0"
2828
openssl-sys = "^0.9.0"
2929
openssl-probe = "^0.1.2"
3030
url = "^2.1.1"
31-
quick-xml = { version = "^0.28.2", features = [ "serialize" ] }
31+
quick-xml = { version = "^0.30.0", features = ["serialize"] }
3232
serde = { version = "^1.0.0", features = ["derive"] }
3333
chrono = { version = "^0.4.0", features = ["serde"] }
3434
base64 = "^0.21.0"
3535
flate2 = "^1.0.0"
3636
rand = "^0.8.4"
3737
derive_builder = "^0.12.0"
38-
libxml = { version = "^0.3.1", optional = true}
39-
uuid = { version = "^1.3.0", features = [ "v4" ] }
38+
libxml = { version = "^0.3.1", optional = true }
39+
uuid = { version = "^1.3.0", features = ["v4"] }
4040
data-encoding = "2.2.0"
41-
libc = {version = "^0.2.66", optional = true}
42-
lazy_static = {version = "^1.4.0", optional = true}
41+
libc = { version = "^0.2.66", optional = true }
42+
lazy_static = { version = "^1.4.0", optional = true }
4343
thiserror = "^1.0.40"

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,20 @@ If you want to use the `"xmlsec"` feature, you'll need to install the following
2929

3030
# Build instructions
3131

32-
We use [nix](https://nixos.org/download.html) to faciliate reproducible builds of `samael`.
32+
We use [nix](https://nixos.org) to faciliate reproducible builds of `samael`.
3333
It will ensure you have the required libraries installed in a way that won't cause any issues with the rest of your system.
3434
If you want to take advantage of this, you'll need to put in a little bit of work.
3535

36-
1. [Install nix](https://nixos.org/download.html)
37-
2. Enable [nix flake support](https://nixos.wiki/wiki/Flakes#Non-NixOS)
38-
3. Install [direnv](https://direnv.net/)
39-
4. Install [cachix](https://docs.cachix.org/installation)
40-
5. Run `cachix use nix-community` to enable a binary cache for the rust toolchain (otherwise you'll build the rust toolchain from scratch)
41-
6. Run `nix-env -f '<nixpkgs>' -iA nix-direnv` and `echo "source $HOME/.nix-profile/share/nix-direnv/direnvrc" > $HOME/.direnvrc` to improve nix support for direnv
42-
7. `cd` into this repo and run `nix build` then, after that finishes, `direnv allow`
43-
8. Install the [direnv VS Code extension](https://marketplace.visualstudio.com/items?itemName=mkhl.direnv)
36+
1. [Install nix](https://github.com/DeterminateSystems/nix-installer)
37+
1. Install [direnv](https://direnv.net/) and [cachix](https://docs.cachix.org)
38+
```
39+
# Add ~/.nix-profile/bin to your path first
40+
nix profile install nixpkgs/release-23.05#direnv
41+
nix profile install nixpkgs/release-23.05#cachix
42+
```
43+
1. Run `cachix use nix-community` to enable a binary cache for the rust toolchain (otherwise you'll build the rust toolchain from scratch)
44+
1. `cd` into this repo and run `direnv allow`
45+
1. Install the [direnv VS Code extension](https://marketplace.visualstudio.com/items?itemName=mkhl.direnv)
4446

4547
## Building the library
4648

@@ -52,6 +54,7 @@ If you followed the above instructions, just `cd`-ing into the directory will se
5254
but if you don't want to install `direnv`, then just run `nix develop`.
5355

5456
From their you can build as normal:
57+
5558
```sh
5659
cargo build --features xmlsec
5760
cargo test --features xmlsec

flake.lock

Lines changed: 28 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
inputs = {
3-
nixpkgs.url = "nixpkgs/nixos-unstable";
3+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
44
flake-utils.url = "github:numtide/flake-utils";
55
nix-filter.url = "github:numtide/nix-filter";
66
rust-overlay = {

0 commit comments

Comments
 (0)