Loading codegen/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ publish = false [dependencies] codegen-writer = "0.1.0" heck = "0.4.1" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" numeric_cast = "0.2.1" regex = "1.8.1" serde = { version = "1.0.163", features = ["derive"] } Loading crates/s3s-fs/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ hex-simd = "0.8.0" hyper = { version = "0.14.26", optional = true, features = ["full"] } md-5 = "0.10.5" mime = "0.3.17" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" numeric_cast = "0.2.1" path-absolutize = "3.1.0" s3s = { version = "0.6.0-dev", path = "../s3s" } Loading crates/s3s/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ hyper = { version = "0.14.26", features = ["stream"] } memchr = "2.5.0" mime = "0.3.17" nom = "7.1.3" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" pin-project-lite = "0.2.9" quick-xml = { version = "0.28.2", features = ["serialize"] } serde = { version = "1.0.163", features = ["derive"] } Loading crates/s3s/src/ops/mod.rs +2 −30 Original line number Diff line number Diff line Loading @@ -682,35 +682,7 @@ mod tests { use crate::service::S3Service; pub trait OutputSize<A> { type Output; } macro_rules! impl_output_size { (($($ty:tt,)*)) => { impl<$($ty,)* F, R> OutputSize<($($ty,)*)> for F where F: Fn($($ty,)*) -> R , { type Output = R; } }; } impl_output_size!(()); impl_output_size!((A0,)); impl_output_size!((A0, A1,)); impl_output_size!((A0, A1, A2,)); impl_output_size!((A0, A1, A2, A3,)); #[inline] #[must_use] pub const fn output_size<F, A>(_: &F) -> usize where F: OutputSize<A>, { std::mem::size_of::<F::Output>() } use rust_utils::mem::output_size; #[test] #[ignore] Loading Loading
codegen/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ publish = false [dependencies] codegen-writer = "0.1.0" heck = "0.4.1" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" numeric_cast = "0.2.1" regex = "1.8.1" serde = { version = "1.0.163", features = ["derive"] } Loading
crates/s3s-fs/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ hex-simd = "0.8.0" hyper = { version = "0.14.26", optional = true, features = ["full"] } md-5 = "0.10.5" mime = "0.3.17" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" numeric_cast = "0.2.1" path-absolutize = "3.1.0" s3s = { version = "0.6.0-dev", path = "../s3s" } Loading
crates/s3s/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ hyper = { version = "0.14.26", features = ["stream"] } memchr = "2.5.0" mime = "0.3.17" nom = "7.1.3" nugine-rust-utils = "0.3.0" nugine-rust-utils = "0.3.1" pin-project-lite = "0.2.9" quick-xml = { version = "0.28.2", features = ["serialize"] } serde = { version = "1.0.163", features = ["derive"] } Loading
crates/s3s/src/ops/mod.rs +2 −30 Original line number Diff line number Diff line Loading @@ -682,35 +682,7 @@ mod tests { use crate::service::S3Service; pub trait OutputSize<A> { type Output; } macro_rules! impl_output_size { (($($ty:tt,)*)) => { impl<$($ty,)* F, R> OutputSize<($($ty,)*)> for F where F: Fn($($ty,)*) -> R , { type Output = R; } }; } impl_output_size!(()); impl_output_size!((A0,)); impl_output_size!((A0, A1,)); impl_output_size!((A0, A1, A2,)); impl_output_size!((A0, A1, A2, A3,)); #[inline] #[must_use] pub const fn output_size<F, A>(_: &F) -> usize where F: OutputSize<A>, { std::mem::size_of::<F::Output>() } use rust_utils::mem::output_size; #[test] #[ignore] Loading