Skip to content

Commit 279fe2b

Browse files
committed
Rename imageflow_serde to imageflow_types
1 parent 4f4c5e0 commit 279fe2b

30 files changed

+37
-37
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#Valgrind copes
1818
/imageflow_core/.valgrindrc
1919
/imageflow_core/valgrind_suppressions.txt
20-
/imageflow_serde/.valgrindrc
21-
/imageflow_serde/valgrind_suppressions.txt
20+
/imageflow_types/.valgrindrc
21+
/imageflow_types/valgrind_suppressions.txt
2222
/imageflow_server/.valgrindrc
2323
/imageflow_server/valgrind_suppressions.txt
2424
/imageflow_tool/.valgrindrc

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["imageflow_serde", "imageflow_core", "imageflow_abi", "imageflow_tool", "imageflow_server"]
2+
members = ["imageflow_types", "imageflow_core", "imageflow_abi", "imageflow_tool", "imageflow_server"]
33

44
[replace]
55
"pkg-config:0.3.8" = { git = "https://github.com/imazen/pkg-config-rs", branch="master"}

build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ if [[ "$TEST_RUST" == 'True' ]]; then
187187
eval "$VALGRIND_CARGO_COMMAND"
188188
)
189189
(
190-
cd imageflow_serde
190+
cd imageflow_types
191191
eval "$COPY_VALGRINDRC"
192192
eval "$VALGRIND_CARGO_COMMAND"
193193
)
@@ -214,7 +214,7 @@ if [[ "$TEST_RUST" == 'True' ]]; then
214214
cargo test
215215
)
216216
(
217-
cd imageflow_serde
217+
cd imageflow_types
218218
cargo test
219219
)
220220
(
@@ -241,9 +241,9 @@ if [[ "$BUILD_RELEASE" == 'True' ]]; then
241241
cd imageflow_core
242242
cargo doc --no-deps
243243
)
244-
echo "Building imageflow_serde docs"
244+
echo "Building imageflow_types docs"
245245
(
246-
cd imageflow_serde
246+
cd imageflow_types
247247
cargo doc --no-deps
248248
)
249249

imageflow_core/.idea/modules.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

imageflow_core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ serde_json = "*"
2121
lazy_static = "0.1.*"
2222
curl = "~0.3.11"
2323
json = "*"
24-
imageflow_serde = { path = "../imageflow_serde", version = "*" }
24+
imageflow_types = { path = "../imageflow_types", version = "*" }
2525
petgraph = "^0.2.8"
2626
daggy = "^0.4.1"
2727

imageflow_core/src/boring.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern crate threadpool;
1212
extern crate serde;
1313
extern crate serde_json;
1414
extern crate time;
15-
extern crate imageflow_serde as s;
15+
extern crate imageflow_types as s;
1616
use std::path::PathBuf;
1717
use std::str::FromStr;
1818
use std::sync::mpsc::channel;

imageflow_core/src/clients/stateless.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std;
2-
extern crate imageflow_serde as s;
2+
extern crate imageflow_types as s;
33
extern crate serde_json;
44
use ::ContextPtr;
55
use ::SelfDisposingContextPtr;

imageflow_core/src/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::path::Path;
77
use std::fs::File;
88
use std::io::Write;
99

10-
extern crate imageflow_serde as s;
10+
extern crate imageflow_types as s;
1111
extern crate serde_json;
1212

1313
pub struct ContextPtr {

imageflow_core/src/ffi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! **Use imageflow_core::abi functions instead when creating bindings**
55
//!
66
//! These aren't to be exposed, but rather to connect to C internals
7-
extern crate imageflow_serde as s;
7+
extern crate imageflow_types as s;
88
extern crate libc;
99

1010
use flow;

imageflow_core/src/flow/definitions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use libc::{c_void, c_float, int32_t, int64_t, size_t, uint32_t};
2-
extern crate imageflow_serde as s;
2+
extern crate imageflow_types as s;
33
use daggy::{Dag, EdgeIndex, NodeIndex};
44
use ffi::*;
55
use std;

imageflow_core/src/flow/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::ptr;
1616
use std::string;
1717
use time;
1818

19-
extern crate imageflow_serde as s;
19+
extern crate imageflow_types as s;
2020

2121
pub mod definitions;
2222
pub mod nodes;

imageflow_core/src/flow/nodes/clone_crop_fill_expand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use daggy::{Dag, EdgeIndex, NodeIndex};
33
use ffi;
44
use ffi::{Context, Job, EdgeKind, PixelFormat};

imageflow_core/src/flow/nodes/codecs_and_pointer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use daggy::{Dag, EdgeIndex, NodeIndex};
33
use ffi;
44
use ffi::{Context, Job, EdgeKind, BitmapBgra};

imageflow_core/src/flow/nodes/create_canvas.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use daggy::{Dag, EdgeIndex, NodeIndex};
33
use ffi;
44
use ffi::{Context, Job, EdgeKind};

imageflow_core/src/flow/nodes/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mod scale_render;
99
mod create_canvas;
1010
mod codecs_and_pointer;
1111

12-
extern crate imageflow_serde as s;
12+
extern crate imageflow_types as s;
1313
pub use self::clone_crop_fill_expand::CLONE;
1414
pub use self::clone_crop_fill_expand::COPY_RECT;
1515
pub use self::clone_crop_fill_expand::CROP;

imageflow_core/src/flow/nodes/rotate_flip_transpose.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use daggy::{Dag, EdgeIndex, NodeIndex};
33
use ffi;
44
use ffi::{Context, Job, EdgeKind};

imageflow_core/src/flow/nodes/scale_render.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use daggy::{Dag, EdgeIndex, NodeIndex};
33
use ffi;
44
use ffi::{Context, Job, EdgeKind};

imageflow_core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern crate alloc_system;
1212
extern crate petgraph;
1313
extern crate daggy;
1414
extern crate time;
15-
extern crate imageflow_serde as s;
15+
extern crate imageflow_types as s;
1616

1717
#[macro_use]
1818
extern crate lazy_static;

imageflow_core/src/parsing/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use parsing::rustc_serialize::hex::FromHex;
1515
use std::collections::HashMap;
1616

1717
use std::ptr;
18-
extern crate imageflow_serde as s;
18+
extern crate imageflow_types as s;
1919
extern crate serde;
2020
extern crate serde_json;
2121

imageflow_core/src/parsing/parse_graph.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use ffi::EdgeKind;
33
use std;
44
use std::collections::HashMap;

imageflow_core/src/parsing/parse_io.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate imageflow_serde as s;
1+
extern crate imageflow_types as s;
22
use ffi::EdgeKind;
33
use ::ffi;
44
use libc;

imageflow_core/tests/visuals.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate imageflow_core;
22
extern crate libc;
33
extern crate rustc_serialize;
4-
extern crate imageflow_serde as s;
4+
extern crate imageflow_types as s;
55
extern crate serde;
66
extern crate serde_json;
77

imageflow_server/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ threadpool = "1.0"
1818
serde = "*"
1919
serde_json = "*"
2020
imageflow_core = { path = "../imageflow_core", version = "*" }
21-
imageflow_serde = { path = "../imageflow_serde", version = "*" }
21+
imageflow_types = { path = "../imageflow_types", version = "*" }
2222

2323
[build-dependencies]
2424
cmake = "0.1.17"

imageflow_server/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern crate libc;
66
extern crate time;
77

88
extern crate imageflow_core;
9-
extern crate imageflow_serde as s;
9+
extern crate imageflow_types as s;
1010

1111
use imageflow_core::clients::stateless;
1212

imageflow_serde/Cargo.toml renamed to imageflow_types/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "imageflow_serde"
2+
name = "imageflow_types"
33
version = "0.1.0"
44
authors = ["Nathanael Jones <[email protected]>"]
55
workspace = "../"
66

77
[lib]
8-
name="imageflow_serde"
8+
name="imageflow_types"
99
doctest = false
1010

1111
[dependencies]

imageflow_serde/imageflow_serde.iml renamed to imageflow_types/imageflow_serde.iml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</content>
1212
<orderEntry type="inheritedJdk" />
1313
<orderEntry type="sourceFolder" forTests="false" />
14-
<orderEntry type="library" name="Rust &lt;imageflow_serde&gt;" level="project" />
15-
<orderEntry type="library" name="Cargo &lt;imageflow_serde&gt;" level="project" />
14+
<orderEntry type="library" name="Rust &lt;imageflow_types&gt;" level="project" />
15+
<orderEntry type="library" name="Cargo &lt;imageflow_types&gt;" level="project" />
1616
</component>
1717
</module>
File renamed without changes.
File renamed without changes.

source_guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
## Rust crates
55

6-
* imageflow_serde - JSON serialization types
7-
* imageflow_core - Defines the FFI exposed in the shared library. Depends on imageflow_serde
6+
* imageflow_types - JSON serialization types
7+
* imageflow_core - Defines the FFI exposed in the shared library. Depends on imageflow_types
88
* imageflow_tool - Command-line app which wraps imageflow_core
99
* imageflow_server - prototype HTTP serve around imageflow_core
1010
* imageflow_abi - Empty crate to re-export a dynamic library with dependencies statically linked

0 commit comments

Comments
 (0)