activitystreams/src/lib.rs

46 lines
1.2 KiB
Rust
Raw Normal View History

2018-05-12 20:14:43 +00:00
/*
* This file is part of ActivityStreams.
*
* Copyright © 2018 Riley Trautman
*
* ActivityStreams is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ActivityStreams is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ActivityStreams. If not, see <http://www.gnu.org/licenses/>.
*/
2018-05-12 05:31:33 +00:00
#[macro_use]
extern crate activitystreams_derive;
2018-05-12 19:51:54 +00:00
extern crate chrono;
#[macro_use]
2018-05-12 05:31:33 +00:00
extern crate failure;
extern crate mime;
extern crate serde;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate serde_json;
pub fn context() -> serde_json::Value {
json!({
"one": "two",
})
}
pub mod activity;
pub mod actor;
pub mod collection;
2018-05-13 20:37:40 +00:00
pub mod custom_props;
2018-05-12 05:31:33 +00:00
pub mod error;
pub mod link;
pub mod object;
2018-05-13 19:53:06 +00:00
pub mod properties;