diff-priv 0.1.0

k-anonymity, (c,l)-diversity and ε-differential privacy framework
Documentation
1
2
3
4
5
6
7
8
9
use crate::data_manipulation::anonymizable::Anonymizable;
use uuid::Uuid;

/// Generic trait for publishing the anonymized data
/// Anonymizable also contains Serialize to make it easy to
/// convert a value for specific publishers
pub trait Publisher {
    fn publish<M: Anonymizable>(&mut self, value: M, uuid: Uuid, dr: f64);
}