Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit 74f7cc7

Browse files
authored
wn 0.2.0 (#284)
1 parent 3fd04b3 commit 74f7cc7

File tree

6 files changed

+14
-22
lines changed

6 files changed

+14
-22
lines changed

ffi-rust/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "whitenoise_ffi"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["OpenDP-WhiteNoise <[email protected]>"]
55
description = "A wrapper library for interfacing with the Whitenoise over ffi."
66
readme = "README.md"
@@ -17,11 +17,11 @@ indexmap = "1.4.0"
1717

1818
[dependencies.whitenoise_validator]
1919
path = "../validator-rust/"
20-
version = "0.1.3"
20+
version = "0.2.0"
2121

2222
[dependencies.whitenoise_runtime]
2323
path = "../runtime-rust/"
24-
version = "0.1.3"
24+
version = "0.2.0"
2525
optional = true
2626
default-features = false
2727

runtime-rust/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "whitenoise_runtime"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["OpenDP-WhiteNoise <[email protected]>"]
55
description = "A library of algorithms for differentially private data analysis."
66
readme = "README.md"
@@ -33,13 +33,13 @@ noisy_float = "0.1.12"
3333
optional = true
3434

3535
[dependencies.gmp-mpfr-sys]
36-
version = "1.2.4"
36+
version = "=1.3.1"
3737
default-features = false
3838
features = ["mpfr"]
3939
optional = true
4040

4141
[dependencies.whitenoise_validator]
42-
version = "0.1.3"
42+
version = "0.2.0"
4343
path = "../validator-rust/"
4444

4545
[features]

scripts/build_docs.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
#!/usr/bin/env bash
2-
set -e -x
2+
#set -e -x
3+
4+
# gmp-mpfr-sys requires nightly to build documentation
5+
rustup install nightly
36

47
# Rust documentation
58
# current working directory must be in `whitenoise-core` root.
6-
doc_command="cargo doc --verbose --target-dir=docs --manifest-path=ffi-rust/Cargo.toml"
9+
doc_command="cargo +nightly doc --verbose --target-dir=docs --manifest-path=ffi-rust/Cargo.toml"
710

811
if [[ "${WN_USE_VULNERABLE_NOISE:-false}" != "false" ]]; then
912
doc_command+=" --no-default-features --features use-runtime"
1013
elif [[ "${WN_USE_SYSTEM_LIBS:-false}" != "false" ]]; then
1114
doc_command+=" --features use-system-libs"
1215
fi
1316

14-
eval "$doc_command"
17+
eval "$doc_command";
1518

1619
rm -rf docs/debug;

scripts/update_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33

44
self_dir = os.path.dirname(__file__)
5-
config_path = os.path.join(self_dir, "update_version_config.toml")
5+
config_path = os.path.join(self_dir, "update_version.toml")
66

77
with open(config_path, 'r') as config_file:
88
config = tomlkit.loads(config_file.read())

scripts/update_version_config.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

validator-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "whitenoise_validator"
3-
version = "0.1.3"
3+
version = "0.2.0"
44
authors = ["OpenDP-WhiteNoise <[email protected]>"]
55
description = "A library for validating whether or not an analysis is differentially private."
66
readme = "README.md"

0 commit comments

Comments
 (0)