diff --git a/src/rules/hosting/fastly.ts b/src/rules/hosting/fastly.ts new file mode 100644 index 00000000..cf093428 --- /dev/null +++ b/src/rules/hosting/fastly.ts @@ -0,0 +1,6 @@ +import { register } from '../../rules.js'; + +register({ + tech: 'fastly', + dependencies: [{ type: 'rustcargo', name: 'fastly-api' }], +}); diff --git a/src/rules/hosting/index.ts b/src/rules/hosting/index.ts index ae53c4c1..a4cd9c63 100644 --- a/src/rules/hosting/index.ts +++ b/src/rules/hosting/index.ts @@ -5,6 +5,7 @@ import './azure.js'; import './elasticstack.js'; import './equinix.js'; import './expodev.js'; +import './fastly.js'; import './flyio.js'; import './gcp.cloudrun.js'; import './gcp.gce.js'; diff --git a/src/rules/spec/rust/__snapshots__/component.test.ts.snap b/src/rules/spec/rust/__snapshots__/component.test.ts.snap index 2d2ade37..6cf0bf45 100644 --- a/src/rules/spec/rust/__snapshots__/component.test.ts.snap +++ b/src/rules/spec/rust/__snapshots__/component.test.ts.snap @@ -19,6 +19,7 @@ Set { "sqlite", "snowflake", "vault", + "fastly", "rabbitmq", "gcp.pubsub", "algolia", @@ -87,6 +88,11 @@ exports[`rust (component) > should match everything 2`] = ` "elasticsearch", "1.0.0", ], + [ + "rustcargo", + "fastly-api", + "1.0.0", + ], [ "rustcargo", "gcp-bigquery-client",