From ed67220e4b5ae6b3a1bc50f59bd52b5b1dea3a6b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 17 Dec 2024 10:25:15 +0100 Subject: Remove deprecated things and compatibility behaviours (#5591) --- crates/typst-library/src/foundations/mod.rs | 1 - crates/typst-library/src/foundations/ops.rs | 16 ---- crates/typst-library/src/foundations/styles.rs | 62 +-------------- crates/typst-library/src/foundations/ty.rs | 18 ----- crates/typst-library/src/introspection/counter.rs | 46 ++---------- crates/typst-library/src/introspection/locate.rs | 92 ++--------------------- crates/typst-library/src/introspection/query.rs | 20 +---- crates/typst-library/src/introspection/state.rs | 80 +------------------- crates/typst-library/src/layout/measure.rs | 22 +----- crates/typst-library/src/model/outline.rs | 11 +-- 10 files changed, 24 insertions(+), 344 deletions(-) (limited to 'crates/typst-library/src') diff --git a/crates/typst-library/src/foundations/mod.rs b/crates/typst-library/src/foundations/mod.rs index 28f98318..d960a666 100644 --- a/crates/typst-library/src/foundations/mod.rs +++ b/crates/typst-library/src/foundations/mod.rs @@ -119,7 +119,6 @@ pub(super) fn define(global: &mut Scope, inputs: Dict, features: &Features) { global.define_func::(); global.define_func::(); global.define_func::(); - global.define_func::