Skip to content

Commit 4a65221

Browse files
Removed stubbed-out code for Slice1 encoding in Rust. (#725)
1 parent 92d0e0c commit 4a65221

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

slice-codec/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ default = ["slice2", "std"]
3333
# Provides support for the Slice2 encoding.
3434
slice2 = []
3535

36-
# Provides support for the Slice1 encoding.
37-
slice1 = []
38-
3936
# Provides implementations for encoding and decoding common standard library types like `String`, `Vec`, `HashMap`, etc.
4037
# Introduces a dependency on the Rust standard library. This flag should be disabled for 'no-std' projects.
4138
std = ["alloc"]

slice-codec/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ extern crate std;
1818
#[cfg(feature = "slice2")]
1919
pub mod slice2;
2020

21-
// Only include the `slice1` module if the corresponding feature is set.
22-
#[cfg(feature = "slice1")]
23-
pub mod slice1;
24-
2521
pub mod buffer;
2622
pub mod decode_from;
2723
pub mod decoder;

slice-codec/src/slice1/mod.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)