diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-03-14 11:49:28 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-03-14 11:49:28 -0400 |
| commit | ffa187db252a7ee8765025f95d2cae18859258be (patch) | |
| tree | 7be54115a961c0681b80f2c36ee3fff791a2fd28 /src/libcore/core.rc | |
| parent | c6f2594319266c73f9b5a6c69dd482d6fda8dd12 (diff) | |
| download | rust-ffa187db252a7ee8765025f95d2cae18859258be.tar.gz rust-ffa187db252a7ee8765025f95d2cae18859258be.zip | |
adjust auto_serialize to generate fns named serialize_T()
We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial)
Diffstat (limited to 'src/libcore/core.rc')
| -rw-r--r-- | src/libcore/core.rc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 72f5b528c9a..c28ad0a0282 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -31,7 +31,7 @@ export uint, u8, u16, u32, u64; export float, f32, f64; export box, char, str, ptr, vec, bool; export either, option, result, iter; -export libc, os, io, run, rand, sys, unsafe, logging, serialization; +export libc, os, io, run, rand, sys, unsafe, logging; export comm, task, future; export extfmt; export tuple; @@ -88,7 +88,6 @@ mod cmath; mod sys; mod unsafe; mod logging; -mod serialization; // Concurrency mod comm; |
