Skip to content

Commit 52e5a54

Browse files
authored
Merge pull request #290 from tamasfe:remove-schemas
Remove all schemas and schema-related tools
2 parents f988f47 + 42047a1 commit 52e5a54

13 files changed

+9
-5782
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = ["crates/*"]
3-
exclude = ["util/test-gen", "util/schema-index", "crates/taplo-wasm"]
3+
exclude = ["util/test-gen", "crates/taplo-wasm"]
44

55
[profile.release]
66
codegen-units = 1

crates/taplo-common/src/schema/associations.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
use super::cache::Cache;
2-
use crate::{config::Config, environment::Environment, util::{GlobRule, normalize_str}, IndexMap};
2+
use crate::{
3+
config::Config,
4+
environment::Environment,
5+
util::{normalize_str, GlobRule},
6+
IndexMap,
7+
};
38
use anyhow::anyhow;
49
use parking_lot::{RwLock, RwLockReadGuard};
510
use regex::Regex;
@@ -12,10 +17,7 @@ use taplo::dom::Node;
1217
use tokio::sync::Semaphore;
1318
use url::Url;
1419

15-
pub const DEFAULT_CATALOGS: &[&str] = &[
16-
"https://www.schemastore.org/api/json/catalog.json",
17-
"https://taplo.tamasfe.dev/schema_index.json",
18-
];
20+
pub const DEFAULT_CATALOGS: &[&str] = &["https://www.schemastore.org/api/json/catalog.json"];
1921

2022
pub mod priority {
2123
pub const CATALOG: usize = 0;

editors/vscode/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@
237237
"type": "string"
238238
},
239239
"default": [
240-
"https://www.schemastore.org/api/json/catalog.json",
241-
"https://taplo.tamasfe.dev/schema_index.json"
240+
"https://www.schemastore.org/api/json/catalog.json"
242241
]
243242
},
244243
"evenBetterToml.schema.associations": {

schemas/Cargo.toml.json

-1,357
This file was deleted.

0 commit comments

Comments
 (0)